/*
Theme Name: HarvardSites
Theme URI: https://github.com/harvard-web-publishing/hwp_criver
Author: Harvard Web Publishing
Author URI: https://hwp.harvard.edu/
Description: Child theme of Timber 2.x Starter Theme
Template: timber-starter-theme
Version: 1.6.0
License: UNLICENSED
Tags: timber, twig, design system, components, harvard
Text Domain: hwp_criver
*/

/* Override blockGap setting (theme.json) on the front end of the site. */
:where(body .is-layout-constrained) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* This style is absent from hwp-goldin due to tree shaking. */
@media (min-width: 1024px) {
	.lg\:hwp-pb-64 {
		padding-bottom: 4rem;
	}
}

.password-form .hwp-form-item {
	margin-bottom: 1.25rem;
}

.password-form .hwp-form-item label {
	margin-bottom: 0.25rem;
	display: block;
	font-size: 1rem;
	font-weight: 600;
}

.password-form .form-actions {
	margin-top: 1.25rem;
}

.password-form .form-actions .form-submit {
	width: 100%;
	max-width: none;
}

/* Align the core image block properly. */
.wp-block-image figcaption {
	font-size: 0.875rem;
}
.wp-block-image.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}
.wp-block-image.aligncenter {
	margin-left: auto;
	margin-right: auto;
}
.wp-block-image.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}

/* Simulate the padding from the Excerpt and Body fields on the post page,
   which we do not include in WordPress. */
.hwp-news-header {
	/* 2rem padding and 1rem margin. */
	margin-bottom: 3rem;
}
.hwp-news-header__authors {
	padding-bottom: 2rem;
}
