/* TopBoss UK homepage refresh. Scoped to UK page template; no sidebar widgets. */
body.page-template-page-topboss-uk-home{background:#101011;color:#e9e3d9}
body.page-template-page-topboss-uk-home .site-layout{display:block!important;max-width:1440px;margin:0 auto;padding:26px clamp(14px,3vw,42px)}
body.page-template-page-topboss-uk-home .site-main{width:100%;max-width:none;min-width:0}
body.page-template-page-topboss-uk-home .site-sidebar{display:none!important}
body.page-template-page-topboss-uk-home .site-header{border-bottom:2px solid #8d6329;background:#090909}
body.page-template-page-topboss-uk-home .header-inner{max-width:1440px;min-height:96px;gap:20px}
body.page-template-page-topboss-uk-home .brand-logo{width:clamp(190px,24vw,340px)}
body.page-template-page-topboss-uk-home .primary-menu a{font-size:15px;color:#f1d18a}
body.page-template-page-topboss-uk-home .site-footer{border-top:1px solid #6b4d25}
.tb-uk-home{max-width:none;width:100%;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#eee7da;font-size:clamp(15px,1.08vw,17px);line-height:1.75}
.tb-uk-home-source{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;overflow-wrap:anywhere}
.tb-uk-home-source>section{min-width:0;margin:0;padding:clamp(22px,3vw,42px);background:#1b1919;border:1px solid #41372d;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.tb-uk-home-source>section:empty{display:none}
.tb-uk-home-source>section.tb-uk-empty{display:none!important}
.tb-uk-home-source>section.tb-uk-home-intro{background:linear-gradient(135deg,#30201d,#171515 65%);border-color:#785a30}
.tb-uk-home-source h1,.tb-uk-home-source h2,.tb-uk-home-source h3{font-weight:750;line-height:1.3;color:#efc46d;letter-spacing:.01em}
.tb-uk-home-source h1{font-size:clamp(34px,4.5vw,60px);margin:0 0 20px}
.tb-uk-home-source h2{font-size:clamp(23px,2.3vw,34px);margin:0 0 22px;padding-bottom:12px;border-bottom:1px solid #75542e}
.tb-uk-home-source h3{font-size:clamp(19px,1.7vw,25px);margin:1.4em 0 .6em}
.tb-uk-home-source p{margin:0 0 1.1em;max-width:90ch}
.tb-uk-home-source p:last-child{margin-bottom:0}
.tb-uk-home-source a{color:#efc46d;text-decoration:underline;text-decoration-color:#a57b3a;text-underline-offset:3px}
.tb-uk-home-source a:hover{color:#fff0c8}
.tb-uk-home-source img{max-width:100%;height:auto;object-fit:contain;vertical-align:middle}
.tb-uk-home-source figure{margin:16px 0}
.tb-uk-home-source ul,.tb-uk-home-source ol{padding-left:24px}
.tb-uk-home-source li{margin-bottom:8px}
/* The source's introductory promotions are retained, but presented as readable text. */
.tb-uk-home-source .introText,.tb-uk-home-source .content,.tb-uk-home-source .sidebar1,.tb-uk-home-source .sidebar2{width:auto!important;float:none!important;position:static!important;margin:0!important;max-width:none!important}
.tb-uk-home-source .centerImage{text-align:center;margin:18px 0}
.tb-uk-home-source .tb-uk-home-left,.tb-uk-home-source .tb-uk-home-right,.tb-uk-home-source .tb-uk-home-center{width:auto!important;display:block!important}
.tb-uk-home-source .tb-uk-unpublished{color:#bdb0a0;border-bottom:1px dotted #9c8568}
/* Suppress legacy empty visual wrappers without hiding real text or images. */
.tb-uk-home-source div:empty,.tb-uk-home-source p:empty{display:none}
@media(min-width:1100px){.tb-uk-home-source>section.tb-uk-home-left,.tb-uk-home-source>section.tb-uk-home-right{grid-column:auto}}
@media(max-width:700px){body.page-template-page-topboss-uk-home .site-layout{padding:14px 12px}.tb-uk-home-source{gap:14px}.tb-uk-home-source>section{padding:20px 16px;border-radius:8px}.tb-uk-home-source h1{font-size:34px}.tb-uk-home-source p{max-width:100%}}

/* TopBoss UK — final homepage layout refinements */

body.page-template-page-topboss-uk-home .site-layout {
    max-width: 1440px;
    width: 100%;
    display: block;
    margin: 24px auto;
    padding: 0 24px;
}

body.page-template-page-topboss-uk-home .site-main {
    width: 100%;
    max-width: none;
}

body.page-template-page-topboss-uk-home .tb-uk-home {
    width: 100%;
    max-width: none;
    padding: clamp(20px, 3vw, 42px);
}

/* Remove legacy fixed-width constraints */

.tb-uk-home .container,
.tb-uk-home .content,
.tb-uk-home .introText,
.tb-uk-home .tb-home-section,
.tb-uk-home .tb-home-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    float: none;
}

.tb-uk-home p,
.tb-uk-home h1,
.tb-uk-home h2,
.tb-uk-home h3 {
    max-width: none;
}

.tb-uk-home p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 18px;
}

/* Improve branding */

body.page-template-page-topboss-uk-home .header-inner {
    max-width: 1440px;
}

body.page-template-page-topboss-uk-home .brand-logo {
    width: clamp(180px, 20vw, 300px);
}

body.page-template-page-topboss-uk-home .primary-menu a {
    font-size: 15px;
}

/* Images */

.tb-uk-home img {
    max-width: 100%;
    height: auto;
}

/* Mobile */

@media (max-width: 700px) {
    body.page-template-page-topboss-uk-home .site-layout {
        padding: 0 12px;
        margin: 12px auto;
    }

    body.page-template-page-topboss-uk-home .tb-uk-home {
        padding: 18px;
    }

    .tb-uk-home p {
        font-size: 15px;
    }
}
