.eaf-placeholder {
	padding: 0.75rem;
	border: 1px solid #dcdcde;
	background: #fff;
	margin-bottom: 20px;
}

.eaf-free-ticket-notice {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 4px 10px !important;
	margin: 0 0 20px !important;
	padding: 14px 16px !important;
	border-left: 4px solid #2e7d32 !important;
	background: #edf7ed !important;
	color: #1d4620 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.eaf-free-ticket-notice strong {
	font-weight: 700 !important;
}

.eaf-free-ticket-notice.is-cancelled {
	border-left-color: #39736f !important;
	background: #eef7f6 !important;
	color: #234f4c !important;
}

.eaf-free-ticket-notice.is-error {
	border-left-color: #b42318 !important;
	background: #fff1f0 !important;
	color: #7a271a !important;
}

.eaf-free-ticket-attendance {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	border: 1px solid #dcdcde;
	background: #fff;
	flex-direction: column;
}

.eaf-free-ticket-attendance p,
.eaf-free-ticket-attendance form {
	margin: 0;
}

.eaf-cancel-attendance-button {
	white-space: nowrap;
}

@media (max-width: 640px) {
	.eaf-free-ticket-attendance {
		align-items: stretch;
		flex-direction: column;
	}
}

/* =========================================================
   EAF Facebook-style comments / noticeboard layout
   ========================================================= */

.eaf-event-comments,
.eaf-noticeboard,
.eaf-event-attendees {
	max-width: 100%;
}

/* Lists reset */
.eaf-comment-nodes,
.eaf-notice-list,
.eaf-notice-replies,
.eaf-fb-thread {
	list-style: none !important;
	padding: 0 !important;
	margin: 12px 0 !important;
}

.eaf-comment-item,
.eaf-notice-item,
.eaf-notice-reply-item,
.eaf-fb-item {
	list-style: none !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
}

/* Main row: avatar left, bubble right */
.eaf-comment-row,
.eaf-fb-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
	width: 100% !important;
}

/* Avatar */
.eaf-comment-avatar,
.eaf-fb-avatar {
	flex: 0 0 36px !important;
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.eaf-comment-avatar img,
.eaf-comment-avatar img.avatar,
.eaf-fb-avatar img,
.eaf-fb-avatar img.avatar {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	border-radius: 999px !important;
	display: block !important;
	object-fit: cover !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Right side */
.eaf-comment-body,
.eaf-fb-body {
	min-width: 0 !important;
	max-width: calc(100% - 44px) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

/* Bubble: name + text in same grey block */
.eaf-comment-bubble,
.eaf-notice-content,
.eaf-fb-bubble {
	display: inline-block !important;
	width: auto !important;
	max-width: 680px !important;
	min-width: 0 !important;
	background: #f0f2f5 !important;
	border: 0 !important;
	border-radius: 18px !important;
	padding: 8px 12px !important;
	margin: 0 !important;
	box-shadow: none !important;
	color: #050505 !important;
	line-height: 1.34 !important;
	vertical-align: top !important;
}

/* Author inside bubble */
.eaf-comment-author,
.eaf-fb-author {
	display: block !important;
	margin: 0 0 2px !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #050505 !important;
}

.eaf-comment-author strong,
.eaf-fb-author strong,
.eaf-comment-author a,
.eaf-fb-author a {
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #050505 !important;
	text-decoration: none !important;
}

.eaf-comment-author a:hover,
.eaf-fb-author a:hover {
	text-decoration: underline !important;
}

.eaf-comment-subject {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #050505 !important;
}

/* Comment text inside bubble */
.eaf-comment-content,
.eaf-notice-content,
.eaf-fb-text {
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	color: #050505 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.eaf-comment-content p,
.eaf-notice-content p,
.eaf-fb-text p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
}

.eaf-media-gallery,
.eaf-comment-photos {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 6px !important;
	width: min(420px, 100%) !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

.eaf-media-gallery a,
.eaf-media-gallery img,
.eaf-comment-photos a,
.eaf-comment-photos img {
	display: block !important;
	width: 100% !important;
}

.eaf-media-gallery a,
.eaf-comment-photos a {
	overflow: hidden !important;
	border-radius: 10px !important;
}

.eaf-media-gallery img,
.eaf-comment-photos img {
	aspect-ratio: 1 / 1 !important;
	border-radius: 10px !important;
	object-fit: cover !important;
	background: #dcdcde !important;
}

/* Meta below bubble: date + Reply outside grey bubble */
.eaf-comment-meta,
.eaf-fb-meta {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 3px 0 0 12px !important;
	padding: 0 !important;
	min-height: 16px !important;
	line-height: 16px !important;
}

.eaf-comment-date,
.eaf-fb-date {
	display: inline-block !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 16px !important;
	color: #65676b !important;
	opacity: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Reply / Message links */
.eaf-reply-btn,
.eaf-notice-reply-btn,
.eaf-fb-action,
.eaf-message-delete-button,
.eaf-comment-meta .button-link,
.eaf-fb-meta .button-link {
	display: inline-block !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 16px !important;
	color: #65676b !important;
	text-decoration: none !important;
	cursor: pointer !important;
	text-transform: none !important;
}

.eaf-reply-btn:hover,
.eaf-notice-reply-btn:hover,
.eaf-fb-action:hover,
.eaf-message-delete-button:hover,
.eaf-comment-meta .button-link:hover,
.eaf-fb-meta .button-link:hover {
	color: #65676b !important;
	text-decoration: underline !important;
	background: transparent !important;
}

/* Nested replies */
.eaf-comment-nodes .eaf-comment-nodes,
.eaf-notice-replies,
.eaf-fb-children {
	margin: 6px 0 0 44px !important;
	padding: 0 !important;
	border-left: 2px solid #ced0d4 !important;
	padding-left: 10px !important;
}

.eaf-fb-children > .eaf-comment-nodes,
.eaf-fb-children > .eaf-notice-replies,
.eaf-fb-children > .eaf-fb-thread {
	margin-left: 0 !important;
	padding-left: 0px !important;
	border-left: 0 !important;
}

/* Inline reply form */
.eaf-fb-inline-reply-wrap {
	margin: 6px 0 0 0 !important;
	width: 100% !important;
}

.eaf-inline-reply-form {
	margin: 6px 0 0 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 680px !important;
}

.eaf-inline-reply-form textarea {
	width: 100% !important;
	min-height: 40px !important;
	max-height: 120px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: #f0f2f5 !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: #050505 !important;
	resize: vertical !important;
	box-shadow: none !important;
	outline: none !important;
}

.eaf-inline-reply-form textarea:focus {
	background: #f0f2f5 !important;
	box-shadow: inset 0 0 0 1px #1877f2 !important;
	outline: none !important;
}

.eaf-reply-actions {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 6px 0 0 0 !important;
	padding: 0 !important;
}

/* Main comment / noticeboard forms */
.eaf-event-comment-form,
.eaf-noticeboard-form {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

.eaf-event-comment-form label,
.eaf-noticeboard-form label {
	display: block !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #050505 !important;
	margin: 0 0 8px !important;
}

.eaf-event-comment-form input[type="text"],
.eaf-event-comment-form textarea,
.eaf-noticeboard-form textarea {
	width: 100% !important;
	min-height: 96px !important;
	border: 1px solid #ccd0d5 !important;
	border-radius: 12px !important;
	background: #fff !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	color: #050505 !important;
	resize: vertical !important;
	box-shadow: none !important;
	outline: none !important;
}

.eaf-event-comment-form input[type="text"] {
	min-height: 44px !important;
	resize: none !important;
}

.eaf-event-comment-form input[type="text"]:focus,
.eaf-event-comment-form textarea:focus,
.eaf-noticeboard-form textarea:focus {
	border-color: #1877f2 !important;
	box-shadow: 0 0 0 1px #1877f2 !important;
	outline: none !important;
}

.eaf-event-comment-subject-row[hidden] {
	display: none !important;
}

.eaf-composer-toolbar {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 8px 12px !important;
	width: 100% !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

.eaf-composer-commands {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-left: auto !important;
}

.eaf-attachment-control {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	min-width: 0 !important;
}

.eaf-attachment-trigger {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #1877f2 !important;
	cursor: pointer !important;
}

.eaf-event-comment-form .eaf-attachment-trigger,
.eaf-noticeboard-form .eaf-attachment-trigger,
.eaf-message-reply-form .eaf-attachment-trigger {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #1877f2 !important;
}

.eaf-attachment-trigger:hover,
.eaf-attachment-trigger:focus-visible {
	background: #e7f3ff !important;
	outline: none !important;
}

.eaf-attachment-trigger .dashicons {
	width: 22px !important;
	height: 22px !important;
	font-size: 22px !important;
	line-height: 22px !important;
}

.eaf-attachment-status {
	max-width: 240px !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	color: #646970 !important;
}

.eaf-attachment-status.is-error {
	color: #b32d2e !important;
}

.eaf-attachment-preview {
	display: flex !important;
	flex: 1 0 100% !important;
	order: 3 !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.eaf-attachment-preview[hidden] {
	display: none !important;
}

.eaf-attachment-preview__item {
	position: relative !important;
	display: block !important;
	width: 104px !important;
	height: 78px !important;
	overflow: visible !important;
}

.eaf-attachment-preview__item img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 8px !important;
	object-fit: cover !important;
	background: #f0f2f5 !important;
}
.eaf-attachment-preview__item.has-error img {
	box-shadow: 0 0 0 2px #b32d2e !important;
	opacity: 0.7 !important;
}

.eaf-attachment-progress {
	position: absolute !important;
	right: 4px !important;
	bottom: 4px !important;
	left: 4px !important;
	display: block !important;
	height: 5px !important;
	overflow: hidden !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.75) !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) !important;
	transition: opacity 0.2s ease !important;
}

.eaf-attachment-progress__bar {
	display: block !important;
	width: 0;
	height: 100% !important;
	border-radius: inherit !important;
	background: #1877f2 !important;
	transition: width 0.15s linear !important;
}

.eaf-attachment-preview__item.is-uploaded .eaf-attachment-progress {
	opacity: 0 !important;
}

.eaf-attachment-preview__remove {
	position: absolute !important;
	top: -7px !important;
	right: -7px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	margin: 0 !important;
	padding: 0 0 2px !important;
	border: 1px solid #ccd0d5 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16) !important;
	color: #1d2327 !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

.eaf-notice-delete-form,
.eaf-comment-delete-form {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.eaf-notice-delete-btn,
.eaf-comment-delete-btn,
.eaf-message-delete-button {
	color: #b32d2e !important;
	font-weight: 700 !important;
}

.eaf-notice-delete-btn:hover,
.eaf-comment-delete-btn:hover,
.eaf-message-delete-button:hover {
	color: #b32d2e !important;
}

/* Buttons */
.eaf-event-comment-form .button,
.eaf-noticeboard-form .button,
.eaf-inline-reply-form .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 15px !important;
	/* border-radius: 8px !important; */
	padding: 0 14px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 0px !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.eaf-event-comment-form .button.button-primary,
.eaf-noticeboard-form .button.button-primary,
.eaf-inline-reply-form .button.button-primary {
	background: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #65676b !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.eaf-event-comment-form .button.button-primary:hover,
.eaf-noticeboard-form .button.button-primary:hover,
.eaf-inline-reply-form .button.button-primary:hover {
	/* background: #166fe5 !important; */
	/* border-color: #166fe5 !important; */
	/* color: #fff !important; */
	text-decoration: underline;
}

.eaf-event-comment-form .eaf-cancel-reply,
.eaf-inline-reply-form .eaf-inline-reply-cancel {
	background: #e4e6eb !important;
	border-color: #e4e6eb !important;
	color: #050505 !important;
}


.eaf-event-comment-form .eaf-cancel-reply[hidden],
.eaf-inline-reply-form .eaf-inline-reply-cancel[hidden] {
	display: none !important;
}
.eaf-event-comment-form .eaf-cancel-reply:hover,
.eaf-inline-reply-form .eaf-inline-reply-cancel:hover {
	background: #d8dadf !important;
	border-color: #d8dadf !important;
	color: #050505 !important;
	text-decoration: underline;
}

/* Noticeboard top form spacing */
.eaf-noticeboard-wrap {
	max-width: 860px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.eaf-noticeboard-wrap > h3 {
	margin: 0 0 18px !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 26px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	color: #526aa4 !important;
}

.eaf-notice-subject-row {
	margin: 0 0 10px !important;
	padding: 0 !important;
}

.eaf-notice-subject-row label {
	display: block !important;
	margin: 0 0 6px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #1d2327 !important;
}

.eaf-noticeboard-form .eaf-notice-subject-input {
	display: block !important;
	width: 100% !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 9px 14px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: #f0f2f5 !important;
	box-shadow: none !important;
	color: #050505 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

.eaf-noticeboard-form .eaf-notice-subject-input:focus {
	border: 0 !important;
	box-shadow: inset 0 0 0 1px #ccd0d5 !important;
	outline: none !important;
}

.eaf-noticeboard-form {
	margin-bottom: 18px !important;
}

.eaf-noticeboard-form textarea {
	min-height: 90px !important;
}

.eaf-noticeboard-composer {
	margin: 0 0 28px !important;
	padding: 0 !important;
}

.eaf-notice-composer-row,
.eaf-notice-inline-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
}

.eaf-notice-composer-row .eaf-comment-avatar,
.eaf-notice-composer-row .eaf-comment-avatar img,
.eaf-notice-composer-row .eaf-comment-avatar img.avatar {
	flex-basis: 40px !important;
	width: 40px !important;
	min-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
}

.eaf-notice-composer-body,
.eaf-notice-inline-body {
	position: relative !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.eaf-noticeboard-composer textarea,
.eaf-noticeboard-form-inline textarea {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: #f0f2f5 !important;
	box-shadow: none !important;
	color: #050505 !important;
	font-size: 16px !important;
	line-height: 1.35 !important;
	outline: none !important;
	resize: vertical !important;
}

.eaf-noticeboard-composer textarea {
	min-height: 92px !important;
	padding: 12px 14px !important;
}

.eaf-noticeboard-form-inline textarea {
	min-height: 42px !important;
	max-height: 120px !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
}

.eaf-noticeboard-composer textarea::placeholder,
.eaf-noticeboard-form-inline textarea::placeholder {
	color: #65676b !important;
	opacity: 1 !important;
}

.eaf-noticeboard-composer textarea:focus,
.eaf-noticeboard-form-inline textarea:focus {
	background: #f0f2f5 !important;
	box-shadow: inset 0 0 0 1px #1877f2 !important;
}

.eaf-notice-composer-actions {
	position: static !important;
	right: auto !important;
	bottom: auto !important;
	justify-content: space-between !important;
	margin: 8px 0 0 !important;
}

.eaf-notice-submit {
	min-height: 32px !important;
	border-radius: 999px !important;
	padding: 0 16px !important;
	background: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 32px !important;
}

.eaf-notice-submit:hover {
	background: #166fe5 !important;
	border-color: #166fe5 !important;
	color: #fff !important;
}

.eaf-fb-noticeboard {
	margin: 0 !important;
}

.eaf-fb-noticeboard > .eaf-notice-item {
	margin: 0 0 18px !important;
	padding: 18px !important;
	border: 1px solid #e1e4e8 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(29, 35, 39, 0.07) !important;
}

.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-body {
	flex: 1 1 auto !important;
	align-items: stretch !important;
	max-width: calc(100% - 54px) !important;
}

.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-body > .eaf-comment-bubble {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.eaf-notice-topic-subject {
	margin: 0 0 4px !important;
	padding: 0 !important;
	color: #050505 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
}

.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row .eaf-comment-author {
	margin-bottom: 12px !important;
	color: #65676b !important;
}

.eaf-fb-noticeboard > .eaf-notice-item > .eaf-fb-children {
	margin: 16px 0 0 54px !important;
	padding: 14px 0 0 !important;
	border-top: 1px solid #e4e6eb !important;
	border-left: 0 !important;
}

.eaf-fb-noticeboard .eaf-comment-row,
.eaf-fb-noticeboard .eaf-fb-row {
	gap: 10px !important;
}

.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar,
.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar img,
.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar img.avatar {
	flex-basis: 44px !important;
	width: 44px !important;
	min-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-width: 44px !important;
	max-height: 44px !important;
}

.eaf-fb-noticeboard .eaf-comment-body,
.eaf-fb-noticeboard .eaf-fb-body {
	max-width: 100% !important;
}

.eaf-fb-noticeboard .eaf-comment-bubble,
.eaf-fb-noticeboard .eaf-fb-bubble {
	max-width: 760px !important;
	border-radius: 10px !important;
	padding: 10px 14px !important;
	background: #f0f2f5 !important;
}

.eaf-fb-noticeboard .eaf-comment-author,
.eaf-fb-noticeboard .eaf-fb-author,
.eaf-fb-noticeboard .eaf-comment-author a,
.eaf-fb-noticeboard .eaf-fb-author a {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: #050505 !important;
}

.eaf-fb-noticeboard .eaf-notice-content,
.eaf-fb-noticeboard .eaf-fb-text {
	font-size: 16px !important;
	line-height: 1.35 !important;
	color: #050505 !important;
}

.eaf-fb-noticeboard .eaf-comment-meta,
.eaf-fb-noticeboard .eaf-fb-meta {
	gap: 14px !important;
	margin: 5px 0 0 0px !important;
}

.eaf-fb-noticeboard .eaf-comment-date,
.eaf-fb-noticeboard .eaf-fb-date,
.eaf-fb-noticeboard .eaf-fb-action,
.eaf-fb-noticeboard .eaf-notice-reply-btn {
	font-size: 10px !important;
	line-height: 18px !important;
	color: #65676b !important;
}

.eaf-fb-noticeboard .eaf-notice-reply-btn,
.eaf-fb-noticeboard .eaf-fb-action {
	font-weight: 700 !important;
}

.eaf-fb-noticeboard .eaf-fb-children,
.eaf-fb-noticeboard .eaf-notice-replies {
	margin: 8px 0 0 24px !important;
	padding: 0 0 0 18px !important;
	border-left: 2px solid #e2e5e9 !important;
}

.eaf-fb-noticeboard .eaf-fb-children > .eaf-notice-replies {
	margin-left: 0 !important;
	padding-left: 0 !important;
	border-left: 0 !important;
}

.eaf-fb-noticeboard .eaf-notice-reply-item {
	margin: 0 0 10px !important;
}

.eaf-fb-noticeboard .eaf-load-replies {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	min-height: 28px !important;
	margin: 2px 0 10px 42px !important;
	padding: 3px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #65676b !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.eaf-fb-noticeboard .eaf-load-replies:hover,
.eaf-fb-noticeboard .eaf-load-replies:focus-visible {
	color: #1877f2 !important;
	text-decoration: underline !important;
	outline: none !important;
}

.eaf-fb-noticeboard .eaf-load-replies.is-loading {
	cursor: wait !important;
	opacity: 0.75 !important;
}

.eaf-fb-noticeboard .eaf-load-replies.is-loading::before {
	content: "" !important;
	display: block !important;
	width: 13px !important;
	height: 13px !important;
	border: 2px solid rgba(101, 103, 107, 0.25) !important;
	border-top-color: currentColor !important;
	border-radius: 50% !important;
	animation: eaf-composer-spin 0.7s linear infinite !important;
}

.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar,
.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar img,
.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar img.avatar {
	flex-basis: 32px !important;
	width: 32px !important;
	min-width: 32px !important;
	height: 32px !important;
	min-height: 32px !important;
	max-width: 32px !important;
	max-height: 32px !important;
}

.eaf-fb-noticeboard .eaf-inline-reply-form {
	max-width: 760px !important;
	margin-top: 8px !important;
}

.eaf-fb-noticeboard .eaf-reply-actions {
	margin-top: 5px !important;
	padding-left: 0px !important;
	/* position: absolute; */
	bottom: 7px;
	right: 7px;
}

.eaf-fb-noticeboard .eaf-inline-reply-cancel {
	/* min-height: 36px !important; */
	/* border-radius: 999px !important; */
	padding: 0 !important;
	min-height: auto !important;
	display: none !important;
}

/* Attendees small cleanup */
.eaf-event-attendees h2,
.eaf-event-comments h2,
.eaf-noticeboard h2 {
	margin-bottom: 10px !important;
}

.eaf-attendee-grid {
	list-style: none !important;
	padding: 0 !important;
	margin: 10px 0 20px !important;
}

.eaf-attendee-item {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.eaf-attendee-avatar {
	width: 36px !important;
	height: 36px !important;
	border-radius: 999px !important;
	object-fit: cover !important;
}

/* Members directory */
.eaf-browse-members,
.eaf-member-messages {
	max-width: 100% !important;
}

.eaf-member-list,
.eaf-message-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 12px 0 18px !important;
}

.eaf-member-list-item,
.eaf-message-thread {
	list-style: none !important;
	margin: 0 0 10px !important;
	padding: 12px !important;
	border: 1px solid #dcdcde !important;
	border-radius: 8px !important;
	background: #fff !important;
}

.eaf-member-list-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
}

.eaf-member-card {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
	color: inherit !important;
	text-decoration: none !important;
}

.eaf-member-card:hover .eaf-member-name {
	text-decoration: underline !important;
}

.eaf-member-avatar,
.eaf-message-avatar {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	justify-content: center !important;
}

.eaf-member-avatar img,
.eaf-message-avatar img {
	display: block !important;
	border-radius: 999px !important;
	object-fit: cover !important;
	margin: 0 !important;
}

.eaf-member-avatar img {
	width: 64px !important;
	height: 64px !important;
}

.eaf-member-summary,
.eaf-message-summary {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	gap: 3px !important;
}

.eaf-member-name,
.eaf-message-subject {
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #1d2327 !important;
	overflow-wrap: anywhere !important;
}

.eaf-member-area,
.eaf-member-interests,
.eaf-message-from,
.eaf-message-excerpt,
.eaf-message-date {
	font-size: 13px !important;
	line-height: 1.35 !important;
	color: #646970 !important;
	overflow-wrap: anywhere !important;
}

.eaf-member-message-link {
	flex: 0 0 auto !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	color: #2271b1 !important;
}

.eaf-member-message-link:hover {
	text-decoration: underline !important;
}

.eaf-browse-members .eaf-member-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin: 16px 0 20px !important;
}

.eaf-browse-members .eaf-member-directory-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	gap: 16px !important;
	min-height: 238px !important;
	margin: 0 !important;
	padding: 18px !important;
	border-color: #e2e5e9 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.eaf-browse-members .eaf-member-card {
	flex: 1 1 auto !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: center !important;
	gap: 12px !important;
	text-align: center !important;
}

.eaf-browse-members .eaf-member-card:hover {
	text-decoration: none !important;
}

.eaf-browse-members .eaf-member-avatar img {
	width: 88px !important;
	height: 88px !important;
}

.eaf-browse-members .eaf-member-summary {
	align-items: center !important;
	gap: 6px !important;
}

.eaf-browse-members .eaf-member-area {
	max-width: 100% !important;
	color: #5f6672 !important;
}

.eaf-browse-members .eaf-member-area::before {
	content: "Town / area: " !important;
	font-weight: 700 !important;
	color: #1d2327 !important;
}

.eaf-browse-members .eaf-member-area-empty {
	color: #8a929e !important;
	font-style: italic !important;
}

.eaf-browse-members .eaf-member-area-empty::before {
	font-style: normal !important;
}

.eaf-browse-members .eaf-member-interests {
	max-width: 100% !important;
	color: #5f6672 !important;
}

.eaf-browse-members .eaf-member-interests strong {
	color: #1d2327 !important;
}

.eaf-browse-members .eaf-member-interests-empty span {
	color: #8a929e !important;
	font-style: italic !important;
}

.eaf-member-card-actions {
	width: 100% !important;
	margin: 0 !important;
}

.eaf-browse-members .eaf-member-message-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border-radius: 8px !important;
	background: #1877f2 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 38px !important;
	text-decoration: none !important;
}

.eaf-browse-members .eaf-member-message-link:hover {
	background: #166fe5 !important;
	color: #fff !important;
	text-decoration: none !important;
}

.eaf-member-pagination,
.eaf-message-pagination {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin: 12px 0 !important;
}

.eaf-member-pagination .page-numbers,
.eaf-message-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 32px !important;
	min-height: 32px !important;
	padding: 4px 9px !important;
	border: 1px solid #dcdcde !important;
	border-radius: 6px !important;
	background: #fff !important;
	text-decoration: none !important;
}

.eaf-member-pagination .page-numbers.current,
.eaf-message-pagination .page-numbers.current {
	background: #2271b1 !important;
	border-color: #2271b1 !important;
	color: #fff !important;
}

/* Private messages */
.eaf-message-layout {
	display: grid !important;
	grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) !important;
	min-height: 560px !important;
	border: 1px solid #dcdcde !important;
	border-radius: 8px !important;
	background: #fff !important;
	overflow: hidden !important;
}

.eaf-message-sidebar {
	min-width: 0 !important;
	border-right: 1px solid #dcdcde !important;
	background: #f8f9fa !important;
}

.eaf-message-sidebar .eaf-message-list {
	margin: 0 !important;
	padding: 0 !important;
}

.eaf-message-sidebar .eaf-message-thread {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #e5e7eb !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.eaf-message-sidebar .eaf-message-thread.is-active {
	background: #e7f1ff !important;
	box-shadow: inset 3px 0 0 #1877f2 !important;
}

.eaf-message-thread-link {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	padding: 12px !important;
	color: inherit !important;
	text-decoration: none !important;
}

.eaf-message-thread-link:hover {
	background: #eef2f7 !important;
	text-decoration: none !important;
}

.eaf-message-thread-main {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}

.eaf-message-avatar img {
	width: 48px !important;
	height: 48px !important;
}

.eaf-message-subject {
	text-decoration: none !important;
}

.eaf-message-subject:hover {
	text-decoration: underline !important;
}

.eaf-message-conversation {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	min-height: 560px !important;
	background: #fff !important;
}

.eaf-message-conversation-header {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 64px !important;
	padding: 12px 16px !important;
	border-bottom: 1px solid #dcdcde !important;
	background: #fff !important;
}

.eaf-message-delete-form {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
}

.eaf-message-conversation-member,
.eaf-message-conversation-member a {
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #1d2327 !important;
	text-decoration: none !important;
}

.eaf-message-conversation-member a:hover {
	text-decoration: underline !important;
}

.eaf-message-history {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	gap: 10px !important;
	min-height: 360px !important;
	max-height: 640px !important;
	padding: 18px 16px !important;
	overflow-y: auto !important;
	background: #fff !important;
}

.eaf-message-history-empty {
	align-items: center !important;
	justify-content: center !important;
}

.eaf-message-empty-state {
	max-width: 360px !important;
	padding: 14px 18px !important;
	border-radius: 18px !important;
	background: #f0f2f5 !important;
	color: #65676b !important;
	text-align: center !important;
}

.eaf-message-empty-state p {
	margin: 0 !important;
	color: inherit !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

.eaf-chat-message {
	display: flex !important;
	align-items: flex-end !important;
	gap: 8px !important;
	width: 100% !important;
}

.eaf-chat-message.is-own {
	justify-content: flex-end !important;
}

.eaf-chat-message.is-other {
	justify-content: flex-start !important;
}

.eaf-chat-avatar {
	display: inline-flex !important;
	flex: 0 0 32px !important;
	width: 32px !important;
	height: 32px !important;
}

.eaf-chat-avatar img {
	width: 32px !important;
	height: 32px !important;
	border-radius: 999px !important;
	object-fit: cover !important;
}

.eaf-chat-message-stack {
	display: flex !important;
	flex-direction: column !important;
	max-width: min(680px, 74%) !important;
	min-width: 0 !important;
}

.eaf-chat-message.is-own .eaf-chat-message-stack {
	align-items: flex-end !important;
}

.eaf-chat-message.is-other .eaf-chat-message-stack {
	align-items: flex-start !important;
}

.eaf-chat-bubble {
	width: auto !important;
	max-width: 100% !important;
	padding: 9px 12px !important;
	border-radius: 18px !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	overflow-wrap: anywhere !important;
}

.eaf-chat-message.is-own .eaf-chat-bubble {
	background: #1877f2 !important;
	color: #fff !important;
	border-bottom-right-radius: 5px !important;
}

.eaf-chat-message.is-other .eaf-chat-bubble {
	background: #f0f2f5 !important;
	color: #050505 !important;
	border-bottom-left-radius: 5px !important;
}

.eaf-chat-bubble p {
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.eaf-chat-bubble .eaf-media-gallery {
	width: min(320px, 100%) !important;
	margin-top: 8px !important;
}

.eaf-chat-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin-top: 4px !important;
	font-size: 11px !important;
	line-height: 1.25 !important;
	color: #646970 !important;
}

.eaf-chat-message.is-own .eaf-chat-meta {
	justify-content: flex-end !important;
	text-align: right !important;
}

.eaf-chat-sender {
	font-weight: 700 !important;
}

.eaf-message-reply-form {
	margin: 12px 0 0 60px !important;
	padding: 0 !important;
}

.eaf-message-conversation .eaf-message-reply-form {
	margin: 0 !important;
	padding: 12px 16px 16px !important;
	border-top: 1px solid #dcdcde !important;
	background: #fff !important;
}

.eaf-message-reply-form label {
	display: block !important;
	margin: 0 0 6px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #1d2327 !important;
}

.eaf-message-reply-form textarea {
	width: 100% !important;
	min-height: 76px !important;
	margin: 0 0 8px !important;
	border: 1px solid #ccd0d5 !important;
	border-radius: 8px !important;
	background: #fff !important;
	padding: 9px 11px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	resize: vertical !important;
}

.eaf-message-conversation .eaf-message-reply-form textarea {
	min-height: 48px !important;
	border-radius: 10px !important;
	background: #f0f2f5 !important;
	resize: vertical !important;
}

.eaf-message-reply-form textarea:focus {
	border-color: #2271b1 !important;
	box-shadow: 0 0 0 1px #2271b1 !important;
	outline: none !important;
}

.eaf-message-reply-form .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	border-radius: 8px !important;
	padding: 0 14px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.eaf-message-reply-form .button.button-primary {
	background: #2271b1 !important;
	border-color: #2271b1 !important;
	color: #fff !important;
}

.eaf-message-composer-actions {
	margin-top: 0 !important;
}

.eaf-member-profile-meta {
	margin: 6px 0 0 !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	color: #646970 !important;
}

.eaf-member-profile-area-label,
.eaf-member-profile-interests-label {
	font-weight: 700 !important;
	color: #1d2327 !important;
}

.eaf-registration-fields,
.eaf-account-fields {
	margin: 16px 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.eaf-registration-fields legend,
.eaf-account-fields legend {
	margin: 0 0 10px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #1d2327 !important;
}

.eaf-account-photo-preview {
	margin: 0 0 12px !important;
}

.eaf-account-photo-preview img {
	display: block !important;
	width: 96px !important;
	height: 96px !important;
	border-radius: 999px !important;
	object-fit: cover !important;
}

.eaf-account-photo-status {
	display: block !important;
	min-height: 20px !important;
	margin-top: 8px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.eaf-account-photo-status.is-uploading {
	color: #646970 !important;
}

.eaf-account-photo-status.is-success {
	color: #16803c !important;
}

.eaf-account-photo-status.is-error {
	color: #b32d2e !important;
}

.eaf-registration-terms {
	margin: 16px 0 !important;
}

.eaf-account-subscription-gate {
	max-width: 980px !important;
	margin: 24px auto !important;
	padding: 28px !important;
	border: 1px solid #dfe3e8 !important;
	border-radius: 8px !important;
	background: #fff !important;
}

.eaf-account-subscription-gate__intro {
	max-width: 720px !important;
	margin: 0 0 24px !important;
}

.eaf-account-subscription-gate__intro h2 {
	margin: 0 0 8px !important;
}

.eaf-subscription-product-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
	gap: 16px !important;
	margin: 20px 0 !important;
}

.eaf-subscription-product {
	padding: 20px !important;
	border: 1px solid #dfe3e8 !important;
	border-radius: 8px !important;
	background: #fff !important;
}

.eaf-subscription-product h3 {
	margin: 0 0 8px !important;
	font-size: 18px !important;
}

.eaf-subscription-product__price {
	margin: 0 0 12px !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #1d2327 !important;
}

.eaf-account-subscription-gate__logout {
	margin: 20px 0 0 !important;
}

/* Unified Facebook-style message composers. */
.eaf-composer-shell {
	width: 100% !important;
	margin: 0 !important;
	padding: 6px 8px 7px !important;
	border: 0 !important;
	border-radius: 18px !important;
	background: #f0f2f5 !important;
	box-shadow: none !important;
}

.eaf-composer-shell:focus-within {
	box-shadow: inset 0 0 0 1px #ccd0d5 !important;
}

.eaf-event-comment-form .eaf-composer-shell textarea.eaf-autogrow-textarea,
.eaf-noticeboard-form .eaf-composer-shell textarea.eaf-autogrow-textarea,
.eaf-message-reply-form .eaf-composer-shell textarea.eaf-autogrow-textarea {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 34px !important;
	max-height: 240px !important;
	margin: 0 !important;
	padding: 7px 6px 3px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: #050505 !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	resize: none !important;
	overflow-x: hidden !important;
	overflow-y: hidden;
}

.eaf-event-comment-form .eaf-composer-shell textarea.eaf-autogrow-textarea:focus,
.eaf-noticeboard-form .eaf-composer-shell textarea.eaf-autogrow-textarea:focus,
.eaf-message-reply-form .eaf-composer-shell textarea.eaf-autogrow-textarea:focus {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.eaf-composer-shell textarea.eaf-autogrow-textarea::placeholder {
	color: #65676b !important;
	opacity: 1 !important;
}

.eaf-composer-shell .eaf-composer-toolbar {
	min-height: 34px !important;
	margin: 0 !important;
	padding: 1px 1px 0 !important;
}

.eaf-composer-icon {
	display: block !important;
	width: 21px !important;
	height: 21px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.eaf-composer-shell .eaf-attachment-trigger,
.eaf-icon-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #65676b !important;
	cursor: pointer !important;
}

.eaf-composer-shell .eaf-attachment-trigger:hover,
.eaf-composer-shell .eaf-attachment-trigger:focus-visible,
.eaf-icon-button:hover,
.eaf-icon-button:focus-visible {
	background: #e4e6eb !important;
	box-shadow: none !important;
	outline: none !important;
}

.eaf-send-button,
.eaf-event-comment-form .eaf-send-button,
.eaf-noticeboard-form .eaf-send-button,
.eaf-message-reply-form .eaf-send-button {
	color: #1877f2 !important;
}

.eaf-send-button .eaf-composer-icon {
	width: 23px !important;
	height: 23px !important;
}
.eaf-noticeboard-form .eaf-send-button:disabled {
	pointer-events: none !important;
	cursor: wait !important;
	opacity: 0.55 !important;
}

.eaf-noticeboard-form .eaf-send-button.is-loading .eaf-composer-icon {
	display: none !important;
}

.eaf-noticeboard-form .eaf-send-button.is-loading::after {
	content: "" !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	border: 2px solid rgba(24, 119, 242, 0.25) !important;
	border-top-color: #1877f2 !important;
	border-radius: 50% !important;
	animation: eaf-composer-spin 0.7s linear infinite !important;
}

@keyframes eaf-composer-spin {
	to {
		transform: rotate(360deg);
	}
}

.eaf-cancel-button {
	color: #65676b !important;
}

.eaf-icon-button[hidden] {
	display: none !important;
}

.eaf-message-composer-actions,
.eaf-notice-composer-actions,
.eaf-event-comment-actions,
.eaf-reply-actions {
	position: static !important;
	margin: 0 !important;
}

@media (max-width: 900px) {
	.eaf-browse-members .eaf-member-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.eaf-browse-members .eaf-member-card-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Keep the guest login form at its natural content height on mobile. */
.woocommerce #customer_login {
	align-items: flex-start !important;
}

.woocommerce #customer_login .u-column1,
.woocommerce #customer_login .u-column1 form.woocommerce-form-login {
	height: auto !important;
	min-height: 0 !important;
}

.woocommerce #customer_login .u-column1 {
	align-self: flex-start !important;
}

/* Mobile */
@media (max-width: 600px) {
	.eaf-comment-bubble,
	.eaf-fb-bubble {
		max-width: calc(100vw - 90px) !important;
	}

	.eaf-comment-nodes .eaf-comment-nodes,
	.eaf-notice-replies,
	.eaf-fb-children {
		margin-left: 24px !important;
		padding-left: 8px !important;
	}

	.eaf-comment-avatar,
	.eaf-fb-avatar,
	.eaf-comment-avatar img,
	.eaf-comment-avatar img.avatar,
	.eaf-fb-avatar img,
	.eaf-fb-avatar img.avatar {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
		max-width: 32px !important;
		max-height: 32px !important;
	}

	.eaf-comment-body,
	.eaf-fb-body {
		max-width: calc(100% - 40px) !important;
	}

	.eaf-member-list-item {
		align-items: flex-start !important;
		flex-direction: column !important;
	}

	.eaf-member-message-link {
		margin-left: 76px !important;
	}

	.eaf-browse-members .eaf-member-list-item {
		align-items: stretch !important;
	}

	.eaf-browse-members .eaf-member-message-link {
		margin-left: 0 !important;
	}

	.eaf-message-reply-form {
		margin-left: 0 !important;
	}

	.eaf-message-layout {
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
	}

	.eaf-message-sidebar {
		border-right: 0 !important;
		border-bottom: 1px solid #dcdcde !important;
	}

	.eaf-message-conversation {
		min-height: 0 !important;
	}

	.eaf-message-history {
		max-height: none !important;
		min-height: 260px !important;
	}

	.eaf-chat-message-stack {
		max-width: 84% !important;
	}
}

/* Inline edit forms for own posts/comments (event discussion + noticeboard). */
.eaf-edit-form[hidden],
.eaf-comment-bubble[hidden],
.eaf-chat-bubble[hidden] {
	display: none !important;
}

.eaf-edit-form {
	margin: 6px 0 0 0 !important;
	width: 100% !important;
	max-width: 680px !important;
}

.eaf-edit-form .eaf-notice-subject-row {
	margin: 0 0 6px 0 !important;
}

/* Responsive conversation layouts: Noticeboard, Event Discussion and PM. */
@media (max-width: 767px) {
	.eaf-noticeboard-wrap,
	.eaf-event-comments,
	.eaf-member-messages,
	.eaf-message-layout,
	.eaf-message-conversation {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.eaf-fb-noticeboard > .eaf-notice-item {
		padding: 12px !important;
		overflow: hidden !important;
	}

	.eaf-event-comments .eaf-comment-row,
	.eaf-event-comments .eaf-fb-row,
	.eaf-fb-noticeboard .eaf-comment-row,
	.eaf-fb-noticeboard .eaf-fb-row {
		gap: 7px !important;
		min-width: 0 !important;
	}

	.eaf-event-comments .eaf-comment-avatar,
	.eaf-event-comments .eaf-fb-avatar,
	.eaf-event-comments .eaf-comment-avatar img,
	.eaf-event-comments .eaf-comment-avatar img.avatar,
	.eaf-event-comments .eaf-fb-avatar img,
	.eaf-event-comments .eaf-fb-avatar img.avatar,
	.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar,
	.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar img,
	.eaf-fb-noticeboard .eaf-notice-reply-item .eaf-comment-avatar img.avatar {
		flex: 0 0 30px !important;
		width: 30px !important;
		min-width: 30px !important;
		max-width: 30px !important;
		height: 30px !important;
		min-height: 30px !important;
		max-height: 30px !important;
	}

	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar,
	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar img,
	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-avatar img.avatar {
		flex: 0 0 36px !important;
		width: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		max-height: 36px !important;
	}

	.eaf-event-comments .eaf-comment-body,
	.eaf-event-comments .eaf-fb-body,
	.eaf-fb-noticeboard .eaf-comment-body,
	.eaf-fb-noticeboard .eaf-fb-body,
	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-body {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: calc(100% - 37px) !important;
	}

	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-comment-row > .eaf-comment-body {
		max-width: calc(100% - 43px) !important;
	}

	.eaf-event-comments .eaf-comment-bubble,
	.eaf-event-comments .eaf-fb-bubble,
	.eaf-fb-noticeboard .eaf-comment-bubble,
	.eaf-fb-noticeboard .eaf-fb-bubble {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.eaf-comment-content,
	.eaf-notice-content,
	.eaf-fb-text,
	.eaf-notice-topic-subject,
	.eaf-chat-bubble {
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
	}

	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-fb-children,
	.eaf-event-comments .eaf-fb-children {
		margin: 12px 0 0 8px !important;
		padding: 0 0 0 8px !important;
		border-left: 1px solid #d8dadd !important;
	}

	.eaf-fb-noticeboard > .eaf-notice-item > .eaf-fb-children {
		padding-top: 12px !important;
		border-top: 1px solid #e4e6eb !important;
	}

	.eaf-fb-noticeboard .eaf-fb-children > .eaf-notice-replies,
	.eaf-event-comments .eaf-fb-children > .eaf-comment-nodes {
		margin-left: 0 !important;
		padding-left: 0 !important;
		border-left: 0 !important;
	}

	.eaf-fb-noticeboard .eaf-notice-replies .eaf-notice-replies,
	.eaf-event-comments .eaf-fb-children .eaf-fb-children {
		margin: 7px 0 0 !important;
		padding: 0 !important;
		border-left: 0 !important;
	}

	.eaf-event-comments .eaf-comment-meta,
	.eaf-event-comments .eaf-fb-meta,
	.eaf-fb-noticeboard .eaf-comment-meta,
	.eaf-fb-noticeboard .eaf-fb-meta {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 3px 10px !important;
		width: 100% !important;
		margin: 4px 0 0 !important;
		line-height: 16px !important;
	}

	.eaf-event-comments .eaf-comment-date,
	.eaf-event-comments .eaf-fb-date,
	.eaf-fb-noticeboard .eaf-comment-date,
	.eaf-fb-noticeboard .eaf-fb-date,
	.eaf-event-comments .eaf-fb-action,
	.eaf-fb-noticeboard .eaf-fb-action,
	.eaf-fb-noticeboard .eaf-notice-reply-btn {
		white-space: nowrap !important;
	}

	.eaf-fb-noticeboard .eaf-load-replies {
		max-width: 100% !important;
		margin-left: 0 !important;
		white-space: normal !important;
		text-align: left !important;
	}

	.eaf-event-comments .eaf-inline-reply-form,
	.eaf-fb-noticeboard .eaf-inline-reply-form,
	.eaf-event-comments .eaf-edit-form,
	.eaf-fb-noticeboard .eaf-edit-form,
	.eaf-event-comments .eaf-composer-shell,
	.eaf-fb-noticeboard .eaf-composer-shell {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.eaf-message-layout {
		display: flex !important;
		flex-direction: column !important;
		min-height: 0 !important;
	}

	.eaf-message-sidebar {
		width: 100% !important;
		max-height: 240px !important;
		overflow-y: auto !important;
		border-right: 0 !important;
		border-bottom: 1px solid #dcdcde !important;
	}

	.eaf-message-thread-link,
	.eaf-message-thread-main {
		min-width: 0 !important;
	}

	.eaf-message-conversation {
		min-height: 0 !important;
	}

	.eaf-message-conversation-header {
		flex-wrap: wrap !important;
		padding: 10px 12px !important;
	}

	.eaf-message-conversation-member {
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
	}

	.eaf-message-history {
		min-height: 260px !important;
		max-height: none !important;
		padding: 12px 8px !important;
		overflow-y: visible !important;
	}

	.eaf-chat-message {
		min-width: 0 !important;
	}

	.eaf-chat-message.is-other .eaf-chat-message-stack {
		max-width: calc(100% - 40px) !important;
	}

	.eaf-chat-message.is-own .eaf-chat-message-stack {
		max-width: 88% !important;
	}

	.eaf-message-conversation .eaf-message-reply-form {
		margin: 0 !important;
		padding: 8px !important;
	}

	.eaf-message-reply-form .eaf-composer-shell {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}
}

/* Event Discussion uses .eaf-comment-list inside .eaf-event-comments-wrap. */
@media (max-width: 767px) {
	.eaf-event-comments-wrap,
	.eaf-comment-list,
	.eaf-comment-list .eaf-comment-nodes,
	.eaf-comment-list .eaf-fb-thread {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.eaf-comment-list {
		overflow: hidden !important;
	}

	.eaf-comment-list .eaf-comment-row,
	.eaf-comment-list .eaf-fb-row {
		gap: 7px !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	.eaf-comment-list .eaf-comment-avatar,
	.eaf-comment-list .eaf-fb-avatar,
	.eaf-comment-list .eaf-comment-avatar img,
	.eaf-comment-list .eaf-comment-avatar img.avatar,
	.eaf-comment-list .eaf-fb-avatar img,
	.eaf-comment-list .eaf-fb-avatar img.avatar {
		flex: 0 0 30px !important;
		width: 30px !important;
		min-width: 30px !important;
		max-width: 30px !important;
		height: 30px !important;
		min-height: 30px !important;
		max-height: 30px !important;
	}

	.eaf-comment-list .eaf-comment-body,
	.eaf-comment-list .eaf-fb-body {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: calc(100% - 37px) !important;
	}

	.eaf-comment-list .eaf-comment-bubble,
	.eaf-comment-list .eaf-fb-bubble {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.eaf-comment-list .eaf-comment-content,
	.eaf-comment-list .eaf-fb-text {
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
	}

	.eaf-comment-list .eaf-fb-children {
		margin: 9px 0 0 8px !important;
		padding: 0 0 0 8px !important;
		border-left: 1px solid #d8dadd !important;
	}

	.eaf-comment-list .eaf-fb-children > .eaf-comment-nodes {
		margin-left: 0 !important;
		padding-left: 0 !important;
		border-left: 0 !important;
	}

	.eaf-comment-list .eaf-fb-children .eaf-fb-children {
		margin: 7px 0 0 !important;
		padding: 0 !important;
		border-left: 0 !important;
	}

	.eaf-comment-list .eaf-comment-meta,
	.eaf-comment-list .eaf-fb-meta {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 3px 10px !important;
		width: 100% !important;
		margin: 4px 0 0 !important;
		line-height: 16px !important;
	}

	.eaf-comment-list .eaf-comment-date,
	.eaf-comment-list .eaf-fb-date,
	.eaf-comment-list .eaf-fb-action,
	.eaf-comment-list .eaf-comment-delete-form {
		white-space: nowrap !important;
	}

	.eaf-event-comments-wrap .eaf-event-comment-form,
	.eaf-event-comments-wrap .eaf-edit-form,
	.eaf-event-comments-wrap .eaf-composer-shell {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}
}
