/*
Theme Name: Moire
Theme URI: https://themeshaper.com/moire
Author: Automattic
Author URI: https://automattic.com/
Description: Moire is a theme for sartorial storytellers — writers, editors, and thinkers who want their words to stand out with clarity and conviction. Its design is bold yet minimal, contemporary yet timeless: thick, confident sans-serif headings paired with an elegant serif body font create a striking visual rhythm that feels unmistakably editorial. Built on a clean white canvas, Moire removes noise and lets your content take center stage — whether you’re dissecting runway silhouettes, analyzing tailoring, or sharing personal style essays. Every layout is intentional, refined, and opinionated, giving your writing the same presence as a magazine spread. Moire also includes dedicated “link in bio” patterns, perfect for highlighting your latest stories, collaborations, or social channels in a streamlined, visual format. Designed for writers who value structure, tone, and visual impact, Moire turns your blog into a modern editorial destination.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moire
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

Moire WordPress Theme, (C) 2022 Automattic, Inc.
Moire 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.
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: max(0.025em) !important;
    text-underline-offset: max(0.08em, 1px);
}

/* Font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Progresive enhancement to reduce widows and orphans.
/* https://github.com/WordPress/gutenberg/issues/55190
*/
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
    text-wrap: balance; /* Safari fallback */ 
    text-wrap: pretty;
}
p {
    text-wrap: pretty;
}

/* Pull quote Block */
.wp-block-pullquote blockquote, .wp-block-pullquote p {
  text-align: left;
    color: inherit;
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 900;
}

.wp-block-pullquote p::before {
  content: "“";
}

.wp-block-pullquote p::after {
  content: "”";
}

.wp-block-pullquote cite {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
}

/* Drop cap styling */
p.has-drop-cap:not(:focus)::first-letter {
  font-weight: 800;
  color: var(--wp--preset--color--primary);
  padding-bottom: 10px;
}

/* Comments button styling */
.wp-block-button {
  font-family: var(--wp--preset--font-family--poppins);
}
