/**
 * Himinote final brand layer
 *
 * Loaded after the base stylesheet and WordPress Global Styles
 * The focused selectors and important declarations protect the required
 * brand tokens from stale database styles and plugin defaults
 */

html:root {
	--wp--preset--color--ink: #2c292a !important;
	--wp--preset--color--main-pink: #a95670 !important;
	--wp--preset--color--pale-pink: #f9eef1 !important;
	--wp--preset--color--border: #e9dde1 !important;
	--wp--preset--color--white: #ffffff !important;
}

body.himinote-theme,
body.himinote-theme .site,
.editor-styles-wrapper {
	--color-ink: #2c292a !important;
	--color-pink: #a95670 !important;
	--color-pink-dark: #2c292a !important;
	--color-pink-pale: #f9eef1 !important;
	--color-pink-soft: #f9eef1 !important;
	--color-border: #e9dde1 !important;
	--color-white: #ffffff !important;
	background-color: #ffffff !important;
	color: #2c292a !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
}

body.himinote-theme :where( p, li, dt, dd, address ),
.editor-styles-wrapper :where( p, li, dt, dd, address ) {
	color: inherit;
}

body.himinote-theme :where( h1, h2, h3, h4, h5, h6 ),
.editor-styles-wrapper :where( h1, h2, h3, h4, h5, h6 ) {
	color: #2c292a !important;
}

body.himinote-theme a,
.editor-styles-wrapper a {
	color: #a95670;
}

body.himinote-theme a:hover,
body.himinote-theme a:focus-visible,
.editor-styles-wrapper a:hover,
.editor-styles-wrapper a:focus-visible {
	color: #2c292a;
}

body.himinote-theme :where( .site-title, .site-title a, .footer-title, .footer-title a, .post-card__title a, .post-navigation a, .site-navigation a, .footer-navigation a, .widget a ) {
	color: #2c292a !important;
}

body.himinote-theme :where( .site-navigation a, .footer-navigation a, .widget a, .post-card__title a, .post-navigation a ):hover,
body.himinote-theme :where( .site-navigation a, .footer-navigation a, .widget a, .post-card__title a, .post-navigation a ):focus-visible {
	color: #a95670 !important;
}

body.himinote-theme .site-navigation :where( .current-menu-item, .current_page_item ) > a {
	color: #a95670 !important;
}

body.himinote-theme :where( .site-header, .site-navigation .sub-menu, .post-card, .search-field, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], textarea, select, .age-notice__badge, .category-chips small, .pr-badge ) {
	background-color: #ffffff !important;
}

body.himinote-theme :where( .age-notice, .section-block--tinted, .category-chips a, .category-label, .post-card__media, .post-card__placeholder, .widget, .site-footer, .wp-block-group.is-style-note-box, .himinote-notice-box ) {
	background-color: #f9eef1 !important;
}

body.himinote-theme :where( .site-header, .age-notice, .section-block--tinted, .post-card, .category-chips a, .category-label, .widget, .site-footer, .search-field, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], textarea, select, .wp-block-group.is-style-note-box, .himinote-notice-box ) {
	border-color: #e9dde1 !important;
}

body.himinote-theme .front-hero {
	background: radial-gradient( circle at 84% 22%, rgba( 169, 86, 112, 0.13 ), transparent 29% ), linear-gradient( 150deg, #ffffff 28%, #f9eef1 100% ) !important;
	border-color: #e9dde1 !important;
}

body.himinote-theme .archive-header,
body.himinote-theme .error-main {
	background: linear-gradient( 155deg, #f9eef1, #ffffff ) !important;
	border-color: #e9dde1 !important;
}

body.himinote-theme :where( .button, .wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"] ),
.editor-styles-wrapper :where( .wp-element-button, .wp-block-button__link, .wp-block-search__button ) {
	background-color: #a95670 !important;
	background-image: none !important;
	color: #ffffff !important;
	border-color: #a95670 !important;
	border-radius: 999px !important;
}

body.himinote-theme :where( .button, .wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"] ):hover,
body.himinote-theme :where( .button, .wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"] ):focus-visible,
.editor-styles-wrapper :where( .wp-element-button, .wp-block-button__link, .wp-block-search__button ):hover {
	background-color: #2c292a !important;
	color: #ffffff !important;
	border-color: #2c292a !important;
}

body.himinote-theme .button--quiet {
	background-color: transparent !important;
	color: #a95670 !important;
	border-color: #e9dde1 !important;
}

body.himinote-theme .button--quiet:hover,
body.himinote-theme .button--quiet:focus-visible {
	background-color: #f9eef1 !important;
	color: #2c292a !important;
	border-color: #a95670 !important;
}

body.himinote-theme :where( .category-label, .section-kicker, .text-link, .age-notice__badge ) {
	color: #a95670 !important;
}

body.himinote-theme :where( .entry-content, .entry-content p, .entry-content li, .page-article, .single-article, .post-card__title, .archive-title, .entry-title ) {
	color: #2c292a !important;
}

body.himinote-theme :where( .entry-content, .entry-taxonomy, .comment-content, .archive-description ) a:not( .wp-element-button ):not( .wp-block-button__link ) {
	color: #a95670 !important;
}

body.himinote-theme :where( .entry-content, .entry-taxonomy, .comment-content, .archive-description ) a:not( .wp-element-button ):not( .wp-block-button__link ):hover,
body.himinote-theme :where( .entry-content, .entry-taxonomy, .comment-content, .archive-description ) a:not( .wp-element-button ):not( .wp-block-button__link ):focus-visible {
	color: #2c292a !important;
}

body.himinote-theme .entry-content > h2::before,
body.himinote-theme .front-hero__note::before {
	background-color: #a95670 !important;
}

body.himinote-theme :where( .entry-content > h3, .entry-footer, .post-navigation, .comments-area, .page-entry-header, .site-footer__bottom ) {
	border-color: #e9dde1 !important;
}

body.himinote-theme :where( .has-ink-color ) {
	color: #2c292a !important;
}

body.himinote-theme :where( .has-main-pink-color ) {
	color: #a95670 !important;
}

body.himinote-theme :where( .has-main-pink-background-color ) {
	background-color: #a95670 !important;
}

body.himinote-theme :where( .has-pale-pink-background-color ) {
	background-color: #f9eef1 !important;
}

body.himinote-theme :where( .has-white-background-color ) {
	background-color: #ffffff !important;
}

body.himinote-theme :where( .has-border-color ) {
	color: #e9dde1 !important;
}

body.himinote-theme :where( .has-border-background-color ) {
	background-color: #e9dde1 !important;
}
