/* Borotet News & Events */
.bne-grid { --bne-maroon: #81031b; --bne-gold: #ffd863; --bne-ink: #140609; --bne-text: #3A3A3A;
	display: grid; grid-template-columns: repeat(var(--bne-cols, 3), minmax(0, 1fr)); gap: 24px; font-family: inherit; position: relative; }
/* Keep hidden accessibility text inside its card (stops phone sideways scrolling). */
.bne-more { position: relative; }
.bne-grid .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.bne-cols-1 { --bne-cols: 1; } .bne-cols-2 { --bne-cols: 2; } .bne-cols-3 { --bne-cols: 3; } .bne-cols-4 { --bne-cols: 4; }
.bne-grid *, .bne-grid *::before, .bne-grid *::after { box-sizing: border-box; }

.bne-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 12px 32px rgba(20, 6, 9, .07); transition: transform .25s ease, box-shadow .25s ease; }
.bne-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 6, 9, .12); }

.bne-thumb-wrap { position: relative; }
.bne-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e1d8; }
.bne-thumb .bne-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bne-card:hover .bne-img { transform: scale(1.04); }
.bne-fallback { display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--bne-maroon), var(--bne-ink)); color: rgba(255, 216, 99, .9);
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }

.bne-badge { position: absolute; left: 16px; top: 16px; background: var(--bne-gold); color: var(--bne-maroon); border-radius: 12px;
	padding: 8px 12px; text-align: center; line-height: 1.05; min-width: 62px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.bne-badge span { display: block; }
.bne-d { font-size: 26px; font-weight: 700; } .bne-m { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bne-y { font-size: 11px; opacity: .8; }

.bne-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.bne-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--bne-maroon); text-transform: uppercase; }
.bne-grid .bne-title { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 600; }
.bne-grid .bne-title a { color: var(--bne-ink); text-decoration: none; }
.bne-grid .bne-title a:hover { color: var(--bne-maroon); }
.bne-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bne-text); }
.bne-facts { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--bne-maroon); font-weight: 500; display: grid; gap: 2px; }
.bne-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--bne-maroon); text-decoration: none; }
.bne-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.bne-more:hover svg { transform: translateX(3px); }

.bne-btn { display: inline-block; background: #81031b; color: #fff; padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid #81031b; }
.bne-btn:hover { background: #5c0213; color: #fff; }
.bne-btn-outline { background: transparent; color: #81031b; }
.bne-btn-outline:hover { background: #81031b; color: #fff; }
.bne-pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px; font-size: 14px; color: #6B6B6B; }
.bne-note { margin: 0 0 20px; font-size: 15px; color: #6B6B6B; }
.bne-empty { background: #fff; border: 1px dashed #d9cdbf; border-radius: 16px; padding: 32px; text-align: center; color: #3A3A3A; }
.bne-empty p { margin: 0 0 14px; }
.bne-empty p:last-child { margin: 0; }

.bne-event-box { background: #FAF6F1; border-left: 4px solid #ffd863; border-radius: 10px; padding: 20px 24px; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.bne-event-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bne-event-box strong { display: inline-block; min-width: 64px; color: #81031b; }

.bne-ctrl { display: none; }

@media (max-width: 1024px) { .bne-cols-3, .bne-cols-4 { --bne-cols: 2; } }

@media (max-width: 767px) {
	.bne-grid { --bne-cols: 1; }
	.bne-slider { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; gap: 16px; padding: 4px 2px 18px; overscroll-behavior-x: contain; }
	.bne-slider::-webkit-scrollbar { display: none; }
	.bne-slider > .bne-card { flex: 0 0 100%; scroll-snap-align: start; }
	.bne-slider > .bne-card:hover { transform: none; }
	.bne-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
	.bne-ctrl button { -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; }
	.bne-arrow { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: #81031b; color: #fff; display: grid; place-items: center; }
	.bne-arrow:disabled { opacity: .35; cursor: default; }
	.bne-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
	.bne-dots { display: flex; gap: 8px; }
	.bne-dotbtn { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(129, 3, 27, .25); transition: width .25s, background-color .25s; }
	.bne-dotbtn[aria-current="true"] { width: 26px; background: #81031b; }
	.bne-ctrl :focus-visible { outline: 3px solid #ffd863; outline-offset: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	.bne-card, .bne-img, .bne-more svg { transition: none; }
	.bne-slider { scroll-behavior: auto; }
}
