

/* ---- Active link in the header ---- */
#umuri-header-root .umuri-nav-links > li > a.active {
    color: var(--accent-color) !important;
    box-shadow: 0 3px 0 var(--accent-color) !important;
}

/* ---- Hero slideshow (fully visible, no overlay) ---- */
.bt-hero {
    position: relative;
    margin-top: 170px; /* clears the desktop header */
    height: 520px;
    overflow: hidden;
    background: #2a0f0d;
}

.bt-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bt-slide.active { opacity: 1; }

.bt-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bt-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    background: rgba(88, 27, 24, 0.55);
    cursor: pointer;
    transition: background 0.2s ease;
}

.bt-dot:hover { background: var(--accent-color); }
.bt-dot.active { background: var(--accent-color); border-color: var(--accent-color); }

/* ---- Title band ---- */
.bt-band {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0 44px;
    border-bottom: 4px solid var(--accent-color);
}

.bt-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}

.bt-crumbs {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.bt-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bt-crumbs a:hover { color: #fff; }

.bt-crumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.bt-band h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.bt-band p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

/* ---- Sections ---- */
.bt-section { padding: 70px 0; }

.bt-tint {
    background: #f7f3f0;
    border-top: 1px solid #e6ddd8;
    border-bottom: 1px solid #e6ddd8;
}

.bt-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.bt-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

.bt-count {
    font-size: 13px;
    color: #777;
    white-space: nowrap;
}

/* ---- Intro ---- */
.bt-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}

.bt-intro h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-color);
}

.bt-intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    color: #444;
}

.bt-intro-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---- Story ---- */
.bt-story {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.bt-story-item {
    padding-top: 18px;
    border-top: 3px solid var(--primary-color);
}

.bt-story-item > i {
    margin-bottom: 14px;
    font-size: 22px;
    color: var(--accent-color);
}

.bt-story-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.bt-story-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.bt-note {
    margin: 40px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--accent-color);
    background: #fff;
}

.bt-note h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
}

.bt-note h3 i {
    margin-right: 8px;
    color: var(--accent-color);
}

.bt-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

.bt-note:last-child { margin-bottom: 0; }

/* ---- Squad layout ---- */
.bt-squad {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.bt-hint {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6b5f5b;
}

.bt-hint i {
    margin-right: 6px;
    color: var(--accent-color);
}

/* ---- Pitch ---- */
.bt-pitch {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    aspect-ratio: 68 / 96;
}

.bt-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: repeating-linear-gradient(
        to bottom,
        #2e7d32 0,
        #2e7d32 8.333%,
        #388e3c 8.333%,
        #388e3c 16.666%
    );
    border: 4px solid #1f5a23;
}

.bt-lines {
    position: absolute;
    inset: 4%;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.bt-lines > * { position: absolute; }

.bt-half {
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.85);
}

.bt-circle {
    top: 50%;
    left: 50%;
    width: 24%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}

.bt-spot {
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.bt-spot-centre { top: 50%; left: 50%; }
.bt-spot-top    { top: 11%; left: 50%; }
.bt-spot-bottom { top: 89%; left: 50%; }

.bt-box {
    left: 21%;
    width: 58%;
    height: 16%;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.bt-box-top    { top: 0;    border-top: none; }
.bt-box-bottom { bottom: 0; border-bottom: none; }

.bt-six {
    left: 37%;
    width: 26%;
    height: 5.5%;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.bt-six-top    { top: 0;    border-top: none; }
.bt-six-bottom { bottom: 0; border-bottom: none; }

.bt-goal {
    left: 43%;
    width: 14%;
    height: 2.6%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
}

.bt-goal-top    { top: -2.6%;    border-bottom: none; }
.bt-goal-bottom { bottom: -2.6%; border-top: none; }

/* ---- Players / kits ---- */
.bt-player { position: relative; }

.bt-player.pos {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.bt-player:hover,
.bt-player:focus-within,
.bt-player.open { z-index: 30; }

.bt-kit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.bt-kit-svg {
    display: block;
    width: 52px;
    height: auto;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s ease;
}

.bt-kit-svg .shirt {
    fill: var(--primary-color);
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.bt-kit-svg .trim {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 3;
    stroke-linecap: round;
}

.bt-kit-svg text {
    fill: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.bt-kit-svg.gk .shirt { fill: #22313f; }

.bt-player:hover .bt-kit-svg,
.bt-player:focus-within .bt-kit-svg,
.bt-player.open .bt-kit-svg { transform: scale(1.12); }

.bt-kit:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }

.bt-name {
    margin-top: 3px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ---- Stats card ---- */
.bt-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    width: 210px;
    padding: 14px 16px 12px;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e6ddd8;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.bt-player.tip-b .bt-tip { bottom: auto; top: calc(100% + 8px); }
.bt-player.tip-l .bt-tip { left: 0; transform: none; }
.bt-player.tip-r .bt-tip { left: auto; right: 0; transform: none; }

.bt-player:hover .bt-tip,
.bt-player:focus-within .bt-tip,
.bt-player.open .bt-tip {
    opacity: 1;
    visibility: visible;
}

.bt-tip-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.bt-tip-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.bt-tip-head strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: var(--primary-color);
}

.bt-tip-head em {
    display: block;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.bt-tip-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    margin: 0;
}

.bt-tip-stats dt {
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
}

.bt-tip-stats dd {
    margin: 1px 0 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
}

.bt-tip-note {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #aaa;
}

/* ---- Bench ---- */
.bt-bench {
    max-width: 580px;
    margin: 40px auto 0;
    padding-top: 18px;
    border-top: 2px solid var(--primary-color);
}

.bt-bench h3 {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.bt-bench-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 18px;
    justify-content: space-between;
}

/* ---- Sidebar ---- */
.bt-side-card {
    margin-bottom: 28px;
    padding: 24px;
    background: #f7f3f0;
    border: 1px solid #e6ddd8;
}

.bt-side-card h3 {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd3ce;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.bt-coach {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bt-coach img {
    width: 56px;
    height: 56px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6ddd8;
    object-fit: contain;
}

.bt-coach strong {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
}

.bt-coach em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: #777;
}

.bt-facts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bt-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e6ddd8;
    font-size: 14px;
}

.bt-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.bt-facts span { color: #777; }
.bt-facts strong { color: var(--primary-color); text-align: right; }

/* ---- Gallery ---- */
.bt-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.bt-photo {
    margin: 0;
    overflow: hidden;
    background: #e8e0dc;
}

.bt-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bt-photo:hover img { transform: scale(1.03); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .bt-hero {
        margin-top: 70px; /* mobile header is 70px tall */
        height: 400px;
    }
}

@media (max-width: 992px) {
    .bt-band-grid { grid-template-columns: 1fr; gap: 14px; }
    .bt-intro { grid-template-columns: 1fr; gap: 28px; }
    .bt-story { grid-template-columns: 1fr; gap: 28px; }

    .bt-squad { grid-template-columns: 1fr; gap: 36px; }
    .bt-squad-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .bt-side-card { margin-bottom: 0; }
}

@media (max-width: 768px) {
    .bt-hero { height: 260px; }

    .bt-band { padding: 30px 0 32px; }
    .bt-band h1 { font-size: 28px; }
    .bt-band p { font-size: 15px; }

    .bt-section { padding: 48px 0; }
    .bt-head h2 { font-size: 22px; }
    .bt-intro h2 { font-size: 23px; }
    .bt-intro p { font-size: 16px; }

    .bt-squad-side { grid-template-columns: 1fr; }
    .bt-gallery { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 520px) {
    .bt-kit-svg { width: 38px; }
    .bt-kit-svg text { font-size: 18px; }
    .bt-name { font-size: 8.5px; padding: 1px 4px; }

    .bt-tip { width: 190px; }

    .bt-bench-row { gap: 18px 8px; }
}