/* 2026 site chrome for the bootstrap master pages (breednet-bootstrap.master,
   breednet-blank-bootstrap.Master), matching the home-2026.aspx redesign.

   Scoped to body.bn26. It styles what the master page owns - header, nav, page frame,
   base type, footer - and leaves each page's own content styles alone. Ad slots keep
   their ids, sizes and order; the header is no taller than before, so nothing below it
   moves down. */

.bn26 {
    --bn-brand: #1a7c9c;
    --bn-brand-dark: #125d76;
    --bn-brand-soft: #e8f3f7;
    --bn-ink: #14212b;
    --bn-text: #2c3a45;
    --bn-muted: #66737e;
    --bn-line: #e4e9ee;
    --bn-bg: #f3f5f8;
    --bn-surface: #ffffff;
    --bn-premium: #6b2c91;
    --bn-radius: 12px;
    --bn-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .05);
    font-family: "Inter", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--bn-text);
    background: var(--bn-bg);
    -webkit-font-smoothing: antialiased;
}

.bn26.bn26-blank {
    background: var(--bn-surface);
}

.bn26 a {
    color: var(--bn-brand);
}

.bn26 a:hover {
    color: var(--bn-brand-dark);
}

.bn26 a:focus-visible,
.bn26 button:focus-visible,
.bn26 input:focus-visible,
.bn26 select:focus-visible {
    outline: 2px solid var(--bn-brand);
    outline-offset: 2px;
}

/* The page wrapper clips with overflow:hidden, which stops position:sticky working.
   overflow:clip clips the same way without that side effect. */
@supports (overflow: clip) {
    .bn26 .content-container {
        overflow: clip;
    }
}

/* ---------- Header ---------- */

.bn26 .header > .background-aqua {
    border: 0;
    background: transparent;
}

@media (min-width: 992px) {
    .bn26 .logo-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 0 8px;
        background: var(--bn-surface);
    }

    /* Logo GIF at its natural 200x98, centred in the 90px leaderboard row (trims blank
       padding) - the row is 90px rather than the 98px the GIF used to force */
    .bn26 .logo-dt {
        display: flex;
        align-items: center;
        height: 90px;
        overflow: hidden;
    }

    .bn26 .logo-dt img {
        display: block;
        flex: 0 0 auto;
        width: 200px;
        height: 98px;
    }
}

/* Nav bar: sticks to the top of the window */
.bn26 .bn-nav-bar {
    border: 0;
    background: var(--bn-surface);
    box-shadow: 0 1px 0 var(--bn-line), 0 4px 12px rgba(16, 24, 40, .04);
    position: sticky;
    top: 0;
    z-index: 60;
}

.bn26 .breednet-nav {
    padding: 6px 12px;
}

@media (max-width: 1199.98px) {
    /* Solid brand teal: the mobile logo GIF has this colour baked in behind it */
    .bn26 .breednet-nav {
        background: var(--bn-brand);
    }

    .bn26 .breednet-nav-container {
        padding: 0 4px;
    }

    .bn26 .breednet-toggler-icon {
        width: 48px;
        background: rgba(255, 255, 255, .14);
        border-radius: 10px;
    }

    .bn26 .breednet-toggler-icon span {
        background: #fff;
    }

    .bn26 .breednet-toggler[aria-expanded="true"] .breednet-toggler-icon {
        background: rgba(255, 255, 255, .24);
    }

    .bn26 .breednet-menu-container {
        background: var(--bn-brand-dark);
    }

    /* .bn26 a (teal) outranks mobile-menu.css's white links - restore them */
    .bn26 .breednet-menu-link,
    .bn26 .breednet-menu-link:hover,
    .bn26 .breednet-dropdown-item,
    .bn26 .breednet-dropdown-item:hover {
        color: #fff;
        font-weight: 600;
    }

    .bn26 .breednet-dropdown-item {
        font-weight: 500;
    }
}

/* Tablets (992-1199px, e.g. iPad landscape): the mobile nav bar is in use, so let it span
   the width; the desktop search box is redundant next to its own search icon */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .bn26 .bn-nav-bar {
        display: flex;
        align-items: center;
    }

    .bn26 .menu-block {
        display: block;
        flex: 1 1 auto;
    }

    .bn26 .home-search {
        display: none;
    }

    /* The full logo already sits in the header row above - no second one in the bar */
    .bn26 .breednet-logo {
        visibility: hidden;
    }
}

@media (min-width: 1200px) {
    .bn26 .bn-nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 0 0 var(--bn-radius) var(--bn-radius);
    }

    .bn26 .menu-block {
        display: block;
        flex: 1 1 auto;
        background: transparent;
    }

    .bn26 .breednet-nav {
        padding: 0 4px;
        background: transparent;
    }

    .bn26 .breednet-nav-container {
        padding: 0;
    }

    .bn26 .breednet-menu {
        align-items: center;
        gap: 2px;
    }

    .bn26 .breednet-menu-link {
        color: var(--bn-ink);
        font-weight: 600;
        font-size: .9rem;
        padding: 13px 10px;
        border-radius: 0;
        box-shadow: inset 0 -3px 0 transparent;
        transition: color .15s, box-shadow .15s;
    }

    .bn26 .breednet-dropdown-toggle {
        padding-right: 24px;
    }

    .bn26 .breednet-menu-link:hover,
    .bn26 .breednet-dropdown.open > .breednet-menu-link {
        color: var(--bn-brand);
        background: transparent;
        text-decoration: none;
        box-shadow: inset 0 -3px 0 var(--bn-brand);
    }

    .bn26 .premium-menu-item .breednet-menu-link {
        margin: 0 6px;
        padding: 6px 14px;
        border-radius: 999px;
        background: var(--bn-premium);
        color: #fff;
        box-shadow: none;
    }

    .bn26 .premium-menu-item .breednet-menu-link:hover {
        background: #58227a;
        color: #fff;
        box-shadow: none;
    }

    .bn26 .breednet-dropdown-menu {
        padding: 6px;
        border: 1px solid var(--bn-line);
        border-radius: 10px;
        box-shadow: 0 12px 32px rgba(16, 24, 40, .14);
    }

    .bn26 .breednet-dropdown-item {
        padding: 8px 14px;
        border-radius: 6px;
        color: var(--bn-ink);
        font-size: .9rem;
    }

    .bn26 .breednet-dropdown-item:hover {
        background: var(--bn-brand-soft);
        color: var(--bn-brand-dark);
        text-decoration: none;
    }

    .bn26 .home-search {
        display: block;
        flex: 0 0 220px;
        padding-right: 12px;
    }

    .bn26 .home-search .search-box {
        width: 100%;
        height: 36px;
        padding: 0 14px 0 36px;
        border: 1px solid var(--bn-line);
        border-radius: 999px;
        background: var(--bn-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366737e' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center;
        font-size: .9rem;
        color: var(--bn-ink);
        transition: border-color .15s, box-shadow .15s, background-color .15s;
    }

    .bn26 .home-search .search-box:focus {
        outline: none;
        background-color: #fff;
        border-color: var(--bn-brand);
        box-shadow: 0 0 0 3px rgba(26, 124, 156, .15);
    }
}

/* ---------- Page frame ---------- */

/* Content sits on a white card. home22.css strips Bootstrap's container padding, so on
   desktop and tablets the card adds its own (24px sides and bottom). The top is only 8px:
   the new header ends 8px higher than the old one, so content - and any ads in it - starts
   exactly where it used to. Phones keep their edge-to-edge layout. */
.bn26 .body-content {
    background: var(--bn-surface);
}

@media (min-width: 992px) {
    .bn26 .body-content {
        margin: 12px 0 24px;
        /* !important: beats .padding-zero-mobile, which applies up to 1024px */
        padding: 8px 24px 24px !important;
        border-radius: var(--bn-radius);
        box-shadow: var(--bn-shadow);
    }

    /* Page titles: drop the old 50px indent so they line up with the content */
    .bn26 .body-content h1 {
        margin-left: 0;
    }
}

.bn26 .body-content h1 {
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--bn-ink);
}

.bn26 .breadcrumbs {
    color: var(--bn-muted);
    font-size: .8rem;
}

.bn26 .breadcrumbs a {
    color: var(--bn-muted);
}

.bn26 .breadcrumbs a:hover {
    color: var(--bn-brand);
}

/* Section headings, as on the homepage */
.bn26 .segment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    margin: 28px 0 12px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid var(--bn-line);
    background: transparent;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bn-ink);
}

.bn26 .segment-header::before {
    content: "";
    flex: 0 0 auto;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--bn-brand);
}

.bn26 .back-to-top {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bn-brand);
    color: #fff;
    line-height: 44px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .2);
}

.bn26 .back-to-top:hover {
    background: var(--bn-brand-dark);
    color: #fff;
}

/* ---------- Footer ---------- */

.bn26 .bn-footer {
    margin-top: 24px;
    background: #0d1720;
    color: #aeb8c1;
    font-size: .88rem;
    text-align: left;
}

.bn26 .bn-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 16px 28px;
}

/* The logo GIF is white on solid black: "lighten" drops the black into the footer colour */
.bn26 .bn-footer-brand img {
    mix-blend-mode: lighten;
}

.bn26 .bn-footer-brand p {
    max-width: 340px;
    margin: 12px 0 14px;
    line-height: 1.55;
}

.bn26 .bn-social {
    display: flex;
    gap: 8px;
}

.bn26 .bn-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .15s;
}

.bn26 .bn-social a:hover {
    background: var(--bn-brand);
    color: #fff;
}

.bn26 .bn-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bn26 .bn-footer-links h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bn26 .bn-footer-links a {
    display: block;
    padding: 4px 0;
    color: #aeb8c1;
}

.bn26 .bn-footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.bn26 .bn-footer-base {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    font-size: .8rem;
    color: #7d8894;
}

@media (min-width: 768px) {
    .bn26 .bn-footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    }

    .bn26 .bn-footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn26 .breednet-menu-link,
    .bn26 .search-box,
    .bn26 .bn-social a {
        transition: none;
    }
}
