/* ==========================================================================
   templates.css — styles for the PHP templates that are not header or footer
   (page.php page header, index.php archive, 404.php). Section styling always
   belongs to a block stylesheet instead.
   ========================================================================== */

.cc-pagehead {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--cc-rule);
}

.cc-pagehead h1 { margin: 0; }

/* Content of a page with no CloudCo section blocks (Legal, SMS Privacy
   Policy). The container is the point; the vertical padding mirrors
   .cc-pagehead so the text doesn't sit on the header rule or the footer. */
.cc-pagebody { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60); }

/* base.css caps a bare <p> at 68ch. On these pages everything runs the full
   container width instead, so paragraphs line up with the lists, headings
   and rules around them (Andy, 2026-10-29). Same approach as post-content.css. */
.cc-pagebody p { max-width: none; }

.cc-archive { padding-block: var(--wp--preset--spacing--60); }
.cc-archive__head { margin-bottom: var(--wp--preset--spacing--50); }

.cc-archive__item {
	padding-block: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--cc-rule);
}

.cc-archive__item h2 { margin: 0 0 0.5rem; font-size: var(--wp--preset--font-size--lg); }
.cc-archive__item h2 a { color: var(--wp--preset--color--black); text-decoration: none; }
.cc-archive__item h2 a:hover { border-bottom: 2px solid var(--wp--preset--color--blue); }
