@font-face {
    font-family: 'Lucida Unicode Calligraphy';
    src: url('../fonts/subset-LucidaUnicodeCalligraphy-Bold.woff2') format('woff2'),
        url('../fonts/subset-LucidaUnicodeCalligraphy-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* montserrat-regular - latin_latin-ext */
@font-face {
    font-display: swap;

    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2');

    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-italic - latin_latin-ext */
@font-face {
    font-display: swap;

    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v31-latin_latin-ext-italic.woff2') format('woff2');

    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin_latin-ext */
@font-face {
    font-display: swap;

    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2');

    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600italic - latin_latin-ext */
@font-face {
    font-display: swap;

    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/montserrat-v31-latin_latin-ext-600italic.woff2') format('woff2');

    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ========================================
   Default WordPress Gutenberg Blocks Styling
   Works with WordPress 6.0+ (2024–2025)
   ======================================== */
/* Global block spacing */
.wp-block {
    max-width: 800px;

    /* Matches most themes' content width */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Wide and Full-width alignment */
.wp-block.alignwide {
    max-width: 1200px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.wp-block.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
}

/* Paragraphs */
.wp-block-paragraph {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5em;
}

.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
    font-size: 5em;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    float: left;
    font-weight: 800;
}

/* Headings */
.wp-block-heading,
h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading,
h6.wp-block-heading {
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 700;
}

h1.wp-block-heading {
    font-size: 2.8rem;
}

h2.wp-block-heading {
    font-size: 2.3rem;
}

h3.wp-block-heading {
    font-size: 1.9rem;
}

h4.wp-block-heading {
    font-size: 1.6rem;
}

h5.wp-block-heading {
    font-size: 1.4rem;
}

h6.wp-block-heading {
    font-size: 1.2rem;
}

/* Lists */
.wp-block-list {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.wp-block-list li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.wp-block-list.is-style-circle,
.wp-block-list.is-style-disc {
    list-style-type: disc;
}

.wp-block-list.is-style-square {
    list-style-type: square;
}

/* Quote & Pullquote */
.wp-block-quote {
    border-left: 6px solid #c41e3a;
    padding: 1.5em 2em;
    margin: 2em 0;

    /* font-size: 1.3em */
    font-style: italic;
    background: #f9f9f9;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    font-size: 1.6em;
    padding: 2em;
    border-left-width: 8px;
}

.wp-block-pullquote {
    padding: 2em 0;
    text-align: center;
    border-top: 4px solid #333;
    border-bottom: 4px solid #333;
}

.wp-block-pullquote blockquote {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

/* Code */
.wp-block-code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 1.5em;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

/* Preformatted */
.wp-block-preformatted {
    background: #222;
    color: #fff;
    padding: 1.5em;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre;
    font-size: 0.95em;
}

/* Table */
.wp-block-table {
    margin: 2em 0;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.05);
}

.wp-block-table td,
.wp-block-table th {
    padding: 0.8em;
    border: 1px solid #ddd;
    text-align: left;
}

/* Separator */
.wp-block-separator {
    margin: 3em auto;
}

.wp-block-separator.is-style-dots {
    height: auto;
    border: none;
    font-size: 2em;
    letter-spacing: 0.5em;
}

/* Buttons */
.wp-block-button {
    margin: 1.5em 0;
}

.wp-block-button__link {
    border-radius: 6px;
    padding: 0.8em 1.8em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid currentColor;
}

/* Image & Figure */
.wp-block-image {
    margin: 2em 0;
}

.wp-block-image figcaption {
    font-size: 0.9em;
    text-align: center;
    margin-top: 0.5em;
    color: #555;
    font-style: italic;
}

/* Gallery */
.wp-block-gallery {
    gap: 1.5em;
    margin: 2em 0;
}

.wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 0.9em;
    margin-top: 0.5em;
    text-align: center;
}

/* Columns */
.wp-block-columns {
    gap: 3em;
    margin: 3em 0;
}

@media (max-width: 782px) {
    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* Cover */
.wp-block-cover {
    border-radius: 8px;
    overflow: hidden;
}

.wp-block-cover .wp-block-cover__inner-container {
    padding: 4em 2em;
}

/* Media & Text */
.wp-block-media-text {
    margin: 3em 0;
}

.wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 1fr;
}

/* Latest Posts */
.wp-block-latest-posts {
    padding-left: 0;
}

.wp-block-latest-posts li {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

/* Social Links */
.wp-block-social-links {
    gap: 0.8em;
}

.wp-block-social-links .wp-social-link {
    padding: 0.5em;
}

.wp-block-social-links .wp-social-link a {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s;
}

.wp-block-social-links .wp-social-link a:hover {
    transform: scale(1.15);
}

/* File block */
.wp-block-file {
    background: #f8f9fa;
    padding: 1.5em;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1em;
}

.wp-block-file a.wp-block-file__button {
    background: #0066cc;
    color: #fff;
    padding: 0.7em 1.4em;
    border-radius: 4px;
    text-decoration: none;
}

/* Responsive embeds */
.wp-block-embed iframe {
    max-width: 100%;
}

/* Remove default margin from last block in content */
.entry-content > *:last-child {
    margin-bottom: 0;
}

/* Optional: Dark mode support (if your theme supports it) */
@media (prefers-color-scheme: dark) {
    .wp-block-quote {
        /* background: #333 */
        /* border-color: #555 */
        /* color: #eee */
    }

    .wp-block-code {
        background: #333;
        border-color: #555;
        color: #eee;
    }

    .wp-block-preformatted {
        background: #111;
    }

    .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
        background: rgba(255,255,255,0.05);
    }
}

cite::before {
    content: "— ";
}

cite {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

/* ========================================
   Responsive Embeds – All WordPress oEmbed & iframe content
   YouTube, Vimeo, Spotify, Twitter/X, TikTok, Instagram, etc.
   ======================================== */
/* 1. Core responsive embed wrapper (used by WordPress automatically) */
.wp-block-embed .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    /* 16:9 ratio – default for most videos */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: 2.5em 0;
}

/* Force iframe/video to fill the wrapper perfectly */
.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper video,
.wp-block-embed__wrapper embed,
.wp-block-embed__wrapper object,
.wp-block-embed__wrapper .twitter-tweet,
.wp-block-embed__wrapper .instagram-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* Optional: nicer caption under embeds */
.wp-block-embed figcaption {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.8em;
    font-style: italic;
    padding: 0 1em;
}

/* Specific aspect ratios (override when needed via custom classes) */
/* Square (1:1) – e.g. Instagram, some TikToks */
.wp-block-embed.is-type-square .wp-block-embed__wrapper {
    padding-bottom: 100%;
}

/* Vertical / Portrait (9:16) – common for TikTok, Instagram Reels, YouTube Shorts */
.wp-block-embed.is-type-vertical .wp-block-embed__wrapper {
    padding-bottom: 177.78%;

    /* 9:16 */
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Classic 4:3 (old videos) */
.wp-block-embed.is-type-4by3 .wp-block-embed__wrapper {
    padding-bottom: 75%;
}

/* Spotify, SoundCloud – keep their native green/dark style but round corners */
.wp-block-embed.is-type-audio .wp-block-embed__wrapper,
.wp-block-embed.is-type-rich .wp-block-embed__wrapper {
    padding-bottom: 52%;

    /* Spotify default */
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Remove extra margin on full-width or wide embeds */
.wp-block-embed.alignwide .wp-block-embed__wrapper,
.wp-block-embed.alignfull .wp-block-embed__wrapper {
    border-radius: 12px;
}

/* Hover effect (subtle lift) */
.wp-block-embed .wp-block-embed__wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .wp-block-embed figcaption {
        color: #aaa;
    }

    .wp-block-embed .wp-block-embed__wrapper {
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }
}

/* =============================================
   BEST & SIMPLEST UNIVERSAL alignwide / alignfull
   Works inside .post, .entry-content, .content, etc.
   No JavaScript • No negative margins • No calc hell
   ============================================= */
/* 1. Make the post container the reference point */
.post,
.entry-content,
.content,
.site-main {
    position: relative;

    /* This is the magic line */
}

/* 2. ALIGNWIDE → truly wide but not full-screen */
.alignwide {
    max-width: 1200px;

    /* Change to your liking */
    width: 100vw;

    /* Stretches to viewport */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 3. ALIGNFULL → real edge-to-edge */
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Optional: nicer spacing and rounded corners */
.alignwide,
.alignfull {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Mobile fallback – never break on small screens */
@media (max-width: 782px) {
    .alignwide,
    .alignfull {
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Custom CSS */
body {
    background-image: url('../images/star_bg.jpg');
    background-attachment: fixed;
    background-size: cover;

    /* background-size: 300px; */
    background-color: #f2f2ee;
}

body :where(.editor-styles-wrapper) {
    background-image: none;
}

.post_content {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.menu {
    position: fixed;
    right: 5px;
    top: 0;
    z-index: 1500;
}

.menu img {
    width: 45px;
    height: auto;
}

.admin-bar .menu {
    top: 32px;
}

footer p {
    margin-bottom: 0;
}

.wp-block-buttons {
    margin-bottom: 23px;
}

footer > .container {
    max-width: 48rem;
    padding: 0;
}

footer {
}