:root {
    --lveba-green: #278f38;
    --lveba-green-deep: #126421;
    --lveba-green-dark: #104d20;
    --lveba-gold: #ffe33f;
    --lveba-ink: #243128;
    --lveba-paper: #fff;
    --lveba-wood: url('../images/original-wood-texture.jpg');
    --lveba-cloth: url('../images/original-green-texture.png');
}
html { scroll-behavior: smooth; }
body { color: var(--lveba-ink); background: #77543b var(--lveba-wood) repeat; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.theme-atomik { min-height: 100vh; }
.lveba-site-header { position: relative; z-index: 5; padding-top: clamp(1rem, 2vw, 1.8rem); color: #fff; background: #087b1c var(--lveba-cloth) repeat; box-shadow: inset 0 -5px 12px #0003; }
.lveba-brand-row { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.lveba-brand { display: inline-flex; align-items: center; max-width: min(340px, 74vw); text-decoration: none; }
.lveba-brand img { display: block; width: 100%; height: auto; }
.lveba-header-tools { align-self: flex-start; margin: .4rem .2rem 0 auto; }
.lveba-header-tools a { display: inline-flex; padding: .5rem .85rem; border: 1px solid #ffffff75; border-radius: 999px; color: #fff; background: #0002; text-decoration: none; }
.lveba-header-tools a:hover { color: #153b1b; background: var(--lveba-gold); }
.lveba-navigation { position: relative; margin: .65rem auto 0; padding: .55rem 0; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #4bb450, #28a33d); box-shadow: 0 2px 9px #0004; }
.lveba-navigation .container { max-width: 1200px; }
.lveba-navigation .ccm-block-autonav > ul { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; gap: .15rem .35rem; list-style: none; margin: 0; padding: 0; }
.lveba-navigation .ccm-block-autonav li { position: relative; list-style: none; margin: 0; padding: 0; }
.lveba-navigation .ccm-block-autonav a { display: block; padding: .7rem 1rem; border-radius: 8px; color: #fff; font-size: .98rem; font-weight: 650; line-height: 1.25; text-decoration: none; text-shadow: 0 1px 2px #16432199; white-space: nowrap; }
.lveba-navigation .ccm-block-autonav a:hover,
.lveba-navigation .ccm-block-autonav a.active,
.lveba-navigation .ccm-block-autonav a.nav-path-selected { color: #174b20; background: var(--lveba-gold); text-shadow: none; }
.lveba-navigation .ccm-block-autonav ul ul { display: none; position: absolute; z-index: 20; top: calc(100% - .1rem); left: 0; min-width: 230px; max-height: min(70vh, 600px); overflow-y: auto; padding: .4rem; border: 1px solid #ffffff3b; border-radius: 0 0 10px 10px; background: #16732a; box-shadow: 0 12px 24px #0004; }
.lveba-navigation .ccm-block-autonav li:hover > ul,
.lveba-navigation .ccm-block-autonav li:focus-within > ul { display: block; }
.lveba-navigation .ccm-block-autonav ul ul ul { top: 0; left: 100%; border-radius: 10px; }
.lveba-navigation .ccm-block-autonav ul ul a { white-space: normal; }
.lveba-page-shell { position: relative; z-index: 1; width: min(1160px, calc(100% - 2rem)); min-height: 55vh; margin: 0 auto 2rem; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 0 0 14px 14px; background: var(--lveba-paper); box-shadow: 0 12px 34px #24180f55; }
.lveba-page-shell > .container, .lveba-page-shell .container { width: auto; max-width: none; padding-right: 0; padding-left: 0; }
.lveba-imported-content { color: #28332b; font-size: 1rem; line-height: 1.7; }
.lveba-imported-content h1, .lveba-imported-content h2, .lveba-imported-content h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }
.lveba-imported-content h1 { color: #166628; font-size: clamp(1.65rem, 3vw, 2.5rem); text-shadow: 0 1px 0 #fff, 0 2px 2px #19331a30; }
.lveba-imported-content h2, .lveba-imported-content h3 { color: #176629; }
.lveba-imported-content img { max-width: 100%; height: auto; }
.lveba-imported-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.lveba-imported-content th, .lveba-imported-content td { border: 1px solid #d1ddd5; padding: .5rem .65rem; vertical-align: top; }
.lveba-imported-content th { color: #174d24; background: #e8f2e7; }
.lveba-imported-content .legacy-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lveba-imported-content .legacy-image { margin: 1rem auto; text-align: center; }
.lveba-imported-content .legacy-file-list { padding-left: 1.25rem; }
.legacy-schedule-table { overflow-x: auto; }
.lveba-site-footer { margin-top: 2rem; padding: 1.8rem 0; color: #fff; background: #104d20 var(--lveba-cloth) repeat; box-shadow: inset 0 4px 12px #0003; }
.lveba-footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.lveba-site-footer p { margin: .35rem 0; }
.lveba-site-footer a { color: #fff; }
.lveba-site-footer small { display: block; margin-top: .5rem; }
@media (max-width: 767.98px) {
    .lveba-brand-row { min-height: 0; align-items: center; padding-top: .25rem; padding-bottom: 1rem; }
    .lveba-brand { max-width: min(280px, 68vw); }
    .lveba-header-tools { margin-top: 0; }
    .lveba-navigation { margin-top: .25rem; padding: .4rem 0; border-radius: 9px 9px 0 0; }
    .lveba-navigation .ccm-block-autonav > ul { justify-content: center; gap: .1rem; }
    .lveba-navigation .ccm-block-autonav > ul > li > a { padding: .55rem .65rem; font-size: .9rem; }
    .lveba-navigation .ccm-block-autonav ul ul { max-height: 55vh; }
    .lveba-page-shell { width: 100%; margin-bottom: 1rem; padding: 1.15rem 1rem; border-radius: 0 0 10px 10px; }
    .lveba-imported-content .legacy-columns { grid-template-columns: 1fr; }
    .lveba-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Player group selector: tabs on desktop, touch-friendly choices on phones. */
.lveba-player-groups { margin: 1.25rem 0 2rem; padding: 1rem; border: 1px solid #d4e1d3; border-radius: 12px; background: linear-gradient(180deg, #f7fbf5, #fff); box-shadow: 0 3px 14px #183b1c12; }
.lveba-player-tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: .85rem; border-bottom: 1px solid #dce7db; }
.lveba-player-tab { min-width: 7rem; padding: .65rem 1rem; border: 1px solid #247b32; border-radius: 999px; color: #175c27; background: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
.lveba-player-tab:hover, .lveba-player-tab[aria-selected="true"] { color: #173e1d; background: var(--lveba-gold); box-shadow: 0 2px 6px #183b1c20; }
.lveba-player-tab:focus-visible, .lveba-player-panel:focus-visible { outline: 3px solid #166a29; outline-offset: 3px; }
.lveba-player-panel { padding: 1rem .35rem .25rem; }
.lveba-player-panel[hidden] { display: none; }
.lveba-player-panel > p:first-child { margin: 0 0 .65rem; color: #176629; font-size: 1.05rem; font-weight: 700; }
.lveba-player-panel ul { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.3rem; }
.lveba-player-panel li { break-inside: avoid; margin: .2rem 0; }
.lveba-ladder-content, .lveba-draw-content { max-width: 100%; }
.lveba-ladder-download-row, .lveba-draw-download-row { margin: 0 0 1rem; text-align: right; }
.lveba-ladder-download, .lveba-draw-download { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border: 1px solid #247b32; border-radius: 8px; color: #175c27; background: #fff; font-weight: 700; text-decoration: none; }
.lveba-ladder-download:hover, .lveba-ladder-download:focus-visible, .lveba-draw-download:hover, .lveba-draw-download:focus-visible { color: #173e1d; background: var(--lveba-gold); }
.lveba-ladder-preview, .lveba-draw-preview { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 960px; aspect-ratio: 1.1 / 1; margin: 0 auto; padding: clamp(.35rem, 1.5vw, 1rem); overflow: hidden; border: 1px solid #e1e8e1; border-radius: 10px; background: #fff; }
.lveba-ladder-preview a, .lveba-draw-preview a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lveba-ladder-preview img, .lveba-draw-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lveba-tabbed-editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .75rem 0 1rem; }
.lveba-tabbed-editor-buttons { display: flex; flex-wrap: wrap; gap: .4rem; }
.lveba-tabbed-editor-button[aria-selected="true"] { color: #173e1d; background: var(--lveba-gold); border-color: #247b32; }
.lveba-tabbed-editor-section[hidden] { display: none; }
.lveba-tabbed-editor-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.lveba-navigation .ccm-block-autonav > ul > li > a { background: transparent; }
@media (max-width: 767.98px) {
    .lveba-player-groups { padding: .8rem; }
    .lveba-player-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
    .lveba-player-tab { min-width: 0; width: 100%; padding: .7rem .35rem; border-radius: 9px; }
    .lveba-player-panel ul { columns: 1; }
}

.lveba-navigation .ccm-block-autonav > ul.nav { flex-direction: row; background: transparent; box-shadow: none; }
.lveba-navigation .ccm-block-autonav > ul.nav > li { background: transparent; }
.lveba-navigation .ccm-block-autonav > ul.nav > li > a { background: transparent; }
.lveba-nav-toggle { display: none; }
@media (min-width: 768px) and (max-width: 991.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem; align-items: stretch; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a { min-width: 0; overflow: hidden; padding-right: .45rem; padding-left: .45rem; text-overflow: ellipsis; white-space: nowrap; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > .lveba-nav-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff70; border-radius: 8px; color: #fff; background: #176c2a; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a.has-submenu::after { display: none; }
    .lveba-navigation .ccm-block-autonav ul ul { display: none !important; position: static; grid-column: 1 / -1; min-width: 0; max-height: 50vh; overflow-y: auto; margin: .2rem 0 .4rem; padding: .35rem; border-radius: 8px; background: #146d29; }
    .lveba-navigation .ccm-block-autonav li.is-open > ul { display: block !important; }
    .lveba-navigation .ccm-block-autonav ul ul ul { position: static; margin-left: .5rem; }
}
@media (max-width: 767.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .25rem .45rem; padding: .25rem; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li { display: grid; grid-template-columns: minmax(0, 1fr) 2.6rem; align-items: stretch; min-width: 0; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li > a { min-width: 0; overflow: hidden; padding: .65rem .6rem; border-radius: 8px; text-overflow: ellipsis; white-space: nowrap; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li > .lveba-nav-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff70; border-radius: 8px; color: white; background: #176c2a; }
    .lveba-nav-toggle span { width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
    .lveba-nav-toggle[aria-expanded="true"] span { transform: rotate(225deg) translate(-1px, -1px); }
    .lveba-navigation .ccm-block-autonav ul ul { display: none; position: static; grid-column: 1 / -1; min-width: 0; max-height: 50vh; overflow-y: auto; margin: .2rem 0 .4rem; padding: .35rem; border-radius: 8px; background: #146d29; }
    .lveba-navigation .ccm-block-autonav li.is-open > ul { display: block; }
    .lveba-navigation .ccm-block-autonav ul ul ul { position: static; margin-left: .5rem; }
}

/* Neutralize Atomik's inherited grey vertical menu defaults. */
.lveba-navigation .ccm-block-autonav,
.lveba-navigation .ccm-block-autonav > ul.nav,
.lveba-navigation .ccm-block-autonav > ul.nav > li { background: transparent !important; background-image: none !important; box-shadow: none !important; }
.lveba-navigation .ccm-block-autonav > ul.nav > li > a.nav-link { color: #fff !important; background: transparent !important; }
.lveba-navigation .ccm-block-autonav > ul.nav > li > a.nav-link:hover,
.lveba-navigation .ccm-block-autonav > ul.nav > li > a.nav-link.active,
.lveba-navigation .ccm-block-autonav > ul.nav > li > a.nav-link.nav-path-selected { color: #174b20 !important; background: var(--lveba-gold) !important; }
.lveba-navigation .ccm-block-autonav ul ul { background: #176f2a; }
@media (max-width: 767.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-direction: initial; }
    .lveba-navigation .ccm-block-autonav > ul.nav ul ul { display: none; }
    .lveba-navigation .ccm-block-autonav > ul.nav li.is-open > ul { display: block; }
}

@media (min-width: 768px) {
    .lveba-navigation .ccm-block-autonav > ul.nav { display: flex !important; flex-direction: row !important; flex-wrap: wrap; }
}
.lveba-navigation .ccm-block-autonav > ul.nav > li:has(> a[href$="/maintenance-page"]),
.lveba-navigation .ccm-block-autonav > ul.nav > li:has(> a[href$="/faq-s"]),
.lveba-navigation .ccm-block-autonav > ul.nav > li:has(> a[href$="/register_team"]),
.lveba-navigation .ccm-block-autonav li:has(> a[href$="/results/lveba-rankings"]),
.lveba-navigation .ccm-block-autonav li:has(> a[href$="/draws/winter"]),
.lveba-navigation .ccm-block-autonav li:has(> a[href$="/draws/summer-draw"]) { display: none !important; }

@media (min-width: 992px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li { flex: 0 0 calc(14.285714% - .2rem); max-width: calc(14.285714% - .2rem); }
    .lveba-navigation .ccm-block-autonav > ul.nav > li > a { padding-right: .35rem; padding-left: .35rem; text-align: center; white-space: normal; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li { flex: 0 0 calc(25% - .3rem); max-width: calc(25% - .3rem); }
}

@media (min-width: 768px) {
    .lveba-navigation { width: min(1200px, calc(100% - 2rem)); }
}
@media (min-width: 992px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li { flex-basis: calc(14.285714% - .5rem); max-width: calc(14.285714% - .5rem); }
}

.lveba-navigation { background: transparent; box-shadow: none; }
.lveba-navigation > .container { width: min(1200px, calc(100% - 2rem)); margin-right: auto; margin-left: auto; padding: .55rem .75rem; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #4bb450, #28a33d); box-shadow: 0 2px 9px #0004; }
@media (min-width: 992px) {
    .lveba-navigation .ccm-block-autonav > ul.nav { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); flex-direction: initial !important; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li { flex: none; max-width: none; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); flex-direction: initial !important; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li { flex: none; max-width: none; min-width: 0; }
}

/* Consistent LVEBA typography across imported pages. */
.lveba-imported-content, .lveba-imported-content * { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
.lveba-imported-content h1,
.lveba-imported-content h2,
.lveba-imported-content h3,
.lveba-imported-content h4,
.lveba-imported-content h5,
.lveba-imported-content h6 { color: #176629 !important; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; font-weight: 750 !important; line-height: 1.22 !important; text-align: left !important; text-shadow: none !important; letter-spacing: -.018em; margin: 1.25em 0 .55em !important; }
.lveba-imported-content h1 { font-size: clamp(1.8rem, 3vw, 2.45rem) !important; }
.lveba-imported-content h2 { font-size: clamp(1.55rem, 2.5vw, 1.95rem) !important; }
.lveba-imported-content h3 { font-size: clamp(1.3rem, 2vw, 1.55rem) !important; }
.lveba-imported-content h4 { font-size: 1.22rem !important; }
.lveba-imported-content h5 { font-size: 1.1rem !important; }
.lveba-imported-content h6 { font-size: 1rem !important; }
.lveba-imported-content a { color: #176629; text-decoration-thickness: .08em; text-underline-offset: .15em; }
.lveba-imported-content a:hover { color: #0d4c1c; }

/* Preserve area-splitter placement and render legacy columns responsively. */
.lveba-area-splitter-columns { display: grid; grid-template-columns: repeat(var(--lveba-splitter-count, 2), minmax(0, 1fr)); gap: 1.25rem; margin: 1.25rem 0; }
.lveba-area-splitter-columns > .legacy-splitter-source { min-width: 0; }
.lveba-area-splitter-tabs > .legacy-splitter-source { margin: .5rem 0; }
@media (max-width: 767.98px) {
    .lveba-area-splitter-columns { grid-template-columns: 1fr; }
}

/* Clear, high-contrast nested navigation for mouse, keyboard and touch. */
.lveba-navigation .ccm-block-autonav li.is-open > ul { display: block; }
.lveba-navigation .ccm-block-autonav a:focus-visible,
.lveba-navigation .ccm-block-autonav .lveba-nav-toggle:focus-visible { outline: 3px solid var(--lveba-gold); outline-offset: 2px; }
.lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a.has-submenu::after {
    display: inline-block;
    width: .42rem;
    height: .42rem;
    margin: 0 0 .18rem .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
}
.lveba-navigation .ccm-block-autonav ul ul {
    min-width: 15rem;
    padding: .4rem;
    border: 1px solid #f5d94f;
    border-radius: 0 0 10px 10px;
    background: #103f1b;
    box-shadow: 0 12px 26px #0006;
}
.lveba-navigation .ccm-block-autonav ul ul > li + li { border-top: 1px solid #ffffff24; }
.lveba-navigation .ccm-block-autonav ul ul a {
    display: flex;
    align-items: center;
    min-height: 2.65rem;
    padding: .65rem .8rem;
    border-radius: 6px;
    color: #fff !important;
    font-size: .94rem;
    font-weight: 550;
    line-height: 1.35;
    text-shadow: none;
    white-space: normal;
}
.lveba-navigation .ccm-block-autonav ul ul a:hover,
.lveba-navigation .ccm-block-autonav ul ul a:focus-visible,
.lveba-navigation .ccm-block-autonav ul ul a.active,
.lveba-navigation .ccm-block-autonav ul ul a.nav-path-selected {
    color: #153b1b !important;
    background: var(--lveba-gold) !important;
}
.lveba-section-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 2rem; }
.lveba-section-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .85rem 1rem; border: 1px solid #d4e1d3; border-left: 4px solid var(--lveba-green); border-radius: 9px; color: #175c27 !important; background: #f7fbf5; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px #183b1c0d; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.lveba-section-link:hover, .lveba-section-link:focus-visible { color: #153b1b !important; background: var(--lveba-gold); box-shadow: 0 4px 12px #183b1c20; transform: translateY(-1px); }
.lveba-section-link:focus-visible { outline: 3px solid #166a29; outline-offset: 3px; }
.lveba-section-link-arrow { flex: 0 0 auto; font-size: .86rem; font-weight: 650; }
.lveba-eyebrow { margin: 0 0 .25rem; color: #506455; font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.lveba-home-established { margin: -.2rem 0 1.5rem; color: #506455; font-size: 1.1rem; }
.lveba-home-rankings-link { display: inline-flex; width: fit-content; min-width: min(100%, 25rem); }
.lveba-scorer-note { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 5px solid var(--lveba-green); border-radius: 8px; background: #f5f9f2; }
.lveba-scorer-note ul { margin: .75rem 0; padding-left: 1.35rem; }
.lveba-scorer-note li { margin: .45rem 0; }
.lveba-partner-links .lveba-section-link { min-height: 11rem; justify-content: center; flex-direction: column; text-align: center; }
.lveba-partner-links .lveba-section-link img { display: block; width: auto; height: auto; max-width: min(100%, 17rem); max-height: 7rem; object-fit: contain; }
@media (max-width: 767.98px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a.has-submenu::after { display: none; }
    .lveba-navigation .ccm-block-autonav ul ul {
        width: 100%;
        min-width: 0;
        max-height: min(55vh, 28rem);
        margin-top: .3rem;
        border-radius: 8px;
    }
    .lveba-navigation .ccm-block-autonav ul ul a { min-height: 2.8rem; padding: .7rem .8rem; }
    .lveba-section-links { grid-template-columns: 1fr; }
}
@media (pointer: coarse) and (min-width: 768px) {
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu { display: grid; grid-template-columns: minmax(0, 1fr) 2.6rem; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a { min-width: 0; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > .lveba-nav-toggle { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff70; border-radius: 8px; color: #fff; background: #176c2a; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li.has-submenu > a.has-submenu::after { display: none; }
}

/* Shared content rhythm and readable data layouts across migrated pages. */
.lveba-page-shell { color: #28332b; }
.lveba-imported-content { max-width: 100%; overflow-wrap: anywhere; }
.lveba-imported-content p,
.lveba-imported-content li,
.lveba-imported-content blockquote { color: #344239 !important; font-size: 1rem !important; line-height: 1.7 !important; }
.lveba-imported-content p { margin: 0 0 1rem !important; }
.lveba-imported-content p:has(img),
.lveba-imported-content p:has(a > img) { text-align: center !important; }
.lveba-imported-content ul,
.lveba-imported-content ol { margin: .6rem 0 1.2rem; padding-left: 1.5rem; }
.lveba-imported-content li + li { margin-top: .28rem; }
.lveba-imported-content h1 { margin: 0 0 1.25rem !important; padding-bottom: .7rem; border-bottom: 2px solid #dce8dc; font-size: clamp(1.75rem, 2.8vw, 2.25rem) !important; }
.lveba-imported-content h2 { margin: 1.8rem 0 .8rem !important; padding-left: .75rem; border-left: 4px solid #278f38; font-size: clamp(1.35rem, 2vw, 1.65rem) !important; }
.lveba-imported-content h3 { margin: 1.35rem 0 .65rem !important; font-size: clamp(1.16rem, 1.6vw, 1.35rem) !important; }
.lveba-imported-content h4 { margin: 1.1rem 0 .5rem !important; font-size: 1.12rem !important; }
.lveba-imported-content h5,
.lveba-imported-content h6 { margin: 1rem 0 .45rem !important; font-size: 1rem !important; }
.lveba-imported-content table { display: block; width: max-content; min-width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid #d6e0d8; border-radius: 8px; background: #fff; }
.lveba-imported-content th,
.lveba-imported-content td { min-width: 5rem; padding: .62rem .75rem; border-color: #dce5de; }
.lveba-imported-content th { position: sticky; top: 0; color: #174d24 !important; background: #e8f2e7 !important; font-weight: 700; text-align: left; }
.lveba-imported-content tbody tr:nth-child(even) { background: #f7faf7; }
.lveba-imported-content tbody tr:hover { background: #eef6eb; }
.lveba-imported-content img { border-radius: 4px; }
.lveba-imported-content a { overflow-wrap: anywhere; }
.lveba-imported-content a:focus-visible { outline: 3px solid #278f38; outline-offset: 3px; border-radius: 2px; }
.lveba-imported-content blockquote { margin: 1rem 0; padding: .75rem 1rem; border-left: 4px solid #278f38; border-radius: 0 8px 8px 0; background: #f5f9f4; }
.lveba-site-footer { font-size: .95rem; line-height: 1.6; }
@media (max-width: 767.98px) {
    .lveba-imported-content h1 { font-size: 1.7rem !important; }
    .lveba-imported-content h2 { margin-top: 1.45rem !important; font-size: 1.35rem !important; }
    .lveba-imported-content th,
    .lveba-imported-content td { padding: .55rem .65rem; }
}

/* Legacy pages often marked every section heading as H1; keep a clear hierarchy. */
.lveba-imported-content.legacy-area-main h1 { margin: 1.25rem 0 .75rem !important; padding: 0 0 0 .7rem; border: 0; border-left: 4px solid #278f38; font-size: clamp(1.28rem, 1.8vw, 1.5rem) !important; }
.lveba-imported-content.legacy-area-main h1:not(:first-child) { margin-top: 1.5rem !important; font-size: clamp(1.12rem, 1.5vw, 1.3rem) !important; }
.lveba-imported-content.legacy-area-main h1 + h1 { margin-top: .45rem !important; }
.lveba-imported-content.legacy-area-main h1 strong { font-weight: 750; }
.lveba-imported-content.legacy-area-main h3:empty,
.lveba-imported-content.legacy-area-main h3:has(br:only-child),
.lveba-imported-content.legacy-area-main h3:has(*) { margin: .65rem 0 !important; }
.lveba-imported-content.legacy-area-main h3 { margin: .55rem 0 .7rem !important; font-size: clamp(1.05rem, 1.45vw, 1.2rem) !important; }
/* Remove one-off legacy inline colors and sizing so headings and emphasis follow the site palette. */
.lveba-imported-content span,
.lveba-imported-content font { color: inherit !important; background-color: transparent !important; font-size: inherit !important; font-family: inherit !important; }
.lveba-imported-content p { text-align: left !important; }
.lveba-imported-content p:has(img),
.lveba-imported-content p:has(a > img) { text-align: center !important; }
.lveba-site-footer p,
.lveba-site-footer small,
.lveba-site-footer a { color: #fff !important; }
/* Keep all footer content white, including plain text and the bold association name. */
.lveba-site-footer,
.lveba-site-footer * { color: #fff !important; }
.lveba-footer-heading { margin: 0 0 .45rem !important; color: #fff !important; font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.lveba-footer-contact > strong { display: block; margin-bottom: .2rem; }
.lveba-footer-contact > .lveba-obfuscated-email { display: inline-block; margin-top: .05rem; }
.lveba-footer-meta { align-self: flex-end; text-align: right; }
.lveba-footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem .8rem; }
.lveba-footer-login { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem .65rem; margin-top: .35rem; }
.lveba-footer-meta a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 767.98px) { .lveba-footer-meta { align-self: flex-start; text-align: left; } }
@media (max-width: 767.98px) { .lveba-footer-legal, .lveba-footer-login { justify-content: flex-start; } }

/* Shown only by Concrete CMS while maintenance mode is active. */
.lveba-maintenance-page { display: grid; min-height: min(70vh, 48rem); place-items: center; padding: clamp(1.5rem, 5vw, 4rem) 1rem; background: linear-gradient(145deg, #eff6eb, #f9fbf7 58%, #f7f1d8); }
.lveba-maintenance-card { position: relative; width: min(100%, 46rem); overflow: hidden; padding: clamp(2rem, 6vw, 4rem); border: 1px solid #dce8d7; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 20px 55px #173d1b18; }
.lveba-maintenance-card::before { position: absolute; inset: 0 0 auto; height: .5rem; background: linear-gradient(90deg, #176a2b 0%, #278f38 65%, #e6bd46 65%, #e6bd46 100%); content: ''; }
.lveba-maintenance-logo { display: block; width: min(100%, 22rem); max-height: 8rem; margin: 0 auto 1.8rem; object-fit: contain; }
.lveba-maintenance-card h1 { margin: 0 0 1rem; color: #174924; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; }
.lveba-maintenance-message { max-width: 34rem; margin: 0 auto; color: #34463a; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.7; }
.lveba-maintenance-thanks { margin: 1.25rem 0 0; color: #617064; font-size: .98rem; }
@media (max-width: 600px) { .lveba-maintenance-page { min-height: 55vh; } .lveba-maintenance-card { border-radius: 15px; } }

/* Competition uploads: one image produces a consistent preview and a print link. */
.lveba-competition-sheet {
    margin: 1rem 0 1.75rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid #dce7dc;
    border-radius: 16px;
    background: linear-gradient(145deg, #fbfdf9 0%, #f1f7ef 100%);
    box-shadow: 0 8px 24px #173d1b0d;
}
.lveba-competition-sheet-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lveba-competition-sheet-heading h3 { margin: 0; color: #173f22; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 750; }
.lveba-competition-sheet-kicker { margin: 0 0 .2rem; color: #55705a; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lveba-competition-sheet-updated { margin: .65rem 0 1rem; color: #5b6e5e; font-size: .88rem; }
.lveba-competition-print-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 2.8rem; padding: .7rem 1rem; border-radius: 9px; color: #fff !important; background: #176a2b; font-weight: 750; text-align: center; text-decoration: none !important; box-shadow: 0 3px 10px #176a2b24; }
.lveba-competition-print-link:hover,
.lveba-competition-print-link:focus-visible { color: #173d1b !important; background: #e6bd46; }
.lveba-competition-print-link:focus-visible { outline: 3px solid #176a2b; outline-offset: 3px; }
.lveba-competition-sheet-image { display: grid; min-height: 15rem; place-items: center; overflow: hidden; padding: .75rem; border: 1px solid #e2e9e2; border-radius: 11px; background: #fff; }
.lveba-competition-sheet-image img { display: block; width: 100%; max-height: 75vh; border-radius: 5px; object-fit: contain; }
.lveba-competition-pdf-frame { overflow: hidden; border: 1px solid #e2e9e2; border-radius: 11px; background: #fff; }
.lveba-competition-pdf-frame iframe { display: block; width: 100%; height: min(78vh, 64rem); min-height: 34rem; border: 0; background: #fff; }
.lveba-upload-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem 1rem; margin: 1rem 0 1.25rem; padding: 1rem; border: 1px solid #dce8dc; border-radius: 12px; background: #f5f9f3; }
.lveba-upload-panel-copy { display: grid; gap: .25rem; }
.lveba-upload-panel-copy strong { color: #194c26; font-size: 1rem; }
.lveba-upload-panel-copy span { color: #405447; line-height: 1.45; }
.lveba-upload-panel-copy small { color: #66756a; }
.lveba-upload-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0; padding: .65rem 1rem; border-color: #176a2b; border-radius: 8px; color: #176a2b; background: #fff; font-weight: 700; cursor: pointer; }
.lveba-upload-button:hover { color: #fff; background: #176a2b; }
.lveba-upload-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.lveba-upload-button:focus-within { outline: 3px solid #d9b345; outline-offset: 2px; }
.lveba-upload-filename { grid-column: 1 / -1; color: #59695c; font-size: .88rem; overflow-wrap: anywhere; }
.lveba-competition-sheet-existing { padding: clamp(1rem, 2vw, 1.35rem); }
.lveba-competition-sheet-existing .lveba-competition-sheet-heading { margin-bottom: .75rem; }
.lveba-competition-sheet-legacy-content { display: grid; gap: .75rem; }
.lveba-competition-sheet-legacy-content p { margin: 0 !important; }
.lveba-competition-sheet-legacy-content p:has(a[href$=".pdf"]:not(:has(img))) { display: flex; justify-content: flex-end; }
.lveba-competition-sheet-legacy-content a[href$=".pdf"]:not(:has(img)) { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .7rem 1rem; border: 1px solid #176a2b; border-radius: 9px; color: #fff !important; background: #176a2b; font-weight: 750; line-height: 1.3; text-decoration: none !important; box-shadow: 0 3px 10px #176a2b24; }
.lveba-competition-sheet-legacy-content a[href$=".pdf"]:not(:has(img)):hover,
.lveba-competition-sheet-legacy-content a[href$=".pdf"]:not(:has(img)):focus-visible { border-color: #e6bd46; color: #173d1b !important; background: #e6bd46; }
.lveba-competition-sheet-legacy-content p:has(> a:has(img)) { padding: .6rem; border: 1px solid #e2e9e2; border-radius: 11px; background: #fff; }
.lveba-competition-sheet-legacy-content p > a:has(img) { display: block; }
.lveba-competition-sheet-legacy-content img { display: block; width: 100% !important; max-width: 100%; max-height: 76vh; height: auto !important; margin: 0 auto; object-fit: contain; }
@media (max-width: 600px) {
    .lveba-competition-sheet-heading { align-items: stretch; flex-direction: column; }
    .lveba-competition-print-link { width: 100%; }
    .lveba-competition-sheet-image { min-height: 9rem; }
    .lveba-competition-pdf-frame iframe { height: 68vh; min-height: 25rem; }
    .lveba-upload-panel { grid-template-columns: 1fr; }
    .lveba-upload-button { width: 100%; }
    .lveba-competition-sheet-legacy-content p:has(a[href$=".pdf"]:not(:has(img))) { justify-content: stretch; }
    .lveba-competition-sheet-legacy-content a[href$=".pdf"]:not(:has(img)) { width: 100%; }
}

/* Contact page: readable committee cards and clear postal/email details. */
.lveba-contact-page-header { margin: 0 0 1.5rem; padding: 0 0 1.1rem; border-bottom: 1px solid #dfe8df; }
.lveba-contact-page-header h1 { margin: 0 0 .45rem !important; padding: 0 !important; border: 0 !important; color: var(--lveba-green-deep) !important; font-size: clamp(1.8rem, 3vw, 2.35rem) !important; text-shadow: none !important; }
.lveba-contact-page-header p { margin: 0; color: #506154; font-size: 1.05rem; }
.lveba-contact-section { margin: 1.6rem 0 2rem; }
.lveba-contact-section > h2 { margin: 0 0 1rem !important; color: var(--lveba-green-deep) !important; font-family: inherit !important; font-size: clamp(1.3rem, 2vw, 1.65rem) !important; }
.lveba-contact-group + .lveba-contact-group { margin-top: 1.6rem; }
.lveba-contact-group h3 { margin: 0 0 .8rem !important; color: #37483b !important; font-family: inherit !important; font-size: 1.05rem !important; font-weight: 750; }
.lveba-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.lveba-contact-card { min-width: 0; padding: 1rem 1.1rem; border: 1px solid #dce7dc; border-radius: 12px; background: linear-gradient(145deg, #f8fbf7, #fff 72%); box-shadow: 0 3px 12px #183b1c0d; }
.lveba-contact-card .lveba-contact-role { margin: 0 0 .25rem; color: var(--lveba-green-deep); font-size: .82rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.lveba-contact-card .lveba-contact-name { margin: 0; color: #27352b; font-size: 1.08rem; font-weight: 700; }
.lveba-contact-card .lveba-contact-phone { display: inline-block; margin-top: .35rem; color: #305d38; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.lveba-contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lveba-contact-details .lveba-contact-card { padding: 1.25rem; }
.lveba-contact-details h2 { margin: 0 0 .65rem !important; color: var(--lveba-green-deep) !important; font-family: inherit !important; font-size: 1.15rem !important; }
.lveba-contact-address { margin: 0 0 .6rem; font-weight: 700; line-height: 1.55; }
.lveba-contact-note { margin: 0; color: #526055; font-size: .95rem; }
.lveba-contact-email { display: inline-block; margin: .25rem 0 .3rem; color: #175c27 !important; font-weight: 750; text-underline-offset: .18em; }
@media (max-width: 640px) {
    .lveba-contact-grid, .lveba-contact-details { grid-template-columns: 1fr; }
    .lveba-contact-card { padding: .9rem 1rem; }
}

/* Site-wide finishing pass: responsive legacy columns and cleaner historic galleries. */
.lveba-imported-content.legacy-movable-section + .lveba-imported-content.legacy-movable-section { margin-top: 1.15rem; }
.lveba-imported-content h1,
.lveba-imported-content h2,
.lveba-imported-content h3,
.lveba-imported-content h4 { text-wrap: balance; }
.lveba-imported-content .legacy-columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); align-items: start; }
.lveba-imported-content .legacy-column { min-width: 0; }
.lveba-legacy-image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: stretch; gap: clamp(.75rem, 1.6vw, 1.15rem); margin: 1rem 0 1.5rem; }
.lveba-legacy-image-grid > p { display: grid; min-width: 0; min-height: 17rem; place-items: center; margin: 0 !important; padding: .65rem; overflow: hidden; border: 1px solid #dce7dc; border-radius: 11px; background: linear-gradient(145deg, #f8fbf7, #fff 72%); box-shadow: 0 3px 12px #183b1c0d; }
.lveba-legacy-image-grid img { display: block; width: 100%; height: clamp(15rem, 25vw, 20rem); max-width: 100%; margin: 0 auto; border-radius: 6px; object-fit: contain; }
.lveba-imported-content figure { max-width: 100%; margin: 1.25rem auto; text-align: center; }
.lveba-imported-content figcaption { margin-top: .5rem; color: #5a695d; font-size: .9rem; line-height: 1.45; }
.lveba-imported-content hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #dce7dc; opacity: 1; }
.lveba-imported-content details { margin: .75rem 0; padding: .8rem 1rem; border: 1px solid #dce7dc; border-radius: 9px; background: #f8fbf7; }
.lveba-imported-content summary { color: #175c27; font-weight: 700; cursor: pointer; }
.lveba-page-shell :focus-visible { outline: 3px solid #278f38; outline-offset: 3px; }
@media (max-width: 767.98px) {
    .lveba-imported-content.legacy-movable-section + .lveba-imported-content.legacy-movable-section { margin-top: .85rem; }
    .lveba-legacy-image-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
    .lveba-legacy-image-grid > p { min-height: 13rem; }
    .lveba-legacy-image-grid img { height: clamp(12rem, 55vw, 18rem); }
}
.lveba-imported-content p:not(:has(img, iframe, video, audio, object, embed)),
.lveba-imported-content li { max-width: 78ch; }
.lveba-imported-content .lveba-legacy-image-grid p { max-width: none; }

/* Minutes archives: consistent, compact rows with clear document links. */
.ccm-page-id-275 .legacy-area-main,
.ccm-page-id-310 .legacy-area-main { margin: 0 0 .55rem !important; padding: .65rem clamp(.75rem, 2vw, 1rem); border: 1px solid #dce7dc; border-left: 4px solid #278f38; border-radius: 10px; background: linear-gradient(145deg, #f8fbf7, #fff 75%); box-shadow: 0 2px 8px #183b1c0b; }
.ccm-page-id-275 .legacy-area-main h3,
.ccm-page-id-310 .legacy-area-main h3 { margin: 0 !important; padding: .42rem .2rem; color: #26392d !important; font-size: 1.02rem !important; line-height: 1.4 !important; }
.ccm-page-id-275 .legacy-area-main h3 + h3,
.ccm-page-id-310 .legacy-area-main h3 + h3 { border-top: 1px solid #e5ece5; }
.ccm-page-id-275 .legacy-area-main p,
.ccm-page-id-310 .legacy-area-main p { margin: 0 !important; padding: .25rem .2rem; }
.ccm-page-id-275 .legacy-area-main h3 a,
.ccm-page-id-275 .legacy-area-main p a,
.ccm-page-id-310 .legacy-area-main h3 a,
.ccm-page-id-310 .legacy-area-main p a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 2.6rem; padding: .4rem .55rem; border-radius: 7px; color: #175c27 !important; font-weight: 700; text-decoration: none !important; }
.ccm-page-id-275 .legacy-area-main h3 a::after,
.ccm-page-id-275 .legacy-area-main p a::after,
.ccm-page-id-310 .legacy-area-main h3 a::after,
.ccm-page-id-310 .legacy-area-main p a::after { flex: 0 0 auto; width: .45rem; height: .45rem; margin: -.2rem .25rem 0 0; border-right: 2px solid #4c7653; border-bottom: 2px solid #4c7653; content: ""; transform: rotate(45deg); }
.ccm-page-id-275 .legacy-area-main h3 a:hover,
.ccm-page-id-275 .legacy-area-main h3 a:focus-visible,
.ccm-page-id-275 .legacy-area-main p a:hover,
.ccm-page-id-275 .legacy-area-main p a:focus-visible,
.ccm-page-id-310 .legacy-area-main h3 a:hover,
.ccm-page-id-310 .legacy-area-main h3 a:focus-visible,
.ccm-page-id-310 .legacy-area-main p a:hover,
.ccm-page-id-310 .legacy-area-main p a:focus-visible { color: #173e1d !important; background: #eef6eb; }

/* Association history: readable long-form text and a tidy life-member directory. */
.ccm-page-id-241 .legacy-area-main { max-width: 78ch; }
.ccm-page-id-241 .legacy-area-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .5rem; margin-top: 1.5rem; padding: clamp(.85rem, 2vw, 1.2rem); border: 1px solid #dce7dc; border-radius: 14px; background: linear-gradient(145deg, #f5faf3, #fff 75%); }
.ccm-page-id-241 .legacy-area-sidebar > div { display: flex; align-items: center; min-height: 2.65rem; margin: 0 !important; padding: .55rem .75rem !important; border: 1px solid #e1e9e1; border-radius: 8px !important; color: #344239; background: #fff !important; text-align: left !important; line-height: 1.4; }
.ccm-page-id-241 .legacy-area-sidebar > div:first-child { grid-column: 1 / -1; min-height: 0; padding: 0 0 .65rem !important; border: 0; border-bottom: 2px solid #dce7dc; border-radius: 0 !important; color: #176629; background: transparent !important; font-size: 1.2rem; font-weight: 800; }
.ccm-page-id-241 .legacy-area-sidebar > div span { color: inherit !important; }

/* Country Cup history: give the competition label and page title distinct weight. */
.ccm-page-id-312 .legacy-area-header h1:first-of-type,
.ccm-page-id-312 .legacy-area-header h1:nth-of-type(2) { margin: .15rem 0 !important; padding: 0 !important; border: 0 !important; color: #5b6c5f !important; font-size: clamp(.95rem, 1.4vw, 1.1rem) !important; font-weight: 750 !important; letter-spacing: .08em; }
.ccm-page-id-312 .legacy-area-header h1:nth-of-type(3) { margin: .25rem 0 0 !important; padding-bottom: .65rem !important; border-bottom: 2px solid #dce8dc !important; color: #176629 !important; font-size: clamp(1.8rem, 3vw, 2.4rem) !important; }
.ccm-page-id-312 .legacy-area-main p { max-width: 58ch; margin: 0 auto !important; padding: .9rem 1.1rem; border-left: 4px solid #278f38; border-radius: 0 9px 9px 0; background: #f5f9f4; font-weight: 650; }
.ccm-page-id-312 .legacy-area-main figure.legacy-image { max-width: min(100%, 58rem); margin: 1rem auto; padding: clamp(.5rem, 1.5vw, 1rem); border: 1px solid #dce7dc; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px #183b1c10; }
.ccm-page-id-312 .legacy-area-main figure.legacy-image img { display: block; width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
@media (max-width: 767.98px) {
    .ccm-page-id-275 .legacy-area-main,
    .ccm-page-id-310 .legacy-area-main { padding: .5rem .65rem; }
    .ccm-page-id-241 .legacy-area-sidebar { grid-template-columns: 1fr; }
}

/* Keep all historic/current Minutes file labels the same readable size. */
.ccm-page-id-275 .legacy-area-main h3,
.ccm-page-id-275 .legacy-area-main h3 *,
.ccm-page-id-275 .legacy-area-main p,
.ccm-page-id-275 .legacy-area-main p *,
.ccm-page-id-310 .legacy-area-main h3,
.ccm-page-id-310 .legacy-area-main h3 *,
.ccm-page-id-310 .legacy-area-main p,
.ccm-page-id-310 .legacy-area-main p * { font-size: 1rem !important; line-height: 1.4 !important; }

/* Rankings use the same upload card, preview frame and PDF control as Ladders. */
.ccm-page-id-252 .lveba-competition-sheet-legacy-content ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: none; margin: 0 !important; padding: .45rem .65rem; border: 1px solid #dce7dc; border-radius: 9px; color: #405447; background: #fff; font-weight: 700; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content li > a[href$=".pdf"] { display: inline-flex; flex: 0 0 2.8rem; align-items: center; justify-content: center; width: 2.8rem; min-height: 2.8rem; padding: .45rem; border: 1px solid #176a2b; border-radius: 8px; background: #176a2b; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content li > a[href$=".pdf"]:hover,
.ccm-page-id-252 .lveba-competition-sheet-legacy-content li > a[href$=".pdf"]:focus-visible { border-color: #e6bd46; background: #e6bd46; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content li > a[href$=".pdf"] img { display: block; width: 1.45rem; height: 1.45rem; margin: 0; object-fit: contain; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content figure.legacy-image { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 960px; aspect-ratio: 1.1 / 1; margin: 0 auto; padding: clamp(.35rem, 1.5vw, 1rem); overflow: hidden; border: 1px solid #e1e8e1; border-radius: 10px; background: #fff; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content figure.legacy-image > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ccm-page-id-252 .lveba-competition-sheet-legacy-content figure.legacy-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; }
@media (max-width: 600px) {
    .ccm-page-id-252 .lveba-competition-sheet-legacy-content ul { margin-bottom: .75rem; }
    .ccm-page-id-252 .lveba-competition-sheet-legacy-content li { gap: .6rem; }
    .ccm-page-id-252 .lveba-competition-sheet-legacy-content figure.legacy-image { aspect-ratio: 1 / 1; }
}

/* Give each Minutes document link a matching tap target and card height. */
.ccm-page-id-275 .legacy-area-main h3:has(> a),
.ccm-page-id-275 .legacy-area-main p:has(> a),
.ccm-page-id-310 .legacy-area-main h3:has(> a),
.ccm-page-id-310 .legacy-area-main p:has(> a) { display: flex; align-items: stretch; min-height: 3.5rem; margin: 0 !important; padding: 0 !important; }
.ccm-page-id-275 .legacy-area-main h3:has(> a) > a,
.ccm-page-id-275 .legacy-area-main p:has(> a) > a,
.ccm-page-id-310 .legacy-area-main h3:has(> a) > a,
.ccm-page-id-310 .legacy-area-main p:has(> a) > a { flex: 1 1 auto; min-height: 3.5rem; }

/* Make every Minutes document its own matching card, including the newer grouped entries. */
.ccm-page-id-275 .legacy-area-main,
.ccm-page-id-310 .legacy-area-main { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.ccm-page-id-275 .legacy-area-main > p:not(:has(> a)),
.ccm-page-id-310 .legacy-area-main > p:not(:has(> a)) { display: none !important; }
.ccm-page-id-275 .legacy-area-main > h3:has(> a),
.ccm-page-id-275 .legacy-area-main > p:has(> a),
.ccm-page-id-310 .legacy-area-main > h3:has(> a),
.ccm-page-id-310 .legacy-area-main > p:has(> a) { display: flex; align-items: stretch; min-height: 4.25rem; margin: 0 0 .6rem !important; padding: 0 !important; overflow: hidden; border: 1px solid #dce7dc; border-left: 4px solid #278f38; border-radius: 10px; background: linear-gradient(145deg, #f8fbf7, #fff 75%); box-shadow: 0 2px 8px #183b1c0b; }
.ccm-page-id-275 .legacy-area-main > h3:has(> a) > a,
.ccm-page-id-275 .legacy-area-main > p:has(> a) > a,
.ccm-page-id-310 .legacy-area-main > h3:has(> a) > a,
.ccm-page-id-310 .legacy-area-main > p:has(> a) > a { flex: 1 1 auto; min-height: 4.25rem; padding: .65rem .9rem !important; }
@media (max-width: 600px) {
    .ccm-page-id-275 .legacy-area-main > h3:has(> a),
    .ccm-page-id-275 .legacy-area-main > p:has(> a),
    .ccm-page-id-310 .legacy-area-main > h3:has(> a),
    .ccm-page-id-310 .legacy-area-main > p:has(> a) { min-height: 3.75rem; }
    .ccm-page-id-275 .legacy-area-main > h3:has(> a) > a,
    .ccm-page-id-275 .legacy-area-main > p:has(> a) > a,
    .ccm-page-id-310 .legacy-area-main > h3:has(> a) > a,
    .ccm-page-id-310 .legacy-area-main > p:has(> a) > a { min-height: 3.75rem; }
}

/* Include the legacy current-minute links, which wrap their anchors in styled spans. */
.ccm-page-id-275 .legacy-area-main h3:has(a),
.ccm-page-id-275 .legacy-area-main p:has(a),
.ccm-page-id-310 .legacy-area-main h3:has(a),
.ccm-page-id-310 .legacy-area-main p:has(a) { display: flex; align-items: stretch; min-height: 4.25rem; margin: 0 0 .6rem !important; padding: 0 !important; overflow: hidden; border: 1px solid #dce7dc; border-left: 4px solid #278f38; border-radius: 10px; background: linear-gradient(145deg, #f8fbf7, #fff 75%); box-shadow: 0 2px 8px #183b1c0b; }
.ccm-page-id-275 .legacy-area-main h3:has(a) > span:has(a),
.ccm-page-id-310 .legacy-area-main h3:has(a) > span:has(a) { display: flex; flex: 1 1 auto; align-items: stretch; width: 100%; }
.ccm-page-id-275 .legacy-area-main h3:has(a) a,
.ccm-page-id-275 .legacy-area-main p:has(a) a,
.ccm-page-id-310 .legacy-area-main h3:has(a) a,
.ccm-page-id-310 .legacy-area-main p:has(a) a { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; width: 100%; min-height: 4.25rem; padding: .65rem .9rem !important; }
.ccm-page-id-275 .legacy-area-main p:not(:has(a)),
.ccm-page-id-310 .legacy-area-main p:not(:has(a)) { display: none !important; }
@media (max-width: 600px) {
    .ccm-page-id-275 .legacy-area-main h3:has(a),
    .ccm-page-id-275 .legacy-area-main p:has(a),
    .ccm-page-id-310 .legacy-area-main h3:has(a),
    .ccm-page-id-310 .legacy-area-main p:has(a),
    .ccm-page-id-275 .legacy-area-main h3:has(a) a,
    .ccm-page-id-275 .legacy-area-main p:has(a) a,
    .ccm-page-id-310 .legacy-area-main h3:has(a) a,
    .ccm-page-id-310 .legacy-area-main p:has(a) a { min-height: 3.75rem; }
}

/* Minutes archive block: year accordions and upload-generated document rows. */
.lveba-minutes-archive { display: grid; gap: .7rem; margin: 1rem 0 1.5rem; }
.lveba-minutes-year { overflow: hidden; border: 1px solid #d6e3d7; border-left: 4px solid #278f38; border-radius: 11px; background: linear-gradient(145deg, #f8fbf7, #fff 75%); box-shadow: 0 2px 8px #183b1c0b; }
.lveba-minutes-year > summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 3.5rem; padding: .8rem 1rem; color: #175c27; font-weight: 750; cursor: pointer; list-style: none; }
.lveba-minutes-year > summary::-webkit-details-marker { display: none; }
.lveba-minutes-year > summary::after { width: .5rem; height: .5rem; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ''; transform: rotate(45deg); transition: transform .15s ease; }
.lveba-minutes-year[open] > summary::after { transform: rotate(225deg); }
.lveba-minutes-year-title { font-size: 1.02rem; }
.lveba-minutes-count { color: #627266; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.lveba-minutes-list { display: grid; gap: .45rem; margin: 0; padding: .15rem .8rem .8rem; list-style: none; }
.lveba-minutes-list li { margin: 0; padding: 0; }
.lveba-minutes-link { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 3.2rem; padding: .7rem .8rem; border: 1px solid #e2ebe3; border-radius: 8px; background: #fff; color: #175c27 !important; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.lveba-minutes-link:hover { border-color: #8fbc94; box-shadow: 0 3px 10px #183b1c12; transform: translateY(-1px); }
.lveba-minutes-link-title { min-width: 0; font-weight: 700; line-height: 1.4; }
.lveba-minutes-link-action { flex: 0 0 auto; color: #5e7063; font-size: .82rem; font-weight: 650; }
.lveba-minutes-editor-existing { max-height: 18rem; overflow: auto; padding: .8rem; border: 1px solid #dce7dc; border-radius: 8px; background: #f8fbf7; }
.lveba-minutes-editor-management { margin-top: 1rem; }
.lveba-minutes-editor-management > summary { color: #175c27; font-weight: 700; cursor: pointer; }
.lveba-minutes-editor-existing li { padding: .25rem 0; }
.lveba-minutes-editor-existing label { display: flex; align-items: baseline; gap: .45rem; font-weight: 500; }
.lveba-minutes-editor-list { display: grid; gap: .5rem; margin: .75rem 0; }
.lveba-minutes-editor-item { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(12rem, .8fr) 6rem auto; align-items: center; gap: .45rem .8rem; padding: .65rem; border: 1px solid #dce7dc; border-radius: 8px; background: #fff; }
.lveba-minutes-editor-item-title { min-width: 0; color: #24452d; font-weight: 650; }
.lveba-minutes-editor-field { min-width: 0; }
.lveba-minutes-editor-field > label { display: block; margin: 0 0 .2rem; color: #627266; font-size: .78rem; }
.lveba-minutes-editor-item select { min-width: 0; }
.lveba-minutes-editor-order { min-width: 4.5rem; }
.lveba-minutes-editor-item .lveba-minutes-editor-remove { margin: 0; white-space: nowrap; }
.lveba-minutes-editor-new-group { max-width: 32rem; margin: 1rem 0 0; }
@media (max-width: 600px) {
    .lveba-minutes-year > summary { min-height: 3.25rem; padding: .7rem .8rem; }
    .lveba-minutes-list { padding-right: .55rem; padding-left: .55rem; }
    .lveba-minutes-link { align-items: flex-start; flex-direction: column; gap: .3rem; padding: .7rem; }
    .lveba-minutes-link-action { font-size: .78rem; }
    .lveba-minutes-editor-item { grid-template-columns: 1fr; gap: .45rem; }
}


/* Accessible compact navigation on phones; links remain available if JavaScript is off. */
.lveba-menu-toggle { display: none; }
@media (max-width: 767.98px) {
    .lveba-navigation > .container { padding: .45rem; }
    .lveba-menu-toggle { display: none; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: .7rem; padding: .65rem 1rem; border: 1px solid #ffffff80; border-radius: 8px; color: #fff; background: #176c2a; font: inherit; font-weight: 700; text-align: center; cursor: pointer; }
    .lveba-menu-toggle:focus-visible, .lveba-nav-toggle:focus-visible, .lveba-navigation a:focus-visible { outline: 3px solid var(--lveba-gold); outline-offset: 2px; }
    .lveba-menu-icon { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 1.25rem; }
    .lveba-menu-icon > span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
    .lveba-nav-ready .lveba-menu-toggle { display: inline-flex; }
    .lveba-nav-ready .lveba-nav-content { display: none; }
    .lveba-nav-ready .lveba-nav-content.is-open { display: block; }
    .lveba-navigation .ccm-block-autonav > ul.nav { display: flex !important; flex-direction: column !important; align-items: stretch; gap: .2rem; padding: .35rem 0 0; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: stretch; min-width: 0; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li > a { min-height: 44px; display: flex; align-items: center; min-width: 0; overflow: hidden; padding: .65rem .75rem; text-overflow: ellipsis; white-space: normal; }
    .lveba-navigation .ccm-block-autonav > ul.nav > li > .lveba-nav-toggle { min-width: 44px; min-height: 44px; }
    .lveba-navigation .ccm-block-autonav ul ul { max-height: 55vh; overscroll-behavior: contain; }
}
@media (prefers-reduced-motion: no-preference) {
    .lveba-menu-icon > span { transition: transform .16s ease, opacity .16s ease; }
    .lveba-menu-toggle[aria-expanded="true"] .lveba-menu-icon > span:first-child { transform: translateY(6px) rotate(45deg); }
    .lveba-menu-toggle[aria-expanded="true"] .lveba-menu-icon > span:nth-child(2) { opacity: 0; }
    .lveba-menu-toggle[aria-expanded="true"] .lveba-menu-icon > span:last-child { transform: translateY(-6px) rotate(-45deg); }
}


/* Narrow-phone safeguards: constrain inline legacy dimensions without changing their proportions. */
.lveba-page-shell .lveba-imported-content img { max-width: 100% !important; }
.lveba-competition-sheet-legacy-content > ul { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding-left: 1.25rem; }
.lveba-competition-sheet-legacy-content > ul > li { min-width: 0; overflow-wrap: anywhere; }
.lveba-competition-sheet-legacy-content > ul > li > a > img { display: inline-block; width: 2.75rem !important; height: 2.75rem !important; max-width: 2.75rem !important; object-fit: contain; vertical-align: middle; }
