/*
Theme Name: Brooke.Codes
Theme URI: https://github.com/Automattic/themes/tree/trunk/block-canvas
Author: Brooke.
Author URI: https://broo.ke
Description: Theme for Brooke.Codes based on Block Canvas by Automattic
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.3
Version: 0.0.32
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: block-canvas
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks

Block Canvas WordPress Theme, (C) 2022 Automattic, Inc.
Block Canvas is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

html.theme-dark body {
	color-scheme: dark;
}

header .has-secondary-background-color,
header .has-secondary-background-color a,
header .has-secondary-background-color h1 a, 
header .has-secondary-background-color .wp-block-site-tagline,
footer .has-secondary-background-color{
	color:#222222 !important;
}

header .wp-block-navigation .wp-block-navigation__submenu-icon svg{
	stroke: #222222;
}

.has-secondary-background-color{
	border-color: var(--wp--preset--color--contrast);
}

/*
 * LazyLoad
 
 .wp-block-post  img:not(.loaded) {
	opacity: 0;
  }
  .wp-block-post img:not(.initial) {
	transition: opacity 1s;
  }
  .wp-block-post img.noscript {
	opacity: 1 !important;
  }
  .wp-block-post img.initial,
  .wp-block-postimg.loaded,
  .wp-block-post img.error,
  .wp-block-post .noscript img {
	opacity: 1;
	display: initial;
  
  }
  
  .wp-block-post img:not([src]) {
	visibility: hidden;
  }
*/
  .wp-block-post:last-of-type .wp-block-separator.has-alpha-channel-opacity.is-style-dots {
	display: none;
  }

  .more-link {
	padding-top: var(--wp--preset--spacing--20);
	display: block;
}
/**
 * Custom blockquote styles
 */

/* Base styling for all custom quote styles */
.wp-block-quote.is-style-info-notice,
.wp-block-quote.is-style-warning-notice,
.wp-block-quote.is-style-note-notice {
  border-left: none;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  font-style: normal;
  color:#222222;
  
}

/* Info Notice Style */
.wp-block-quote.is-style-info-notice {
  background-color: #f6f6f6;
  border-left: 6px solid var(--wp--preset--color--primary);
}

/* Warning Notice Style */
.wp-block-quote.is-style-warning-notice {
  background-color: #fff8e6;
  border-left: 6px solid #f0b849;
}

/* Note Notice Style */
.wp-block-quote.is-style-note-notice {
  background-color: #f6f6f6;
  border-left: 6px solid var(--wp--preset--color--contrast);
}

/* Ensure proper spacing for paragraphs inside blockquotes */
.wp-block-quote.is-style-info-notice p,
.wp-block-quote.is-style-warning-notice p,
.wp-block-quote.is-style-note-notice p {
  margin-top: 0;
  margin-bottom: 0.75em;
}

.wp-block-quote.is-style-info-notice p:last-child,
.wp-block-quote.is-style-warning-notice p:last-child,
.wp-block-quote.is-style-note-notice p:last-child {
  margin-bottom: 0;
}
