/* ESB Guides 0.1.0 */
.bbeg-teaser {
	position: relative;
	margin: 2rem 0;
	padding: 1.5rem 1.5rem 1rem;
	border: 2px solid #0b6e8a;
	border-radius: 8px;
	background: #f2f8fa;
}
.bbeg-teaser::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -5rem;
	height: 5rem;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}
.bbeg-teaser__title { margin-top: 0; }
.bbeg-teaser__login { font-weight: 600; }

.bbeg-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.bbeg-form input[type="text"],
.bbeg-form input[type="email"],
.bbeg-form input[type="tel"],
.bbeg-form select {
	width: 100%;
	box-sizing: border-box;
	padding: .55rem .65rem;
	border: 1px solid #9fb3bd;
	border-radius: 4px;
	font: inherit;
	background: #fff;
}
.bbeg-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.bbeg-form__grid p { margin: 0 0 .9rem; }
.bbeg-form fieldset { border: 1px solid #c8d6dc; border-radius: 6px; padding: .75rem 1rem; margin: 0 0 1rem; }
.bbeg-form legend { font-weight: 700; padding: 0 .35rem; }
.bbeg-form__guides label,
.bbeg-form__consent label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; margin: .35rem 0; }
.bbeg-form__guides input,
.bbeg-form__consent input { margin-top: .3rem; flex: none; }
.bbeg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.bbeg-button,
.bbeg-form button {
	display: inline-block;
	padding: .65rem 1.2rem;
	border: 0;
	border-radius: 4px;
	background: #0b6e8a;
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
}
.bbeg-button:hover,
.bbeg-form button:hover { background: #08546a; }
.bbeg-button--secondary { background: #fff; color: #0b6e8a !important; border: 2px solid #0b6e8a; }
.bbeg-button--secondary:hover { background: #e6f1f4; }

.bbeg-member-bar {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem 1rem;
	align-items: center;
	margin: 1.5rem 0;
	padding: .75rem 1rem;
	border-radius: 6px;
	background: #f2f8fa;
	font-size: .95em;
}
.bbeg-status { color: #2d5f3a; }
.bbeg-muted { color: #5a6b75; font-size: .9em; }

.bbeg-notice { padding: .7rem 1rem; border-radius: 4px; border-left: 4px solid #c88a00; background: #fff7e0; }
.bbeg-notice--ok { border-color: #2d7a46; background: #e9f6ee; }

/* Tables in guides: the theme has no borders. */
.bbeg-guide-body table,
.esb-guide table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.bbeg-guide-body th,
.bbeg-guide-body td,
.esb-guide th,
.esb-guide td { border: 1px solid #c8d6dc; padding: .5rem .65rem; text-align: left; vertical-align: top; }
.bbeg-guide-body thead th,
.bbeg-guide-body tr:first-child th { background: #e6f1f4; }

/* Printable view (Save as PDF). */
.bbeg-print { font-family: Georgia, "Times New Roman", serif; color: #111; max-width: 46rem; margin: 2rem auto; padding: 0 1rem; line-height: 1.5; }
.bbeg-print h1, .bbeg-print h2, .bbeg-print h3 { font-family: Arial, Helvetica, sans-serif; color: #0b4f63; }
.bbeg-print__brand { font-family: Arial, Helvetica, sans-serif; font-size: .85rem; color: #5a6b75; border-bottom: 2px solid #0b6e8a; padding-bottom: .4rem; }
.bbeg-print table { width: 100%; border-collapse: collapse; }
.bbeg-print th, .bbeg-print td { border: 1px solid #999; padding: .35rem .5rem; }
.bbeg-print a { color: #0b4f63; }
@media print {
	.bbeg-print { margin: 0; max-width: none; }
	.bbeg-print h2 { break-after: avoid; }
	.bbeg-print table, .bbeg-print li { break-inside: avoid; }
	.bbeg-print a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
