/*
Theme Name:   Dan Black Designs (Kadence child)
Template:     kadence
Description:  danblackdesigns.com brand layer: pen-and-ink on cream paper, after the YouTube banner and the Etsy shop
              (DanBlackDesigns/brand/SPEC.md). Colours come from the Kadence palette (var(--global-paletteN)), set in
              the database by site1-brand/dbd-setup.php: 1 red accent, 3 ink, 5 sepia, 7 deep paper, 8 paper, 9 card.
Version:      1.0.1
*/

/* paper ground with the banner's own paper texture faded in */
body { background-color: var(--global-palette8); }
.site { background: transparent; }

/* hand-lettered logo: keep it crisp and centred in the header row */
.site-branding img.custom-logo { image-rendering: auto; }

/* top strip: ink with paper text, like a newspaper masthead rule */
.site-top-header-wrap .site-header-row-container-inner { border-bottom: 3px double var(--global-palette5); }
.site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--global-palette6); }

/* headings: Playfair, ink; small sepia rule under h2 section titles */
.entry-content h2.wp-block-heading.dbd-rule::after {
  content: ""; display: block; width: 64px; height: 3px; margin: .45em auto 0; background: var(--global-palette1);
}
.entry-content .dbd-kicker { font-family: Oswald, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: var(--global-palette5); font-size: 14px; margin-bottom: .2em; }

/* home hero: the banner lockup on textured paper */
.dbd-hero { background: var(--global-palette8) url(images/dbd-paper.jpg) center/cover; border-bottom: 3px double var(--global-palette5); }
.dbd-hero img { filter: none; }

/* cards (products, how-it-works) */
.dbd-card { background: var(--global-palette9); border: 1px solid var(--global-palette6); border-radius: 6px; }
.woocommerce ul.products li.product { background: var(--global-palette9); border: 1px solid var(--global-palette6);
  border-radius: 6px; padding: 12px 12px 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: "Playfair Display", serif; font-size: 18px; line-height: 1.3; }
.woocommerce ul.products li.product .price { color: var(--global-palette3); font-weight: 600; }

/* buttons: Oswald caps, red, slightly rounded (set in Kadence too; this covers block buttons) */
.wp-block-button__link { font-family: Oswald, sans-serif; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 2px; }

/* footer: deep paper with ink text, Abe on the left */
.site-footer .footer-widget-area h2, .site-footer .footer-widget-area .widget-title { font-family: "Playfair Display", serif; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* contact form (shortcode [dbd_contact]) */
.dbd-contact { display: grid; gap: 14px; max-width: 620px; }
.dbd-contact label { display: grid; gap: 4px; font-weight: 600; }
.dbd-contact input[type=text], .dbd-contact input[type=email], .dbd-contact textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--global-palette6); border-radius: 4px; background: var(--global-palette9); font: inherit; }
.dbd-contact textarea { min-height: 160px; }
.dbd-contact .dbd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dbd-contact-note { padding: 12px 16px; border-radius: 4px; border: 1px solid var(--global-palette6); background: var(--global-palette9); }
.dbd-contact-note.ok { border-color: #2e6b3a; }
.dbd-contact-note.err { border-color: var(--global-palette1); }

/* policy pages: comfortable reading width */
.dbd-policy { max-width: 760px; margin-left: auto; margin-right: auto; }

/* 1.0.1: readable footer on deep paper; normal-case product and card titles */
.site-footer .site-middle-footer-wrap, .site-footer .site-middle-footer-wrap p, .site-footer .site-middle-footer-wrap li { color: var(--global-palette4); }
.site-footer .site-middle-footer-wrap a { color: var(--global-palette3); }
.site-footer .site-middle-footer-wrap a:hover { color: var(--global-palette1); }
.site-footer .site-middle-footer-wrap h2 { color: var(--global-palette3); font-size: 22px; text-transform: none; }
.site-footer .site-middle-footer-wrap ul { list-style: none; padding-left: 0; margin-left: 0; }
.site-footer .site-middle-footer-wrap li { margin: .25em 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .entry-content h3, .product_title { text-transform: none; }
.entry-content h2.wp-block-heading { letter-spacing: .01em; }
