/*
 * Theme Name:  Rocheport Times
 * Description: The Rocheport Times town website — city info, community, events, directory, and river conditions. Powered by the Rocheport Times Platform.
 * Version:     1.0.0
 * Requires at least: 6.5
 * Requires PHP: 8.1
 * Author:      Dandi Noble
 */

/* GAP-230 — Themed reply (comment) form on wall posts.
   The stock wp:post-comments-form chrome is relabeled in functions.php
   (comment_form_defaults / comment_form_field_comment — friendly labels, no
   "Edit your profile" / "Log out?" / "Required fields" WP chrome, and the
   .rt-auth-submit primary button). These rules give the form the same rhythm
   as the .rt-auth-form composer so replying reads as part of the community UI
   rather than a WordPress break-out. Token-based so it inherits every theme
   palette (classic/terminal/rainbow), matching the plugin's own CSS idiom.
   Scoped to body.single-wall_post so no other comment surface is affected. */
.single-wall_post .wp-block-comments {
	max-width: 680px;
}
.single-wall_post .comment-respond {
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}
.single-wall_post .comment-reply-title {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}
.single-wall_post .rt-comment-loggedin {
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
}
.single-wall_post .rt-comment-field {
	margin: 0 0 var(--wp--preset--spacing--20);
}
.single-wall_post .rt-comment-field label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.85rem;
	font-weight: 600;
}
.single-wall_post .rt-comment-textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--wp--preset--color--sand);
	border-radius: 6px;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	resize: vertical;
}
.single-wall_post .rt-comment-textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 1px;
}
.single-wall_post .comment-respond .form-submit {
	margin: 0;
}

/* GAP-240: the member dashboard now shows a 4th stat tile (classified
   listings, previously ignored) alongside topics/wall/letters. Widen the
   existing 3-column stat grid from modules/member-activity/assets/
   member-activity.css to 4 on desktop via a compound selector — higher
   specificity than the base .rt-ma__stats rule so it wins regardless of
   stylesheet load order, without editing that rule directly. */
.rt-ma__stats.rt-ma__stats--four {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 600px) {
	.rt-ma__stats.rt-ma__stats--four {
		grid-template-columns: 1fr;
	}
}
