/*
Theme Name: nestscreen
Theme URI: https://nestscreen.com.au/
Description: Block theme for nest prenatal screening. Child of Twenty Twenty-Five; replaces Uncode + WPBakery.
Author: Monash IVF Group
Template: twentytwentyfive
Version: 1.1.1
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: nestscreen
*/

/* Header ------------------------------------------------------------------ */
.nest-header {
	border-bottom: 1px solid var(--wp--preset--color--light-grey);
}
.nest-header .wp-block-navigation a:hover,
.nest-header .wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--accent-1);
}

/* Buttons ----------------------------------------------------------------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid currentColor;
	padding: 14px 40px;
}
.wp-block-button.is-size-lg > .wp-block-button__link { padding: 17px 48px; }
.wp-block-button.is-size-xl > .wp-block-button__link { padding: 20px 56px; font-size: 16px; }
.wp-block-button.is-size-sm > .wp-block-button__link { padding: 10px 24px; font-size: 13px; }
.wp-block-buttons.is-stacked { flex-direction: column; align-items: stretch; gap: 10px; }
.wp-block-buttons.is-stacked .wp-block-button { width: 100%; }

/* Separator widths ------------------------------------------------------- */
.wp-block-separator.is-width-75 { width: 75%; margin-left: auto; margin-right: auto; }
.wp-block-separator { border-top-width: 1px; opacity: 1; }

/* Audience cards ------------------------------------------------------------ */
.nest-cards { gap: 0 !important; justify-content: center; }
.nest-cards > .wp-block-column {
	max-width: 500px;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.nest-cards .wp-block-heading { margin-bottom: 0.5em; }

/* Side menus -------------------------------------------------------------- */
.nest-side-menu p { margin: 0 0 2px; padding: 20px; font-size: 16px; }
.nest-side-menu a { text-decoration: none; }
.nest-side-menu i { padding-right: 20px; }

/* FAQ accordions (core/details) ------------------------------------------- */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--light-grey);
	padding: 14px 0;
	margin: 0;
}
.wp-block-details summary {
	font-size: 16px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}
.wp-block-details[open] summary { margin-bottom: 1em; }
.wp-block-details > :not(summary) { margin-top: 0; }

/* Uncode class names kept on migrated content ------------------------------ */
.footer-links a { color: var(--wp--preset--color--link-blue); font-size: 14px; text-decoration: none; }
.footer-links p { margin: 0; line-height: 2; }
.white-text { color: #fff; }
.pink-links p { line-height: 34px; }
.pink-links a { color: var(--wp--preset--color--accent-2); font-weight: 500; }
.side-menu-pro p, .side-menu-patients p { line-height: 34px; }
.side-menu-pro a { color: var(--wp--preset--color--accent-2); }
.side-menu-patients a { color: var(--wp--preset--color--link-blue); }

/* Footer ------------------------------------------------------------------ */
/* Sit the footer directly under the content (no root block gap). */
.wp-site-blocks > footer { margin-block-start: 0; }
.nest-footer a { text-decoration: none; }
.nest-footer a:hover { color: #fff; }

/* Forms (Contact Form 7) ---------------------------------------------------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--light-grey);
	background: #fff;
	font: inherit;
	color: var(--wp--preset--color--contrast);
}
.wpcf7 input[type="submit"] {
	background: transparent;
	border: 1px solid var(--wp--preset--color--light-grey);
	color: var(--wp--preset--color--contrast);
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 10px 24px;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { border-color: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--accent-1); }
.wpcf7 label { color: var(--wp--preset--color--contrast); font-size: 14px; font-weight: 600; }

/* Locator form fields match theme inputs ----------------------------------- */
.nest-locator input,
.nest-locator select { padding: 8px 12px; border: 1px solid var(--wp--preset--color--light-grey); font: inherit; }

@media (max-width: 781px) {
	.nest-cards > .wp-block-column { max-width: none; }
}

/* Responsive visibility (from Uncode "hide on desktop / tablet / mobile") -- */
@media (min-width: 960px) { .nest-hide-desktop { display: none !important; } }
@media (min-width: 570px) and (max-width: 959px) { .nest-hide-tablet { display: none !important; } }
@media (max-width: 569px) { .nest-hide-mobile { display: none !important; } }

@media (max-width: 600px) {
	h1, .wp-block-heading.has-text-align-center:is(h1) { font-size: 30px !important; }
	.wp-block-post-title { font-size: 28px !important; }
	.nest-cards > .wp-block-column { padding: 36px 24px !important; }
}

/* Side menu icons ---------------------------------------------------------
 * Replaces the Better Font Awesome plugin for the few icons the side menus use.
 * Icons: Font Awesome Free 6.5.2 by @fontawesome, https://fontawesome.com, CC BY 4.0.
 */
.fa {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: currentColor;
	background-clip: content-box;
	-webkit-mask: var(--nest-icon) left center / contain no-repeat content-box;
	mask: var(--nest-icon) left center / contain no-repeat content-box;
}
.fa-file-image-o { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm69.2 46.9c-3-4.3-7.9-6.9-13.2-6.9s-10.2 2.6-13.2 6.9l-41.3 59.7-11.9-19.1c-2.9-4.7-8.1-7.5-13.6-7.5s-10.6 2.8-13.6 7.5l-40 64c-3.1 4.9-3.2 11.1-.4 16.2s8.2 8.2 14 8.2h48 32 40 72c6 0 11.4-3.3 14.2-8.6s2.4-11.6-1-16.5l-72-104z'/%3E%3C/svg%3E"); }
.fa-file { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z'/%3E%3C/svg%3E"); }
.fa-map-marker { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/%3E%3C/svg%3E"); }
.fa-envelope-o { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z'/%3E%3C/svg%3E"); }
.fa-file-o { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z'/%3E%3C/svg%3E"); }
.fa-info-circle { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'/%3E%3C/svg%3E"); }
.fa-calendar { --nest-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z'/%3E%3C/svg%3E"); }
