/*
Theme Name: 3D Print Clearwater
Theme URI: https://3dprintclearwater.com
Author: GillyTech
Author URI: https://gillytech.com
Description: Sunny block theme for a local, same day 3D printing shop in Clearwater, Florida. Built for the Site Editor.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunprint
*/

/*
 * Almost everything is set in theme.json and editable in the Site Editor.
 * The rules below cover the few things with no native block control.
 */

/* "Sun offset" block style for Group: the solid yellow block behind the order form. */
.wp-block-group.is-style-sun-offset {
	box-shadow: -20px 20px 0 var(--wp--preset--color--sun);
}

@media (max-width: 781px) {
	.wp-block-group.is-style-sun-offset {
		box-shadow: -10px 10px 0 var(--wp--preset--color--sun);
	}
}

/* Rules between table rows on the pricing card, without the default cell boxes. */
.wp-block-table td,
.wp-block-table th {
	border: 0;
	border-bottom: 1px solid #d9e1e8;
	padding: 0.875rem 0;
}

.wp-block-table tr:last-child td {
	border-bottom: 0;
}

/* Menu links jump to sections on the same page. */
html {
	scroll-behavior: smooth;
}

:target {
	scroll-margin-top: 1.5rem;
}
