/*
Theme Name: Portland Poetry Confluence
Version: 1.0
Text Domain: ppc
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/*** CUSTOM STYLES ***/
p, li {
	line-height: 22px !important;
}


/* Remove H1 on Home page */
body.home h1.wp-block-post-title {
	display: none;
}

body.home main {
	margin-top: -48px !important;
}

.wp-element-button:hover {
	background-color: #294C52;
	color: #e9f5e9 !important;
}


.external-cta a {
	text-decoration: none;
}
.external-cta a:hover {
	text-decoration: underline;
}
.external-cta a:after {
	content: url('/wp-content/themes/portlandpoetryconfluence/assets/svg/outbound_arrow.svg');
	margin-left: 8px;
}

.internal-cta a {
	text-decoration: none;
}
.internal-cta a:hover {
	text-decoration: underline;
}
.internal-cta a:after {
	content: url('/wp-content/themes/portlandpoetryconfluence/assets/svg/arrow.svg');
	margin-left: 8px;
}


.forminator-custom-form label,
.forminator-label,
.forminator-checkbox-label {
	font-size: 18px !important;
	font-weight: 400 !important;
}
.forminator-button {
	background-color: #e9f5e9 !important;
	border: solid 2px #294C52 !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	padding: 10px 32px !important;
}
.forminator-button:hover {
	background-color: #294C52 !important;
	color: #e9f5e9 !important;
}

.hide-on-mobile {
	display: none;
}

/*--- MEDIA QUERIES ---*/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.hide-on-mobile {
		display: block;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	body.home main {
		margin-top: -80px !important;
	}
	
	body.home .home-intro {
		padding-top:50px;
	}

	.large-left-margin {
		padding-left: 285px !important;
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}


/*** TEMP RULES ***/
.wp-block-navigation {
	display: none !important;
}
