/*
Theme Name: Domestic Heights
Theme URI: https://domesticheights.com/
Author: Lys
Description: Lightweight block theme for Domestic Heights: Cricut projects and free SVG templates. No page builder required.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domestic-heights
*/

/* Small layer on top of theme.json. Colors and type sizes live in theme.json. */

a { text-underline-offset: 0.15em; }

.dh-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold);
}

/* Header */
.dh-header .wp-block-navigation { font-weight: 500; }
.dh-header .wp-block-site-title a { text-decoration: none; letter-spacing: 0.06em; }

/* Pill buttons */
.wp-block-button__link { border-radius: 999px; }
.dh-button-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--plum);
	border: 1px solid var(--wp--preset--color--line);
}

/* Cards and tiles */
.dh-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
}
.dh-card .wp-block-image img,
.dh-tile img { border-radius: 0; }
.dh-tile .dh-tile-img { width: 100%; margin: 0 0 0.5rem; }
.dh-tile .dh-tile-img img { border-radius: 10px; display: block; }
.dh-tile {
	border-radius: 16px;
	overflow: hidden;
	min-height: 220px;
}
.dh-tile a { text-decoration: none; }

.wp-block-post-template .wp-block-post-featured-image img {
	border-radius: 14px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}
.wp-block-post-template .wp-block-post-title a { text-decoration: none; }

/* Quick facts box on posts */
.dh-facts { border-radius: 16px; }
.dh-facts p { margin: 0; }

/* Post layout: main column plus sidebar that stacks on small screens */
.dh-post-columns { gap: 56px; }
.dh-sidebar { position: relative; }
.dh-sidebar-card { border-radius: 18px; }

/* Featured image on single posts */
.single .wp-block-post-featured-image img { border-radius: 18px; }

/* Affiliate note */
.dh-disclosure { font-style: italic; }

/* Comments */
.wp-block-comments { border-top: 1px solid var(--wp--preset--color--line); padding-top: 2rem; }

@media (max-width: 781px) {
	.dh-hide-mobile { display: none; }
}
