
/* =========================================================
   TRAVET LAYOUT 1.2
   Newspaper-neutral layout mounted after render.
   ========================================================= */

:root{
    --travet-layout-max:1600px;
    --travet-layout-sidebar:300px;
    --travet-layout-gap:30px;
}

.travet-layout-mount[hidden]{
    display:none!important;
}

/* JS adds this class to the Newspaper content shell */
.travet-global-content-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--travet-layout-sidebar)!important;
    column-gap:var(--travet-layout-gap)!important;
    align-items:start!important;
    width:100%!important;
    max-width:var(--travet-layout-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}

.travet-global-main{
    grid-column:1!important;
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
}

.travet-global-sidebar{
    grid-column:2!important;
    width:var(--travet-layout-sidebar)!important;
    max-width:var(--travet-layout-sidebar)!important;
    min-width:var(--travet-layout-sidebar)!important;
}

/* Unified sidebar */
.travet-unified-sidebar,
.travet-sidebar-section{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}

.travet-unified-sidebar{
    margin:0!important;
    padding:0!important;
}

.travet-sidebar-section{
    margin:0 0 20px!important;
    padding:0!important;
}

.travet-sidebar-section:last-child{
    margin-bottom:0!important;
}

/* Travkalender */
.travet-unified-sidebar .travet-suite-calendar{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}

/* Facebook */
.travet-unified-sidebar .travet-facebook{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #dce2e8!important;
    border-radius:4px!important;
    overflow:hidden!important;
    background:#fff!important;
}

.travet-unified-sidebar .travet-facebook::before{
    content:"FACEBOOK";
    display:flex;
    align-items:center;
    min-height:42px;
    padding:0 12px;
    box-sizing:border-box;
    background:#062e55;
    color:#fff;
    font-size:13px;
    font-weight:700;
}

.travet-unified-sidebar .travet-facebook #cff,
.travet-unified-sidebar .travet-facebook .cff-wrapper,
.travet-unified-sidebar .travet-facebook .cff-wrapper-ctn{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
}

/* Partners below content, not inside sidebar */
.travet-content-partners{
    width:100%!important;
    max-width:var(--travet-layout-max)!important;
    margin:30px auto 0!important;
    box-sizing:border-box!important;
    clear:both!important;
}

.travet-content-partners .travet-reklamevaeg{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}

/* Four sponsor cards on desktop/tablet */
.travet-content-partners .travet-reklamevaeg__grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* Tablet/mobile: sidebar underneath content */
@media(max-width:1199px){
    .travet-global-content-shell{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
    }

    .travet-global-main,
    .travet-global-sidebar{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }

    .travet-global-sidebar{
        margin-top:25px!important;
    }

    .travet-content-partners{
        width:100%!important;
        max-width:100%!important;
        padding-left:0!important;
        padding-right:0!important;
    }

    .travet-content-partners .travet-reklamevaeg__grid{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }
}

/* Mobile */
@media(max-width:767px){
    .travet-global-sidebar,
    .travet-unified-sidebar,
    .travet-sidebar-section,
    .travet-unified-sidebar .travet-suite-calendar,
    .travet-unified-sidebar .travet-facebook,
    .travet-content-partners,
    .travet-content-partners .travet-reklamevaeg{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:100%!important;
        max-width:100%!important;
    }

    .travet-content-partners .travet-reklamevaeg__grid{
        display:grid!important;
        grid-template-columns:1fr!important;
    }

    .travet-content-partners .travet-reklamevaeg__item{
        width:100%!important;
    }
}


/* =========================================================
   CATEGORY FALLBACK – Travet Layout 1.2.2
   ========================================================= */
.travet-category-shell{
    width:calc(100% - 40px);
    max-width:var(--travet-layout-max,1600px);
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) var(--travet-layout-sidebar,300px);
    gap:var(--travet-layout-gap,30px);
    align-items:start;
    box-sizing:border-box;
}
.travet-category-main{min-width:0}
.travet-category-sidebar{
    width:var(--travet-layout-sidebar,300px);
    max-width:var(--travet-layout-sidebar,300px);
}
.travet-category-header{
    margin:0 0 22px;
    padding:0 0 10px;
    border-bottom:3px solid #062e55;
}
.travet-category-header h1{
    margin:0;
    color:#17202a;
    font-size:28px;
    font-weight:700;
    line-height:1.15;
}
.travet-category-description{margin-top:8px;color:#65717d}
.travet-category-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px 18px;
}
.travet-category-card{
    min-width:0;
    margin:0;
    background:#fff;
}
.travet-category-card__image{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#f1f2f3;
}
.travet-category-card__image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.travet-category-card__body{padding-top:10px}
.travet-category-card__date{
    margin-bottom:5px;
    color:#7a838c;
    font-size:10px;
    line-height:1.2;
}
.travet-category-card h2{
    margin:0 0 7px;
    font-size:17px;
    line-height:1.22;
    font-weight:700;
}
.travet-category-card h2 a{
    color:#17202a!important;
    text-decoration:none!important;
}
.travet-category-card__excerpt{
    color:#4d5862;
    font-size:12px;
    line-height:1.45;
}
.travet-category-pagination{
    margin-top:30px;
}
.travet-category-pagination ul{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:0;
    padding:0;
    list-style:none;
}
.travet-category-pagination a,
.travet-category-pagination span{
    display:flex;
    min-width:32px;
    height:32px;
    padding:0 8px;
    align-items:center;
    justify-content:center;
    border:1px solid #dce2e8;
    color:#17202a;
    text-decoration:none;
}
.travet-category-pagination .current{
    background:#062e55;
    border-color:#062e55;
    color:#fff;
}
@media(max-width:1199px){
    .travet-category-shell{
        display:block;
        width:100%;
        max-width:100%;
    }
    .travet-category-sidebar{
        width:100%;
        max-width:100%;
        margin-top:26px;
    }
    .travet-category-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:767px){
    .travet-category-grid{
        grid-template-columns:1fr;
    }
    .travet-category-header h1{font-size:24px}
}


/* =========================================================
   TRAVET LAYOUT 1.3 - OWN CATEGORY TEMPLATE
   ========================================================= */
.travet-category-page{
    width:100%;
    padding:30px 20px 0;
    box-sizing:border-box;
}
.travet-category-page .travet-category-shell{
    width:100%;
    max-width:1600px;
    margin:0 auto;
}
.travet-category-page .travet-content-partners{
    width:100%;
    max-width:1600px!important;
    margin:35px auto 0!important;
}
@media(min-width:1200px){
    .travet-category-page .travet-category-shell{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 300px!important;
        gap:30px!important;
        align-items:start!important;
    }
    .travet-category-page .travet-category-main{
        min-width:0!important;
    }
    .travet-category-page .travet-category-sidebar{
        width:300px!important;
        max-width:300px!important;
    }
}
@media(max-width:1199px){
    .travet-category-page{
        padding-left:15px;
        padding-right:15px;
    }
    .travet-category-page .travet-category-shell{
        display:block!important;
    }
    .travet-category-page .travet-category-sidebar{
        width:100%!important;
        max-width:100%!important;
        margin-top:25px!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.1 – ENS UNDERSIDER / SHOP / ARTIKLER
   ========================================================= */

/* Same outer spacing as category pages */
body.page:not(.home) .travet-global-content-shell,
body.single-post .travet-global-content-shell,
body.woocommerce-shop .travet-global-content-shell,
body.post-type-archive-product .travet-global-content-shell{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin:30px auto 0!important;
}

/* Keep columns aligned at the top */
body.page:not(.home) .travet-global-main,
body.single-post .travet-global-main,
body.woocommerce-shop .travet-global-main,
body.post-type-archive-product .travet-global-main,
body.page:not(.home) .travet-global-sidebar,
body.single-post .travet-global-sidebar,
body.woocommerce-shop .travet-global-sidebar,
body.post-type-archive-product .travet-global-sidebar{
    margin-top:0!important;
}

/* Common title treatment – visually matches category header */
body.page:not(.home) .travet-global-main > h1:first-child,
body.page:not(.home) .travet-global-main .td-page-title,
body.page:not(.home) .travet-global-main .entry-title:first-child,
body.woocommerce-shop .travet-global-main .woocommerce-products-header__title,
body.post-type-archive-product .travet-global-main .woocommerce-products-header__title{
    margin-top:0!important;
    margin-bottom:22px!important;
    padding-bottom:10px!important;
    border-bottom:3px solid #062e55!important;
    color:#17202a!important;
    font-size:28px!important;
    font-weight:700!important;
    line-height:1.15!important;
}

/* Partners: same width and spacing everywhere */
body.page:not(.home) .travet-content-partners,
body.single-post .travet-content-partners,
body.woocommerce-shop .travet-content-partners,
body.post-type-archive-product .travet-content-partners{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin:35px auto 0!important;
}

/* Avoid excess margin directly before footer */
.travet-content-partners + .td-footer-wrap,
.travet-content-partners + footer{
    margin-top:0!important;
}

/* WooCommerce/Salgsmenu: fit product content into the main column */
body.woocommerce-shop .travet-global-main .woocommerce,
body.post-type-archive-product .travet-global-main .woocommerce{
    width:100%!important;
    max-width:100%!important;
}

body.woocommerce-shop .travet-global-main ul.products,
body.post-type-archive-product .travet-global-main ul.products{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Tablet */
@media(max-width:1199px){
    body.page:not(.home) .travet-global-content-shell,
    body.single-post .travet-global-content-shell,
    body.woocommerce-shop .travet-global-content-shell,
    body.post-type-archive-product .travet-global-content-shell,
    body.page:not(.home) .travet-content-partners,
    body.single-post .travet-content-partners,
    body.woocommerce-shop .travet-content-partners,
    body.post-type-archive-product .travet-content-partners{
        width:calc(100% - 30px)!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
}

/* Mobile */
@media(max-width:767px){
    body.page:not(.home) .travet-global-content-shell,
    body.single-post .travet-global-content-shell,
    body.woocommerce-shop .travet-global-content-shell,
    body.post-type-archive-product .travet-global-content-shell{
        width:calc(100% - 24px)!important;
        margin-top:15px!important;
    }

    body.page:not(.home) .travet-content-partners,
    body.single-post .travet-content-partners,
    body.woocommerce-shop .travet-content-partners,
    body.post-type-archive-product .travet-content-partners{
        width:calc(100% - 24px)!important;
        margin-top:24px!important;
    }

    body.page:not(.home) .travet-global-main > h1:first-child,
    body.page:not(.home) .travet-global-main .td-page-title,
    body.page:not(.home) .travet-global-main .entry-title:first-child,
    body.woocommerce-shop .travet-global-main .woocommerce-products-header__title,
    body.post-type-archive-product .travet-global-main .woocommerce-products-header__title{
        font-size:24px!important;
        margin-bottom:16px!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.2 – ENS TOP + PARTNERE
   ========================================================= */

/* Shared section title matching Travkalender */
.travet-section-heading{
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
}
.travet-section-heading__bar{
    display:flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
    background:#062e55!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:.2px!important;
    text-transform:uppercase!important;
}

/* Hide old breadcrumb / giant title on ordinary pages */
body.page:not(.home) .td-crumb-container,
body.page:not(.home) .entry-crumbs,
body.page:not(.home) .td-page-header,
body.page:not(.home) .td-page-title,
body.page:not(.home) .entry-title:first-child,
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title{
    display:none!important;
}

/* Category old title styling is replaced by shared bar */
.travet-category-header{
    display:none!important;
}

/* Generic injected title bar for normal pages */
.travet-page-section-heading{
    margin:0 0 18px!important;
}
.travet-page-section-heading .travet-section-heading__bar{
    width:100%!important;
}

/* Same top rhythm as Travkalender */
.travet-category-page,
body.page:not(.home) .travet-global-content-shell,
body.single-post .travet-global-content-shell,
body.woocommerce-shop .travet-global-content-shell,
body.post-type-archive-product .travet-global-content-shell{
    margin-top:24px!important;
}

/* Partners: always full content width and clearly separated */
.travet-content-partners{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    clear:both!important;
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin:34px auto 24px!important;
    padding:0!important;
    box-sizing:border-box!important;
    position:relative!important;
    z-index:1!important;
}
.travet-content-partners .travet-reklamevaeg{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}
.travet-content-partners .travet-reklamevaeg__title{
    margin-bottom:14px!important;
}

/* Category partners */
.travet-category-page .travet-content-partners{
    width:100%!important;
    max-width:1600px!important;
    margin:34px auto 24px!important;
}

/* Mobile spacing */
@media(max-width:767px){
    .travet-category-page,
    body.page:not(.home) .travet-global-content-shell,
    body.single-post .travet-global-content-shell,
    body.woocommerce-shop .travet-global-content-shell,
    body.post-type-archive-product .travet-global-content-shell{
        margin-top:15px!important;
    }

    .travet-content-partners{
        width:calc(100% - 24px)!important;
        margin:24px auto 18px!important;
    }

    .travet-category-page .travet-content-partners{
        width:100%!important;
        margin:24px auto 18px!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.3 – FINAL ALIGNMENT + PARTNER WALL
   ========================================================= */

:root{
    --travet-layout-max:1600px!important;
    --travet-layout-sidebar:290px!important;
    --travet-layout-gap:30px!important;
}

/* Exact same outer frame everywhere */
.travet-global-content-shell,
.travet-category-page .travet-category-shell{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}

@media(min-width:1200px){
    .travet-global-content-shell,
    .travet-category-page .travet-category-shell{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 290px!important;
        column-gap:30px!important;
        align-items:start!important;
    }

    .travet-global-sidebar,
    .travet-category-page .travet-category-sidebar{
        width:290px!important;
        max-width:290px!important;
        min-width:290px!important;
        margin:0!important;
        padding:0!important;
    }
}

/* Partner wall must always be visible once mounted */
.travet-content-partners,
.travet-category-partners{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    height:auto!important;
    overflow:visible!important;
    clear:both!important;
    margin:34px auto 24px!important;
    padding:0!important;
    position:relative!important;
    z-index:2!important;
}

.travet-content-partners .travet-reklamevaeg,
.travet-category-partners .travet-reklamevaeg{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    overflow:visible!important;
}

/* 4 across desktop/tablet, 1 mobile */
.travet-content-partners .travet-reklamevaeg__grid,
.travet-category-partners .travet-reklamevaeg__grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;
}

@media(max-width:1199px){
    .travet-global-content-shell,
    .travet-category-page .travet-category-shell{
        width:calc(100% - 30px)!important;
        display:block!important;
    }

    .travet-global-sidebar,
    .travet-category-page .travet-category-sidebar{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }

    .travet-content-partners,
    .travet-category-partners{
        width:calc(100% - 30px)!important;
    }
}

@media(max-width:767px){
    .travet-global-content-shell,
    .travet-category-page .travet-category-shell{
        width:calc(100% - 24px)!important;
    }

    .travet-content-partners,
    .travet-category-partners{
        width:calc(100% - 24px)!important;
        margin-top:24px!important;
    }

    .travet-content-partners .travet-reklamevaeg__grid,
    .travet-category-partners .travet-reklamevaeg__grid{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.4
   Full-width page heading + guaranteed partner fallback
   ========================================================= */

/* Blue page title must fill the whole left content column */
.travet-page-section-heading,
.travet-page-section-heading .travet-section-heading__bar,
.travet-section-heading,
.travet-section-heading__bar{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
}

.travet-page-section-heading{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
}

.travet-page-section-heading .travet-section-heading__bar{
    flex:1 1 100%!important;
}

/* Newspaper can add inner horizontal padding on some ordinary pages.
   Stretch only the title bar across that internal padding. */
body.page:not(.home) .travet-global-main > .travet-page-section-heading:first-child{
    width:calc(100% + 24px)!important;
    margin-left:-12px!important;
    margin-right:-12px!important;
}

/* Partner fallback remains visible if JS cannot relocate it */
.travet-layout-partners-fallback{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    clear:both!important;
}

.travet-layout-partners-fallback .travet-content-partners{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}

/* Once JS has moved the wall, no extra inherited spacing */
.travet-content-partners{
    box-sizing:border-box!important;
}

/* Keep sidebar exactly aligned with the homepage frame */
@media(min-width:1200px){
    .travet-global-content-shell,
    .travet-category-page .travet-category-shell{
        grid-template-columns:minmax(0,1fr) 290px!important;
        column-gap:30px!important;
        width:calc(100% - 40px)!important;
        max-width:1600px!important;
    }

    .travet-global-sidebar,
    .travet-category-sidebar{
        width:290px!important;
        min-width:290px!important;
        max-width:290px!important;
    }
}

@media(max-width:767px){
    body.page:not(.home) .travet-global-main > .travet-page-section-heading:first-child{
        width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.5
   Partner wall under page content + shop heading
   ========================================================= */

/* On ordinary pages/posts/shop, partner wall sits inside the LEFT content column */
.travet-global-main > .travet-content-partners{
    width:100%!important;
    max-width:100%!important;
    margin:30px 0 0!important;
    padding:0!important;
}

/* Keep four sponsors across within the content column on desktop/tablet */
.travet-global-main > .travet-content-partners .travet-reklamevaeg__grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* Shop heading injected by Travet Layout */
.travet-shop-section-heading{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 18px!important;
    padding:0!important;
    box-sizing:border-box!important;
}
.travet-shop-section-heading .travet-section-heading__bar{
    width:100%!important;
    flex:1 1 100%!important;
}

/* Category remains a clean 3-column grid; 9 posts per page = 3 rows */
@media(min-width:1200px){
    .travet-category-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

@media(max-width:1199px) and (min-width:768px){
    .travet-global-main > .travet-content-partners .travet-reklamevaeg__grid{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }
}

@media(max-width:767px){
    .travet-global-main > .travet-content-partners{
        margin-top:24px!important;
    }
    .travet-global-main > .travet-content-partners .travet-reklamevaeg__grid{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.6
   Exact alignment on ordinary pages
   ========================================================= */

/* Remove Newspaper/VC inner indentation from our generated main column */
body.page:not(.home) .travet-global-main{
    padding-left:0!important;
    padding-right:0!important;
}

/* Any immediate builder wrapper inside the main column should span 100% */
body.page:not(.home) .travet-global-main > .vc_column-inner,
body.page:not(.home) .travet-global-main > .wpb_wrapper,
body.page:not(.home) .travet-global-main > .tdc-zone,
body.page:not(.home) .travet-global-main > .tdc-row,
body.page:not(.home) .travet-global-main > .td-pb-row{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
}

/* Blue title: exact width of left content column */
body.page:not(.home) .travet-global-main > .travet-page-section-heading:first-child,
body.woocommerce-shop .travet-global-main > .travet-shop-section-heading:first-child,
body.post-type-archive-product .travet-global-main > .travet-shop-section-heading:first-child{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px 0!important;
    padding:0!important;
    box-sizing:border-box!important;
}

body.page:not(.home) .travet-global-main > .travet-page-section-heading:first-child .travet-section-heading__bar,
body.woocommerce-shop .travet-global-main > .travet-shop-section-heading:first-child .travet-section-heading__bar,
body.post-type-archive-product .travet-global-main > .travet-shop-section-heading:first-child .travet-section-heading__bar{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
}

/* Undo older negative-margin title override */
body.page:not(.home) .travet-global-main > .travet-page-section-heading:first-child{
    margin-left:0!important;
    margin-right:0!important;
}

/* Partner wall: exact same left/right edge as main content */
body.page:not(.home) .travet-global-main > .travet-content-partners,
body.single-post .travet-global-main > .travet-content-partners,
body.woocommerce-shop .travet-global-main > .travet-content-partners,
body.post-type-archive-product .travet-global-main > .travet-content-partners{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:30px 0 0 0!important;
    padding:0!important;
    box-sizing:border-box!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
}

/* Remove extra width rules inherited from global partner styling */
body.page:not(.home) .travet-global-main > .travet-content-partners .travet-reklamevaeg,
body.single-post .travet-global-main > .travet-content-partners .travet-reklamevaeg,
body.woocommerce-shop .travet-global-main > .travet-content-partners .travet-reklamevaeg,
body.post-type-archive-product .travet-global-main > .travet-content-partners .travet-reklamevaeg{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* If Newspaper wraps normal page content with padding, keep that padding
   inside the article only, not around generated heading/partners */
body.page:not(.home) .travet-global-main .td-page-content,
body.page:not(.home) .travet-global-main .td-post-content,
body.page:not(.home) .travet-global-main .entry-content{
    max-width:100%!important;
    box-sizing:border-box!important;
}

/* Desktop alignment remains identical */
@media(min-width:1200px){
    .travet-global-content-shell{
        grid-template-columns:minmax(0,1fr) 290px!important;
        column-gap:30px!important;
        width:calc(100% - 40px)!important;
        max-width:1600px!important;
        padding-left:0!important;
        padding-right:0!important;
    }
}

/* Mobile */
@media(max-width:767px){
    body.page:not(.home) .travet-global-main > .travet-content-partners,
    body.single-post .travet-global-main > .travet-content-partners,
    body.woocommerce-shop .travet-global-main > .travet-content-partners,
    body.post-type-archive-product .travet-global-main > .travet-content-partners{
        margin-top:24px!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.3.7
   Remove nested Newspaper 8/12 + 4/12 inside our main column
   ========================================================= */

/*
 * Travet Layout already creates:
 *   MAIN CONTENT + 290px SIDEBAR
 *
 * Some ordinary Newspaper pages still contain an old internal:
 *   8/12 CONTENT + 4/12 SIDEBAR
 *
 * That makes the left column effectively 75% wide twice.
 * On plugin-managed ordinary pages, collapse that inner structure.
 */
body.page:not(.home) .travet-global-main > .td-pb-row,
body.page:not(.home) .travet-global-main > .tdc-row,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .td-pb-row,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .tdc-row{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
}

/* Old content column becomes full width */
body.page:not(.home) .travet-global-main > .td-pb-row > .td-pb-span8,
body.page:not(.home) .travet-global-main > .tdc-row > .td-pb-span8,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .td-pb-row > .td-pb-span8,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .tdc-row > .td-pb-span8{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    flex:0 0 100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
}

/* Remove ONLY the old inner Newspaper sidebar.
   Travet Layout's .travet-global-sidebar remains untouched. */
body.page:not(.home) .travet-global-main > .td-pb-row > .td-pb-span4,
body.page:not(.home) .travet-global-main > .tdc-row > .td-pb-span4,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .td-pb-row > .td-pb-span4,
body.page:not(.home) .travet-global-main .td-main-content-wrap > .tdc-row > .td-pb-span4{
    display:none!important;
}

/* Common VC/tagDiv nested column variants */
body.page:not(.home) .travet-global-main .vc_row,
body.page:not(.home) .travet-global-main .wpb_row{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* If an old 8-column VC width survives, make it full width only
   when it is a direct structural child of plugin-managed main. */
body.page:not(.home) .travet-global-main > .vc_row > .vc_col-sm-8,
body.page:not(.home) .travet-global-main > .wpb_row > .vc_col-sm-8{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
}

/* Hide matching old 4-column structural sidebar */
body.page:not(.home) .travet-global-main > .vc_row > .vc_col-sm-4,
body.page:not(.home) .travet-global-main > .wpb_row > .vc_col-sm-4{
    display:none!important;
}

/* With nested column gone, generated title and sponsor wall span full main */
body.page:not(.home) .travet-global-main > .travet-page-section-heading,
body.page:not(.home) .travet-global-main > .travet-content-partners{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Keep article/page text itself full available width too */
body.page:not(.home) .travet-global-main .td-page-content,
body.page:not(.home) .travet-global-main .td-post-content,
body.page:not(.home) .travet-global-main .entry-content{
    width:100%!important;
    max-width:100%!important;
}

/* Mobile: no special nested grid widths */
@media(max-width:1199px){
    body.page:not(.home) .travet-global-main > .td-pb-row > .td-pb-span8,
    body.page:not(.home) .travet-global-main > .tdc-row > .td-pb-span8{
        width:100%!important;
        max-width:100%!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4
   Stable own templates for pages + shop
   ========================================================= */

.travet-template-page{
    width:100%;
    padding:24px 20px 0;
    box-sizing:border-box;
}

.travet-template-shell{
    width:100%;
    max-width:1600px;
    margin:0 auto;
    box-sizing:border-box;
}

.travet-template-main,
.travet-template-sidebar{
    min-width:0;
    box-sizing:border-box;
}

@media(min-width:1200px){
    .travet-template-shell{
        display:grid;
        grid-template-columns:minmax(0,1fr) 290px;
        gap:30px;
        align-items:start;
    }

    .travet-template-sidebar{
        width:290px;
        min-width:290px;
        max-width:290px;
    }
}

/* Title always spans the COMPLETE main column */
.travet-template-main > .travet-section-heading{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:0!important;
}

.travet-template-main > .travet-section-heading .travet-section-heading__bar{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-height:42px!important;
    align-items:center!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
    background:#062e55!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:.2px!important;
    text-transform:uppercase!important;
}

/* Page content cannot re-create an outer 8/12 sidebar */
.travet-template-content{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}

.travet-template-content > .td-pb-row,
.travet-template-content > .tdc-row{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Partner wall immediately after page/shop content */
.travet-template-main > .travet-content-partners{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:30px 0 0!important;
    padding:0!important;
    box-sizing:border-box!important;
}

.travet-template-main > .travet-content-partners .travet-reklamevaeg{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}

.travet-template-main > .travet-content-partners .travet-reklamevaeg__grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* Sidebar */
.travet-template-sidebar .travet-unified-sidebar{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}

/* WooCommerce */
.travet-shop-content .woocommerce,
.travet-shop-content ul.products{
    width:100%!important;
    max-width:100%!important;
}

@media(max-width:1199px){
    .travet-template-page{
        padding-left:15px;
        padding-right:15px;
    }

    .travet-template-shell{
        display:block;
    }

    .travet-template-sidebar{
        width:100%;
        max-width:100%;
        margin-top:25px;
    }
}

@media(max-width:767px){
    .travet-template-page{
        padding:15px 12px 0;
    }

    .travet-template-main > .travet-content-partners{
        margin-top:24px!important;
    }

    .travet-template-main > .travet-content-partners .travet-reklamevaeg__grid{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.1
   Reklamevæg full width below content + sidebar
   ========================================================= */

.travet-template-page > .travet-fullwidth-partners{
    display:block!important;
    width:100%!important;
    max-width:1600px!important;
    margin:34px auto 24px!important;
    padding:0!important;
    box-sizing:border-box!important;
    clear:both!important;
}

.travet-template-page > .travet-fullwidth-partners .travet-reklamevaeg{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}

.travet-template-page > .travet-fullwidth-partners .travet-reklamevaeg__grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;
}

/* Neutralize old "partners inside main" rules if still cached */
.travet-template-main > .travet-content-partners{
    width:100%!important;
    max-width:100%!important;
}

/* Tablet */
@media(max-width:1199px){
    .travet-template-page > .travet-fullwidth-partners{
        width:100%!important;
        max-width:100%!important;
        margin:30px auto 20px!important;
    }

    .travet-template-page > .travet-fullwidth-partners .travet-reklamevaeg__grid{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }
}

/* Mobile */
@media(max-width:767px){
    .travet-template-page > .travet-fullwidth-partners{
        margin:24px auto 18px!important;
    }

    .travet-template-page > .travet-fullwidth-partners .travet-reklamevaeg__grid{
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.2
   Reklamevæg = reference width
   ========================================================= */

:root{
    --travet-standard-width:1600px;
    --travet-side-padding:20px;
    --travet-sidebar-width:290px;
    --travet-column-gap:30px;
}

/* ONE shared width for top area and partner wall */
.travet-template-page,
.travet-category-page{
    width:100%!important;
    box-sizing:border-box!important;
}

.travet-template-shell,
.travet-category-page .travet-category-shell,
.travet-template-page > .travet-fullwidth-partners,
.travet-category-page > .travet-content-partners{
    width:calc(100% - (var(--travet-side-padding) * 2))!important;
    max-width:var(--travet-standard-width)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}

/* Remove duplicate outer horizontal padding from page wrapper,
   since shell + partner wall now own the standard width */
.travet-template-page,
.travet-category-page{
    padding-left:0!important;
    padding-right:0!important;
}

/* Same desktop grid, same exact left/right edges as reklamevæg */
@media(min-width:1200px){
    .travet-template-shell,
    .travet-category-page .travet-category-shell{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) var(--travet-sidebar-width)!important;
        column-gap:var(--travet-column-gap)!important;
        align-items:start!important;
    }

    .travet-template-sidebar,
    .travet-category-sidebar{
        width:var(--travet-sidebar-width)!important;
        min-width:var(--travet-sidebar-width)!important;
        max-width:var(--travet-sidebar-width)!important;
        margin:0!important;
    }
}

/* Partner wall keeps the same standard width */
.travet-template-page > .travet-fullwidth-partners,
.travet-category-page > .travet-content-partners{
    margin-top:34px!important;
    margin-bottom:24px!important;
}

/* Tablet */
@media(max-width:1199px){
    :root{
        --travet-side-padding:15px;
    }

    .travet-template-shell,
    .travet-category-page .travet-category-shell,
    .travet-template-page > .travet-fullwidth-partners,
    .travet-category-page > .travet-content-partners{
        width:calc(100% - (var(--travet-side-padding) * 2))!important;
        max-width:none!important;
    }
}

/* Mobile */
@media(max-width:767px){
    :root{
        --travet-side-padding:12px;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.5
   Travkalender-only desktop fix (stable 1.4.2 base)
   ========================================================= */

/* The page content itself must occupy the complete main column. */
.travet-template-main > .travet-calendar-only-content{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}

/* Remove harmless empty editor paragraphs around the shortcode. */
.travet-calendar-only-content > p:empty{
    display:none!important;
}

/* Travet Suite calendar must use 100% of that column. */
.travet-calendar-only-content .travet-suite-calendar,
.travet-calendar-only-content [class*="travet-suite-calendar"]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}

/* Prevent nested Newspaper/VC widths from squeezing the calendar. */
.travet-calendar-only-content > .td-pb-row,
.travet-calendar-only-content > .tdc-row,
.travet-calendar-only-content > .vc_row,
.travet-calendar-only-content > .wpb_row{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
}

.travet-calendar-only-content > .td-pb-row > [class*="td-pb-span"],
.travet-calendar-only-content > .tdc-row > [class*="td-pb-span"],
.travet-calendar-only-content > .vc_row > [class*="vc_col-"],
.travet-calendar-only-content > .wpb_row > [class*="vc_col-"]{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Facebook belongs only to the shared sidebar on this page. */
.travet-calendar-only-content .travet-facebook,
.travet-calendar-only-content #cff,
.travet-calendar-only-content .cff-wrapper,
.travet-calendar-only-content .cff-wrapper-ctn{
    display:none!important;
}


/* =========================================================
   TRAVET LAYOUT 1.4.6
   Dedicated Travkalender template
   ========================================================= */

.travet-dedicated-calendar-page .travet-template-shell{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

@media(min-width:1200px){
    .travet-dedicated-calendar-page .travet-template-shell{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 290px!important;
        column-gap:30px!important;
        align-items:start!important;
    }

    .travet-dedicated-calendar-main{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
    }

    .travet-dedicated-calendar-page .travet-template-sidebar{
        width:290px!important;
        max-width:290px!important;
        min-width:290px!important;
    }
}

/* Calendar takes the COMPLETE main column. */
.travet-dedicated-calendar,
.travet-dedicated-calendar > *,
.travet-dedicated-calendar .travet-suite-calendar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}

/* Prevent any old 8/12 width from the calendar plugin / cached theme CSS. */
.travet-dedicated-calendar [class*="td-pb-span"],
.travet-dedicated-calendar [class*="vc_col-"],
.travet-dedicated-calendar .tdc-column,
.travet-dedicated-calendar .wpb_column{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    flex:0 0 100%!important;
}

/* Partner wall uses the same outer frame as top. */
.travet-dedicated-calendar-page > .travet-fullwidth-partners{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin:34px auto 24px!important;
}

/* Mobile/tablet: same responsive Travet template, stacked. */
@media(max-width:1199px){
    .travet-dedicated-calendar-page .travet-template-shell,
    .travet-dedicated-calendar-page > .travet-fullwidth-partners{
        width:calc(100% - 30px)!important;
        max-width:none!important;
    }

    .travet-dedicated-calendar-page .travet-template-shell{
        display:block!important;
    }

    .travet-dedicated-calendar-page .travet-template-sidebar{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin-top:24px!important;
    }
}

@media(max-width:767px){
    .travet-dedicated-calendar-page .travet-template-shell,
    .travet-dedicated-calendar-page > .travet-fullwidth-partners{
        width:calc(100% - 24px)!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.7
   MOBILE ONLY – keep desktop 1.4.6 untouched
   ========================================================= */

@media only screen and (max-width:767px){

    /* ---------- Common Travet mobile frame ---------- */
    body:not(.home) .travet-template-page,
    body:not(.home) .travet-category-page,
    body:not(.home) .travet-dedicated-calendar-page{
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        padding-left:0!important;
        padding-right:0!important;
        box-sizing:border-box!important;
    }

    body:not(.home) .travet-template-shell,
    body:not(.home) .travet-category-shell,
    body:not(.home) .travet-dedicated-calendar-page .travet-template-shell{
        display:block!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin-left:12px!important;
        margin-right:12px!important;
        padding:0!important;
        box-sizing:border-box!important;
    }

    body:not(.home) .travet-template-main,
    body:not(.home) .travet-category-main,
    body:not(.home) .travet-dedicated-calendar-main,
    body:not(.home) .travet-template-sidebar,
    body:not(.home) .travet-category-sidebar{
        display:block!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
        padding-left:0!important;
        padding-right:0!important;
        float:none!important;
        box-sizing:border-box!important;
    }

    /* Same blue section bars as desktop */
    body:not(.home) .travet-section-heading,
    body:not(.home) .travet-section-heading__bar{
        width:100%!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    body:not(.home) .travet-section-heading__bar{
        display:flex!important;
        align-items:center!important;
        min-height:42px!important;
        padding:0 12px!important;
        background:#062e55!important;
        color:#fff!important;
        font-size:13px!important;
        font-weight:700!important;
        line-height:1.2!important;
        text-transform:uppercase!important;
    }

    /* Page/article/category content stays inside the same frame */
    body:not(.home) .travet-template-content,
    body:not(.home) .travet-category-grid,
    body:not(.home) .travet-dedicated-calendar{
        width:100%!important;
        max-width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
        box-sizing:border-box!important;
    }

    /* Sidebar is simply stacked below the main content */
    body:not(.home) .travet-template-sidebar,
    body:not(.home) .travet-category-sidebar{
        margin-top:24px!important;
    }

    body:not(.home) .travet-unified-sidebar,
    body:not(.home) .travet-sidebar-section,
    body:not(.home) .travet-facebook{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    /* Partner wall gets the exact same 12px mobile gutters */
    body:not(.home) .travet-fullwidth-partners,
    body:not(.home) .travet-category-page > .travet-content-partners,
    body:not(.home) .travet-dedicated-calendar-page > .travet-fullwidth-partners{
        display:block!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin:24px 12px 18px!important;
        padding:0!important;
        box-sizing:border-box!important;
    }

    body:not(.home) .travet-reklamevaeg,
    body:not(.home) .travet-reklamevaeg__grid{
        width:100%!important;
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    body:not(.home) .travet-reklamevaeg__grid{
        display:grid!important;
        grid-template-columns:1fr!important;
    }

    /* ---------- Categories: one clean news card per row ---------- */
    body:not(.home) .travet-category-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:20px!important;
    }

    body:not(.home) .travet-category-card{
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        box-sizing:border-box!important;
    }

    /* ---------- Travkalender mobile ---------- */
    body:not(.home) .travet-dedicated-calendar,
    body:not(.home) .travet-dedicated-calendar > *,
    body:not(.home) .travet-dedicated-calendar .travet-suite-calendar{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin-left:0!important;
        margin-right:0!important;
        box-sizing:border-box!important;
    }

    /* ---------- Homepage: Seneste salgsannoncer ----------
       Add the same mobile breathing room to WooCommerce/product blocks.
       These selectors are intentionally home+mobile only. */
    body.home .woocommerce,
    body.home .woocommerce-page,
    body.home ul.products,
    body.home .products,
    body.home .wc-block-grid,
    body.home .wc-block-grid__products,
    body.home .wp-block-woocommerce-product-collection,
    body.home .wc-block-product-template{
        max-width:100%!important;
        box-sizing:border-box!important;
    }

    body.home .td-main-content-wrap .woocommerce,
    body.home .td-main-content-wrap ul.products,
    body.home .td-main-content-wrap .products,
    body.home .td-main-content-wrap .wc-block-grid,
    body.home .td-main-content-wrap .wp-block-woocommerce-product-collection,
    body.home .td-main-content-wrap .wc-block-product-template{
        width:calc(100% - 24px)!important;
        margin-left:12px!important;
        margin-right:12px!important;
    }

    body.home ul.products li.product,
    body.home .products li.product,
    body.home .wc-block-grid__product,
    body.home .wc-block-product{
        max-width:100%!important;
        box-sizing:border-box!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.8
   Stable single-news template
   ========================================================= */

.travet-single-shell{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

@media(min-width:1200px){
    .travet-single-shell{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 290px!important;
        column-gap:30px!important;
        align-items:start!important;
    }

    .travet-single-main{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }

    .travet-single-sidebar{
        width:290px!important;
        min-width:290px!important;
        max-width:290px!important;
    }
}

.travet-single-article{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
}

.travet-single-header{
    width:100%!important;
    margin:0 0 20px!important;
    padding:0 0 15px!important;
    border-bottom:3px solid #062e55!important;
}

.travet-single-category{
    margin-bottom:8px!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-transform:uppercase!important;
}

.travet-single-category a{
    color:#0878be!important;
    text-decoration:none!important;
}

.travet-single-title{
    margin:0 0 10px!important;
    color:#17202a!important;
    font-size:34px!important;
    font-weight:700!important;
    line-height:1.15!important;
}

.travet-single-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    color:#77818b!important;
    font-size:11px!important;
    line-height:1.3!important;
}

.travet-single-featured{
    width:100%!important;
    margin:0 0 22px!important;
}

.travet-single-featured img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
}

.travet-single-content{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#26323d!important;
    font-size:15px!important;
    line-height:1.65!important;
    box-sizing:border-box!important;
}

.travet-single-content img,
.travet-single-content iframe,
.travet-single-content video{
    max-width:100%!important;
    height:auto!important;
}

.travet-single-partners{
    width:calc(100% - 40px)!important;
    max-width:1600px!important;
    margin:34px auto 24px!important;
}

/* PHONE – same Travet layout language, stacked */
@media(max-width:767px){
    .travet-single-page{
        width:100%!important;
        padding:0!important;
    }

    .travet-single-shell{
        display:block!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin-left:12px!important;
        margin-right:12px!important;
    }

    .travet-single-main,
    .travet-single-sidebar,
    .travet-single-article,
    .travet-single-content{
        display:block!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
        box-sizing:border-box!important;
    }

    .travet-single-title{
        font-size:26px!important;
        line-height:1.18!important;
    }

    .travet-single-sidebar{
        margin-top:24px!important;
    }

    .travet-single-partners{
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin:24px 12px 18px!important;
    }

    .travet-single-partners .travet-reklamevaeg__grid{
        display:grid!important;
        grid-template-columns:1fr!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.9
   Single article image fix
   ========================================================= */

.travet-single-featured{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0 0 22px!important;
    padding:0!important;
    overflow:hidden!important;
    background:transparent!important;
    box-sizing:border-box!important;
}

.travet-single-featured-image,
.travet-single-featured img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
}

/* No reserved blank media area when no image exists */
.travet-single-header + .travet-single-content{
    margin-top:0!important;
}

/* Mobile article image */
@media(max-width:767px){
    .travet-single-featured{
        width:100%!important;
        margin-bottom:18px!important;
    }

    .travet-single-featured-image,
    .travet-single-featured img{
        width:100%!important;
        height:auto!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.10
   Share buttons on single news articles
   ========================================================= */

.travet-share{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    margin-top:16px!important;
}

.travet-share__label{
    display:block!important;
    width:100%!important;
    margin-bottom:2px!important;
    color:#687481!important;
    font-size:10px!important;
    font-weight:700!important;
    letter-spacing:.2px!important;
    text-transform:uppercase!important;
}

.travet-share__button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:7px 11px!important;
    border:1px solid #d8dee5!important;
    border-radius:3px!important;
    background:#fff!important;
    color:#17202a!important;
    font-family:inherit!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1!important;
    text-decoration:none!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
    appearance:none!important;
}

.travet-share__button:hover,
.travet-share__button:focus{
    border-color:#062e55!important;
    color:#062e55!important;
    text-decoration:none!important;
}

.travet-share__facebook{
    background:#1877f2!important;
    border-color:#1877f2!important;
    color:#fff!important;
}

.travet-share__x{
    background:#111!important;
    border-color:#111!important;
    color:#fff!important;
}

.travet-share__whatsapp{
    background:#25d366!important;
    border-color:#25d366!important;
    color:#fff!important;
}

.travet-share__email{
    background:#062e55!important;
    border-color:#062e55!important;
    color:#fff!important;
}

.travet-share__copy.is-copied{
    background:#16824b!important;
    border-color:#16824b!important;
    color:#fff!important;
}

@media(max-width:767px){
    .travet-share{
        gap:7px!important;
        margin-top:14px!important;
    }

    .travet-share__button{
        flex:1 1 calc(50% - 7px)!important;
        min-height:38px!important;
        font-size:11px!important;
    }

    .travet-share__copy{
        flex-basis:100%!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.11
   AdSense slots
   ========================================================= */

.travet-ad-slot{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    text-align:center!important;
}

.travet-ad-slot ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

/* Article text + ad rail below featured image */
@media(min-width:1200px){
    .travet-single-body.has-article-ad{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 300px!important;
        column-gap:30px!important;
        align-items:start!important;
        width:100%!important;
    }

    .travet-single-body.has-article-ad .travet-single-content{
        min-width:0!important;
        width:100%!important;
    }

    .travet-article-ad{
        width:300px!important;
        max-width:300px!important;
        min-width:300px!important;
        position:sticky!important;
        top:20px!important;
    }
}

/* Sidebar ads */
.travet-sidebar-ad{
    margin:0 0 20px!important;
    min-height:0!important;
}

/* Mobile/tablet: article ad becomes a normal full-width block */
@media(max-width:1199px){
    .travet-single-body.has-article-ad{
        display:block!important;
        width:100%!important;
    }

    .travet-article-ad{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        position:static!important;
        margin-top:24px!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.12
   Homepage sidebar AdSense
   ========================================================= */

.travet-home-ad-mount[hidden]{
    display:none!important;
}

body.home .travet-home-sidebar-ad{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:20px 0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    text-align:center!important;
}

body.home .travet-home-sidebar-ad ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

/* On phones the ad follows the responsive content width. */
@media(max-width:767px){
    body.home .travet-home-sidebar-ad{
        width:100%!important;
        max-width:100%!important;
        margin:18px 0!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.13
   Manual homepage AdSense shortcodes
   ========================================================= */

.travet-manual-home-ad{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:20px 0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    text-align:center!important;
}

.travet-manual-home-ad ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

@media(max-width:767px){
    .travet-manual-home-ad{
        margin:18px 0!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.14
   Homepage automatic AdSense
   ========================================================= */

.travet-home-ad-source[hidden]{
    display:none!important;
}

body.home .travet-home-auto-ad{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:20px 0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    text-align:center!important;
}

body.home .travet-home-auto-ad ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

@media(max-width:767px){
    body.home .travet-home-auto-ad{
        margin:18px 0!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.15
   Legacy [the_ad id="740065"] compatibility
   ========================================================= */

.travet-legacy-inarticle-ad{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:26px 0!important;
    padding:0!important;
    overflow:hidden!important;
    text-align:center!important;
    box-sizing:border-box!important;
}

.travet-legacy-inarticle-ad ins.adsbygoogle{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
}

@media(max-width:767px){
    .travet-legacy-inarticle-ad{
        margin:22px 0!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.16
   Legacy in-article AdSense hard fallback
   ========================================================= */

.travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"]{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
    margin:26px 0!important;
    padding:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    text-align:center!important;
}

.travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"] ins.adsbygoogle{
    display:block!important;
    visibility:visible!important;
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
}


/* =========================================================
   TRAVET LAYOUT 1.4.18
   Legacy ad box compatibility
   ========================================================= */

.travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"]{
    width:100%!important;
    max-width:100%!important;
    margin:26px 0!important;
    box-sizing:border-box!important;
}


/* =========================================================
   TRAVET LAYOUT 1.4.21
   Mobile AdSense fix for legacy ad 740065
   ========================================================= */

@media(max-width:767px){

    .travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"]{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        min-height:50px!important;
        margin:22px 0!important;
        padding:0!important;
        overflow:visible!important;
        box-sizing:border-box!important;
        text-align:center!important;
        position:relative!important;
    }

    .travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"] ins.adsbygoogle{
        display:block!important;
        visibility:visible!important;
        opacity:1!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        min-height:50px!important;
        margin:0!important;
        padding:0!important;
        box-sizing:border-box!important;
    }

    /* Prevent parent article/grid rules from giving the ad a zero-width rail */
    .travet-single-content .travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"],
    .entry-content .travet-legacy-inarticle-ad[data-travet-legacy-ad="740065"]{
        float:none!important;
        clear:both!important;
        grid-column:1/-1!important;
        flex:0 0 100%!important;
    }
}


/* =========================================================
   TRAVET LAYOUT 1.4.22
   Admin-only AdSense diagnostics
   ========================================================= */

.travet-ad-diagnostic{
    display:none;
}

html.travet-admin-ad-diagnostics .travet-ad-diagnostic{
    display:block!important;
    width:100%!important;
    margin:8px 0 0!important;
    padding:9px 10px!important;
    border:1px dashed #687481!important;
    border-radius:3px!important;
    background:#fffbe6!important;
    color:#1f2933!important;
    font-size:10px!important;
    line-height:1.45!important;
    text-align:left!important;
    box-sizing:border-box!important;
    font-family:Arial,sans-serif!important;
}

html.travet-admin-ad-diagnostics .travet-ad-diagnostic strong{
    color:#062e55!important;
    font-size:11px!important;
}


/* 1.4.23: diagnostics can be explicitly enabled from Travet Layout settings */
html.travet-admin-ad-diagnostics .travet-ad-diagnostic{
    position:relative!important;
    z-index:20!important;
    min-height:0!important;
}


/* Travet Layout 1.4.24 – unmistakable global diagnostic box */
html.travet-admin-ad-diagnostics .travet-ad-diagnostic-global{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 15px!important;
    padding:12px!important;
    border:2px solid #d7a400!important;
    background:#fff3b0!important;
    color:#111!important;
    font-size:12px!important;
    line-height:1.5!important;
    box-sizing:border-box!important;
    position:relative!important;
    z-index:99999!important;
}
