/*
 * Photographica — comments-thread legacy CSS.
 *
 * Most of the rules that used to live here became dead-on-arrival after
 * the comment-row template was rewritten as a Tailwind component
 * (_row.html). What stays here is either (a) still keying off
 * markup that lives outside the comments tree — forums use the same
 * `.comment_zone` / `.withad` / `.float_ad_unit` page-shell — or (b)
 * styles for raw DB-content prose inside `.comment_body_inside`.
 *
 * If you find yourself adding a rule for an element whose markup is
 * defined in code/templates/flat_comments/*.html, stop — put utilities
 * on the element instead.
 */

/* Forum-thread page shell (forums/forum_topic_posts.html,
 * forums/topic/view.html still emit `.comment_zone` / `.withad` /
 * `.float_ad_unit` markup). When forums get the same TT-as-component
 * pass, this section dies. */
.comment_zone,
.withad {
	clear: both;
	height: 100%;
}

.withad .float_ad_unit {
	float: left;
	width: 170px;
	margin-left: -100%;
	text-align: center;
	min-height: 600px;
}

/* DB-content prose inside each comment body. row.comment is raw HTML
 * from the user; tighten paragraph spacing and contain overflow for
 * long URLs. */
.comment_body_inside {
	overflow: hidden;
}
.comment_body_inside p {
	margin: 0 0 0.5em;
}
.comment_body_inside p:last-child {
	margin-bottom: 0;
}
