@import "_custom-properties.css";

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/* stylelint-disable */
body,
button,
input,
select,
optgroup,
textarea {
    color: var(--global-font-color);
    font-family: var(--global-font-family);
    font-size: var(--font-size-regular);
    line-height: var(--global-font-line-height);
}

button {
    font-family: inherit;
}

/* stylelint-enable */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    margin-top: 0;
    margin-bottom: 0.75em;
    color: var(--color-link);
    line-height: 1.3;
    font-weight: 600;
    clear: both;
}

h1 {
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-h1);
}

h2 {
    font-size: 26px;
    line-height: 1.25;
    color: var(--color-h2);
}

h3 {
    font-size: 22px;
    color: var(--color-h3);
}

h4 {
    font-size: 20px;
    color: var(--color-h4);
}

h5 {
    font-size: 18px;
    color: var(--color-h5);
}

h6 {
    font-size: 16px;
    color: var(--color-h6);
}

.entry-header h1.entry-title,
.page-header .page-title {
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.75em;
}

.entry-layout .entry-header h1.entry-title,
.entry-layout .page-header .page-title {
    line-height: 1.2;
    margin-bottom: 1em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote,
q {
    quotes: "" "";
}

/* Base Blockquote Styling */
blockquote,
.wp-block-quote {
    position: relative;
    margin: 2rem 0;
    padding: 1.8rem 2rem 1.8rem 2.5rem;
    border-radius: var(--global-border-radius);
    background: var(--color-theme-white-box);
    border-left: 4px solid var(--color-quote-border);
    color: var(--global-title-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
blockquote:hover,
.wp-block-quote:hover {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Decorative Quote Icon */
blockquote::before,
.wp-block-quote::before {
    content: "“";
    font-size: 5rem;
    color: rgba(99, 102, 241, 0.15);
    font-family: Georgia, serif;
    display: block;
    height: 50px;
    line-height: 1;
}

/* Citation / Footer */
blockquote cite,
.wp-block-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-quote-citation);
    margin-top: 1em;
    position: relative;
}

@media (--content-query) {
    .entry-content>blockquote {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    blockquote,
    .wp-block-quote {
        padding: 1.2rem 1.2rem 1.2rem 1.4rem;
    }
}

address {
    margin: 0 0 1.5em;
}

/* stylelint-disable */
pre {
    background: var(--color-block-bg-subtle);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5em;
    max-width: 100%;
    overflow: auto;
    padding: 1.5em;
}

/* stylelint-enable */

code,
kbd,
tt,
var {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.875em;
    background-color: var(--color-block-bg-subtle);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

pre code,
.wp-block-code code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}