/* ==========================================================
   NATASHA'S NATURE ✦
   Pink + Rhinestone Theme
   CLEAN CONSOLIDATED VERSION
   ========================================================== */


/* ==========================================================
   1. COLOR PALETTE
   ========================================================== */

:root {
    --natasha-pink: #fff4f8;
    --natasha-pink-light: #fff9fb;
    --natasha-blush: #f8dce7;
    --natasha-blush-dark: #efbfd0;
    --natasha-cream: #fffaf7;

    --natasha-rose: #bb577c;
    --natasha-rose-light: #d77d9d;
    --natasha-deep-rose: #713d53;

    --natasha-gold: #d8ad67;
    --natasha-gold-light: #f0d69e;

    --natasha-text: #493740;
}


/* ==========================================================
   2. GLOBAL PAGE
   ========================================================== */

html,
body {
    background-color: var(--natasha-pink);
}

body {
    color: var(--natasha-text);

    font-family:
        "Iowan Old Style",
        "Palatino Linotype",
        Palatino,
        Georgia,
        serif;

    line-height: 1.7;
    letter-spacing: 0.005em;

    position: relative;
    isolation: isolate;
}

.wp-site-blocks {
    background: transparent;
}

header,
main,
footer,
.wp-site-blocks {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   3. STATIC GLITTER BACKGROUND
   ========================================================== */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: -1;

    background-image:
        radial-gradient(
            circle,
            rgba(216, 173, 103, 0.38) 0 1px,
            transparent 1.8px
        ),
        radial-gradient(
            circle,
            rgba(187, 87, 124, 0.18) 0 1px,
            transparent 1.8px
        ),
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.90) 0 1.2px,
            transparent 2px
        );

    background-size:
        105px 105px,
        145px 145px,
        190px 190px;

    background-position:
        10px 20px,
        65px 85px,
        130px 40px;
}


/* ==========================================================
   4. ANIMATED TWINKLES
   ========================================================== */

body::after {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: 9999;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95) 0 1px,
            transparent 2.5px
        ),
        radial-gradient(
            circle,
            rgba(240, 214, 158, 0.90) 0 1.4px,
            transparent 2.8px
        ),
        radial-gradient(
            circle,
            rgba(248, 220, 231, 0.95) 0 1.2px,
            transparent 2.6px
        );

    background-size:
        90px 110px,
        155px 145px,
        210px 180px;

    background-position:
        10px 20px,
        60px 80px,
        120px 40px;

    opacity: 0.25;

    animation:
        natasha-background-twinkle
        4.5s
        ease-in-out
        infinite alternate;
}

@keyframes natasha-background-twinkle {
    0% {
        opacity: 0.12;
        filter: brightness(1);
    }

    30% {
        opacity: 0.22;
        filter: brightness(1.15);
    }

    55% {
        opacity: 0.42;
        filter: brightness(1.45);
    }

    72% {
        opacity: 0.20;
        filter: brightness(1.1);
    }

    100% {
        opacity: 0.35;
        filter: brightness(1.35);
    }
}


/* ==========================================================
   5. SITE TITLE + TAGLINE
   ========================================================== */

.wp-block-site-title,
.wp-block-site-title a {
    font-family:
        Didot,
        "Bodoni 72",
        "Bodoni MT",
        Georgia,
        serif;

    font-weight: 500;
    letter-spacing: 0.035em;

    color: var(--natasha-deep-rose);

    text-decoration: none;
}

.wp-block-site-title a:hover {
    color: var(--natasha-rose);

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(216, 173, 103, 0.35);
}

.wp-block-site-tagline {
    font-family:
        "Iowan Old Style",
        Baskerville,
        Georgia,
        serif;

    color: var(--natasha-rose);

    font-size: 0.95rem;
    font-style: italic;

    letter-spacing: 0.08em;
    line-height: 1.4;
}


/* ==========================================================
   6. HEADER SPACING
   ========================================================== */

header {
    padding-top: 1.2rem;
    padding-bottom: 1.5rem;
}

header .wp-block-navigation {
    margin-top: 1rem;
}


/* ==========================================================
   7. HEADINGS
   ========================================================== */

h1 {
    color: var(--natasha-deep-rose);
}

h2,
h3,
h4,
h5,
h6 {
    color: var(--natasha-rose);
}

main h1,
main h2 {
    font-family:
        Didot,
        "Bodoni 72",
        "Bodoni MT",
        Georgia,
        serif;

    font-weight: 500;
}

main h1 {
    position: relative;
    display: inline-block;

    line-height: 1.1;
    letter-spacing: 0.025em;

    margin-bottom: 0.45em;

    text-shadow:
        0 2px 12px rgba(113, 61, 83, 0.06);

    animation:
        natasha-title-arrival
        1.8s
        ease-out
        1;
}

main h2 {
    line-height: 1.2;
    letter-spacing: 0.025em;

    margin-top: 2.1em;
    margin-bottom: 0.7em;
}

main h3 {
    font-family:
        "Iowan Old Style",
        Baskerville,
        Georgia,
        serif;

    font-weight: 600;
    letter-spacing: 0.02em;

    margin-top: 1.8em;
}


/* ==========================================================
   8. H1 ENTRANCE + RHINESTONES
   ========================================================== */

@keyframes natasha-title-arrival {
    0% {
        opacity: 0;
        transform: translateY(4px);
        text-shadow: none;
    }

    45% {
        opacity: 1;

        text-shadow:
            0 0 3px rgba(255, 255, 255, 1),
            0 0 8px rgba(240, 214, 158, 0.8),
            0 0 16px rgba(187, 87, 124, 0.25);
    }

    100% {
        opacity: 1;
        transform: translateY(0);

        text-shadow:
            0 2px 12px rgba(113, 61, 83, 0.06);
    }
}

main h1::before,
main h1::after {
    content: "✦";

    position: absolute;

    animation:
        natasha-star-twinkle
        ease-in-out
        infinite;
}

main h1::before {
    left: -34px;
    top: -13px;

    color: var(--natasha-gold);
    font-size: 20px;

    animation-duration: 2.8s;
}

main h1::after {
    right: -30px;
    top: 5px;

    color: var(--natasha-blush-dark);
    font-size: 15px;

    animation-duration: 3.5s;
    animation-delay: 0.8s;
}

@keyframes natasha-star-twinkle {
    0%,
    100% {
        opacity: 0.18;
        transform: scale(0.55) rotate(0deg);
        text-shadow: none;
    }

    35% {
        opacity: 0.4;
        transform: scale(0.8) rotate(8deg);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.35)
            rotate(22deg);

        text-shadow:
            0 0 4px rgba(255, 255, 255, 1),
            0 0 9px rgba(240, 214, 158, 0.9),
            0 0 16px rgba(216, 173, 103, 0.65),
            0 0 22px rgba(187, 87, 124, 0.25);
    }

    68% {
        opacity: 0.42;
        transform: scale(0.72) rotate(30deg);
    }
}


/* ==========================================================
   9. H2 SPARKLES
   ========================================================== */

main h2::after {
    content: " ✦";

    display: inline-block;

    color: var(--natasha-gold);

    font-size: 0.50em;
    vertical-align: super;

    animation:
        natasha-heading-sparkle
        4s
        ease-in-out
        infinite;
}

@keyframes natasha-heading-sparkle {
    0%,
    80%,
    100% {
        opacity: 0.55;
        transform: scale(0.85);
    }

    90% {
        opacity: 1;
        transform: scale(1.2);

        text-shadow:
            0 0 8px rgba(216, 173, 103, 0.55);
    }
}


/* ==========================================================
   10. RHINESTONE NAVIGATION
   ========================================================== */

header .wp-block-navigation,
header .wp-block-navigation__container {
    gap: 10px;
}

header .wp-block-navigation-item a,
header .wp-block-navigation-item__content,
header nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 15px;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.035em;

    color: var(--natasha-deep-rose) !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 250, 247, 0.92),
            rgba(248, 220, 231, 0.80)
        );

    border:
        1px solid
        rgba(216, 173, 103, 0.45);

    border-radius: 999px;

    box-shadow:
        0 3px 10px rgba(113, 61, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}


/* No underline on nav pills */

header .wp-block-navigation-item a::after,
header nav a::after {
    content: none !important;
}


/* Tiny hover rhinestone */

header .wp-block-navigation-item a::before,
header nav a::before {
    content: "✦";

    position: absolute;

    right: -4px;
    top: -7px;

    color: var(--natasha-gold);

    font-size: 8px;
    opacity: 0;

    transform:
        scale(0.4)
        rotate(0deg);

    pointer-events: none;
}

header .wp-block-navigation-item a:hover,
header .wp-block-navigation-item__content:hover,
header nav a:hover {
    color: var(--natasha-rose) !important;

    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 220, 231, 0.96)
        );

    border-color:
        rgba(216, 173, 103, 0.80);

    box-shadow:
        0 6px 16px rgba(113, 61, 83, 0.13),
        0 0 12px rgba(216, 173, 103, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

header .wp-block-navigation-item a:hover::before,
header nav a:hover::before {
    opacity: 1;

    animation:
        natasha-menu-rhinestone
        0.8s
        ease-out;
}

@keyframes natasha-menu-rhinestone {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }

    45% {
        opacity: 1;

        transform:
            scale(1.6)
            rotate(20deg);

        text-shadow:
            0 0 4px rgba(255, 255, 255, 1),
            0 0 8px rgba(240, 214, 158, 0.95),
            0 0 13px rgba(216, 173, 103, 0.7);
    }

    100% {
        opacity: 0.8;

        transform:
            scale(1)
            rotate(30deg);

        text-shadow:
            0 0 5px rgba(216, 173, 103, 0.35);
    }
}


/* Current page */

header .current-menu-item a,
header a[aria-current="page"] {
    background:
        linear-gradient(
            135deg,
            var(--natasha-rose),
            #a94b70
        );

    color: white !important;

    border-color:
        rgba(216, 173, 103, 0.70);

    box-shadow:
        0 4px 12px rgba(113, 61, 83, 0.18),
        0 0 10px rgba(216, 173, 103, 0.12);
}


/* Keyboard focus */

header .wp-block-navigation-item a:focus,
header nav a:focus {
    outline:
        2px solid
        rgba(216, 173, 103, 0.60);

    outline-offset: 3px;
}


/* ==========================================================
   11. BODY TEXT + LINKS
   ========================================================== */

main p {
    line-height: 1.75;

    margin-top: 0;
    margin-bottom: 1.25em;
}

main p,
main ul,
main ol,
main blockquote {
    max-width: 760px;
}

main a:not(.wp-block-button__link) {
    color: var(--natasha-rose);

    text-decoration-color:
        rgba(187, 87, 124, 0.40);

    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

main a:not(.wp-block-button__link):hover {
    color: var(--natasha-deep-rose);

    text-shadow:
        0 0 8px rgba(216, 173, 103, 0.20);
}


/* ==========================================================
   12. GLOBAL PHOTOS
   ========================================================== */

main figure {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

main img {
    max-width: 100%;

    border:
        3px solid
        rgba(248, 220, 231, 0.95);

    outline:
        1px solid
        rgba(216, 173, 103, 0.42);

    outline-offset: 4px;

    box-shadow:
        0 10px 30px rgba(113, 61, 83, 0.11);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

main img:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 36px rgba(113, 61, 83, 0.17),
        0 0 22px rgba(216, 173, 103, 0.13);
}


/* ==========================================================
   13. BUTTONS
   ========================================================== */

.wp-block-button__link {
    padding: 0.75em 1.5em;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--natasha-rose),
            #a94b70
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.40);

    border-radius: 999px;

    box-shadow:
        0 5px 15px rgba(113, 61, 83, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);

    box-shadow:
        0 8px 22px rgba(113, 61, 83, 0.24),
        0 0 12px rgba(240, 214, 158, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wp-block-button__link:active {
    transform:
        translateY(0)
        scale(0.98);
}


/* ==========================================================
   14. RHINESTONE SEPARATORS
   ========================================================== */

.wp-block-separator {
    position: relative;
    overflow: visible;

    width: 120px;
    height: 1px;

    margin:
        3rem auto !important;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 173, 103, 0.85),
            transparent
        );
}

.wp-block-separator::after {
    content: "✦";

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    padding: 0 9px;

    color: var(--natasha-gold);
    background: var(--natasha-pink);

    font-size: 13px;

    animation:
        natasha-divider-sparkle
        4.7s
        ease-in-out
        infinite;
}

@keyframes natasha-divider-sparkle {
    0%,
    75%,
    100% {
        opacity: 0.65;
        text-shadow: none;
    }

    86% {
        opacity: 1;

        text-shadow:
            0 0 5px rgba(255, 255, 255, 1),
            0 0 12px rgba(216, 173, 103, 0.65);
    }
}


/* ==========================================================
   15. BLOCK QUOTES + TABLES
   ========================================================== */

blockquote,
.wp-block-quote {
    padding: 0.8rem 1.2rem;

    color: var(--natasha-deep-rose);

    background:
        rgba(255, 250, 247, 0.45);

    border-left:
        3px solid
        var(--natasha-blush-dark);
}

main li::marker {
    color: var(--natasha-rose);
}

main table {
    border-color: var(--natasha-blush);
}

main th {
    color: var(--natasha-deep-rose);

    background:
        rgba(248, 220, 231, 0.45);
}


/* ==========================================================
   16. HOMEPAGE
   ========================================================== */

body.home main {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

body.home main h1 {
    font-size:
        clamp(2.6rem, 6vw, 4.8rem);

    margin-bottom: 1.2rem;
}

body.home main p {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;
}


/* Optional cream intro panel:
   Give a Group block the class: homepage-intro */

.homepage-intro {
    position: relative;

    max-width: 820px;

    margin:
        1.5rem auto
        3rem auto;

    padding:
        2rem 2.4rem;

    background:
        linear-gradient(
            145deg,
            rgba(255, 253, 250, 0.92),
            rgba(255, 247, 250, 0.86)
        );

    border:
        1px solid
        rgba(216, 173, 103, 0.28);

    border-radius: 22px;

    box-shadow:
        0 10px 32px
        rgba(113, 61, 83, 0.08);

    backdrop-filter: blur(4px);
}

.homepage-intro::before {
    content: "✦";

    position: absolute;

    top: 14px;
    right: 18px;

    color: var(--natasha-gold);

    font-size: 11px;
    opacity: 0.75;

    animation:
        natasha-intro-rhinestone
        5s
        ease-in-out
        infinite;
}

@keyframes natasha-intro-rhinestone {
    0%,
    78%,
    100% {
        opacity: 0.55;
        transform: scale(0.8);
        text-shadow: none;
    }

    88% {
        opacity: 1;

        transform:
            scale(1.35)
            rotate(15deg);

        text-shadow:
            0 0 5px rgba(255, 255, 255, 1),
            0 0 11px rgba(216, 173, 103, 0.65);
    }
}

.homepage-intro p {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


/* Optional UC Merced paragraph class:
   academic-affiliation */

.academic-affiliation {
    margin-top: 1.5rem !important;

    color:
        rgba(113, 61, 83, 0.82);

    font-size: 0.93rem;
    font-style: italic;

    letter-spacing: 0.015em;
}

.academic-affiliation::before {
    content: "✦";

    display: block;

    margin-bottom: 0.7rem;

    color: var(--natasha-gold);

    font-size: 9px;
    font-style: normal;
}

body.home main figure {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}

body.home figcaption {
    margin-top: 0.8rem;

    color:
        rgba(113, 61, 83, 0.70);

    font-size: 0.85rem;
    font-style: italic;

    text-align: center;
}


/* ==========================================================
   17. PHILOSOPHOTOS — PAGE 2149
   ========================================================== */

body.page-id-2149 main {
    padding-bottom: 4rem;
}


/* Page title */

body.page-id-2149 main h1 {
    text-align: center;
}


/* ----------------------------------------------------------
   "THERE AND BACK AGAIN" INTRO

   The original WordPress block is still coded as two
   50% columns. This forces it into one centered vertical
   stack without needing to rewrite the block markup.
   ---------------------------------------------------------- */

body.page-id-2149 main .wp-block-columns:first-of-type {
    display: block !important;

    width: calc(100% - 48px) !important;
    max-width: 780px !important;

    margin:
        1rem auto
        2rem auto !important;

    padding: 0 !important;

    box-sizing: border-box;

    text-align: center !important;

    overflow: visible;
}

body.page-id-2149 main
.wp-block-columns:first-of-type
> .wp-block-column {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    flex:
        none !important;

    flex-basis:
        auto !important;

    margin:
        0 auto !important;

    padding:
        0 !important;

    box-sizing:
        border-box;
}


/* There and Back Again */

body.page-id-2149 main
.wp-block-columns:first-of-type h2 {
    position: static !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin:
        0 auto
        1rem auto !important;

    padding:
        0 !important;

    transform:
        none !important;

    left:
        auto !important;

    right:
        auto !important;

    text-align:
        center !important;

    overflow-wrap:
        normal;

    font-size:
        clamp(2rem, 4vw, 3.2rem);

    line-height:
        1.15;
}


/* Intro paragraph */

body.page-id-2149 main
.wp-block-columns:first-of-type p {
    width: 100% !important;
    max-width: 630px !important;

    margin:
        0 auto !important;

    padding:
        0 !important;

    color:
        rgba(73, 55, 64, 0.82);

    text-align:
        center !important;

    line-height:
        1.7;
}


/* Reduce WordPress spacer blocks on this page */

body.page-id-2149 main .wp-block-spacer {
    height: 28px !important;
    max-height: 28px !important;
}


/* ----------------------------------------------------------
   PHILOSOPHOTOS GALLERY
   ---------------------------------------------------------- */

body.page-id-2149 .wp-block-gallery {
    width: calc(100% - 48px);
    max-width: 1100px;

    margin:
        1.5rem auto
        3rem auto;

    gap:
        18px !important;
}


/* Remove the heavier global frames here */

body.page-id-2149 main .wp-block-gallery img,
body.page-id-2149 main .wp-block-image img {
    max-width: 100%;

    border:
        none !important;

    outline:
        none !important;

    border-radius:
        8px;

    box-shadow:
        0 6px 20px
        rgba(113, 61, 83, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

body.page-id-2149 main .wp-block-gallery img:hover,
body.page-id-2149 main .wp-block-image img:hover {
    transform:
        translateY(-4px)
        scale(1.008);

    filter:
        brightness(1.02);

    box-shadow:
        0 13px 30px rgba(113, 61, 83, 0.16),
        0 0 14px rgba(216, 173, 103, 0.10);
}


/* Standalone photos, if any remain */

body.page-id-2149 main .wp-block-image {
    max-width: 1100px;

    margin:
        2rem auto
        2.5rem auto;

    text-align: center;
}


/* Captions */

body.page-id-2149 figcaption {
    margin-top: 0.7rem;

    color:
        rgba(113, 61, 83, 0.68);

    font-size: 0.8rem;
    font-style: italic;

    text-align: center;
}


/* ==========================================================
   18. OPTIONAL PHOTO SECTION TITLE
   Class: photo-section-title
   ========================================================== */

.photo-section-title {
    margin-top:
        4rem !important;

    margin-bottom:
        2rem !important;

    text-align: center;

    font-family:
        Didot,
        "Bodoni 72",
        "Bodoni MT",
        Georgia,
        serif;

    color: var(--natasha-rose);
}

.photo-section-title::after {
    content: "✦ · ✧ · ✦";

    display: block;

    margin-top: 0.6rem;

    color: var(--natasha-gold);

    font-size: 0.55em;
    letter-spacing: 0.4em;
}


/* ==========================================================
   19. SMALL OPTIONAL UTILITY CLASSES
   ========================================================== */

.champagne-text {
    color: var(--natasha-deep-rose);

    text-shadow:
        0 0 12px
        rgba(216, 173, 103, 0.16);
}

.little-sparkle::after {
    content: " ✦";
    color: var(--natasha-gold);
}


/* ==========================================================
   20. FOOTER
   ========================================================== */

footer {
    margin-top: 4rem;

    padding-top: 2.5rem;
    padding-bottom: 2rem;

    color:
        rgba(73, 55, 64, 0.75);

    border-top:
        1px solid
        rgba(216, 173, 103, 0.25);

    text-align: center;
}

footer::before {
    content:
        "✦ · ✧ · ✦";

    display: block;

    margin-bottom: 1.4rem;

    color: var(--natasha-gold);

    font-size: 0.8rem;
    letter-spacing: 0.35em;
}

footer p {
    color:
        rgba(73, 55, 64, 0.65);

    font-size: 0.82rem;
    letter-spacing: 0.025em;
}

footer a {
    color: var(--natasha-rose);
}


/* ==========================================================
   21. TEXT SELECTION
   ========================================================== */

::selection {
    color: var(--natasha-deep-rose);
    background: var(--natasha-blush);
}


/* ==========================================================
   22. MOBILE
   ========================================================== */

@media (max-width: 700px) {

    body {
        line-height: 1.65;
    }

    body::after {
        opacity: 0.18;
    }

    header {
        padding-top: 0.8rem;
        padding-bottom: 1rem;
    }

    header .wp-block-navigation__container {
        gap: 8px;
    }

    header .wp-block-navigation-item a,
    header .wp-block-navigation-item__content,
    header nav a {
        padding: 7px 12px;
        font-size: 0.92em;
    }

    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content {
        padding: 10px 18px;
        margin: 3px 0;
    }

    main h1::before {
        left: -18px;
        top: -9px;
        font-size: 13px;
    }

    main h1::after {
        right: -17px;
        font-size: 10px;
    }

    main h2::after {
        font-size: 0.42em;
    }

    body.home main {
        padding-top: 1rem;
    }

    body.home main h1 {
        font-size:
            clamp(2.2rem, 12vw, 3.3rem);
    }

    .homepage-intro {
        margin:
            1rem 12px
            2.5rem 12px;

        padding:
            1.6rem 1.25rem;

        border-radius:
            17px;
    }

    .homepage-intro p {
        text-align: left;
    }

    .academic-affiliation {
        text-align:
            center !important;
    }

    body.page-id-2149 main
    .wp-block-columns:first-of-type {
        width:
            calc(100% - 32px) !important;

        margin-bottom:
            1.5rem !important;
    }

    body.page-id-2149 main
    .wp-block-columns:first-of-type h2 {
        font-size: 2.1rem;
    }

    body.page-id-2149 .wp-block-gallery {
        width:
            calc(100% - 24px);

        gap:
            10px !important;
    }

    body.page-id-2149 main
    .wp-block-gallery img,
    body.page-id-2149 main
    .wp-block-image img {
        border-radius: 6px;
    }

    footer {
        margin-top: 3rem;
    }
}


/* ==========================================================
   23. ACCESSIBILITY — REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body::after,
    main h1,
    main h1::before,
    main h1::after,
    main h2::after,
    .wp-block-separator::after,
    .homepage-intro::before,
    header .wp-block-navigation-item a:hover::before,
    header nav a:hover::before {
        animation:
            none !important;
    }

    main img,
    .wp-block-button__link,
    header .wp-block-navigation-item a,
    header .wp-block-navigation-item__content,
    header nav a {
        transition:
            none !important;
    }
}
/* ==========================================================
   PHILOSOPHOTOS — TIGHTEN SPACE ABOVE GALLERY INTRO
   ========================================================== */

/* Reduce padding around the first content section */
body.page-id-2149 main .wp-block-group.alignfull:first-of-type {
    padding-top: 0 !important;
    padding-bottom: 0.75rem !important;
}


/* Hide the spacer above "There and Back Again" */
body.page-id-2149 main
.wp-block-group.alignfull:first-of-type
.wp-block-spacer:first-child {
    display: none !important;
}


/* Keep just a little breathing room before the heading */
body.page-id-2149 main
.wp-block-columns:first-of-type {
    margin-top: 0.5rem !important;
}
/* Site title — deep dusty rose */

.wp-block-site-title,
.wp-block-site-title a,
.site-title,
.site-title a {
    color: #713d53 !important;
}
/* Polish the site title */

.wp-block-site-title,
.wp-block-site-title a,
.site-title,
.site-title a {
    color: #713d53 !important;

    font-family:
        Didot,
        "Bodoni 72",
        "Bodoni MT",
        Georgia,
        serif;

    font-weight: 500;

    letter-spacing: 0.04em;
}
/* Illustratr: show site title in normal capitalization */

.site-title,
.site-title a,
.site-title a:visited,
.site-title a:hover {
    text-transform: none !important;
    font-variant: normal !important;
    font-variant-caps: normal !important;
}
/* Site title size */

#masthead .site-title,
#masthead .site-title a {
    font-size: clamp(2.4rem, 5vw, 4.6rem) !important;
    line-height: 1.05 !important;
}
/* Homepage hero heading — softer and more proportional */

body.home main h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    max-width: 850px;
}

/* Stronger homepage spacing fix */

body.home .site-content,
body.home main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home main h1 {
    margin-top: 0 !important;
}
/* Homepage hero divider — champagne rhinestone style */

body.home main .wp-block-separator {
    width: 90px !important;
    height: 1px !important;

    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;

    border: 0 !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 173, 103, 0.9),
            transparent
        ) !important;

    position: relative;
    overflow: visible;
}

body.home main .wp-block-separator::after {
    content: "✦";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    padding: 0 8px;

    color: var(--natasha-gold);
    background: var(--natasha-pink);

    font-size: 11px;

    animation:
        homepage-divider-twinkle
        4.5s
        ease-in-out
        infinite;
}

@keyframes homepage-divider-twinkle {
    0%,
    75%,
    100% {
        opacity: 0.65;
        text-shadow: none;
    }

    86% {
        opacity: 1;

        text-shadow:
            0 0 5px rgba(255, 255, 255, 1),
            0 0 10px rgba(216, 173, 103, 0.65);
    }
}
/* ==========================================================
   ILLUSTRATR PAGE-TITLE DIVIDER — RHINESTONE VERSION ✦
   ========================================================== */

/* Remove the theme's dark horizontal line */
body.home .page-header::after,
body.home .entry-header::after {
    background: none !important;
    height: 0 !important;
}


/* Create a shorter champagne divider instead */
body.home .page-header,
body.home .entry-header {
    position: relative;
    padding-bottom: 2.2rem !important;
}


/* Champagne line */
body.home .page-header::before,
body.home .entry-header::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0.8rem;

    transform: translateX(-50%);

    width: 500px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 173, 103, 0.95),
            transparent
        );
}


/* Little rhinestone in the center */
body.home .entry-title::after {
    content: "✦";

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    margin-top: 6rem;

    color: var(--natasha-gold);

    background: var(--natasha-pink);

    padding: 0 7px;

    font-size: 11px;

    z-index: 2;

    animation:
        natasha-home-divider-sparkle
        4.5s
        ease-in-out
        infinite;
}


@keyframes natasha-home-divider-sparkle {

    0%,
    75%,
    100% {
        opacity: 0.65;
        text-shadow: none;
    }

    86% {
        opacity: 1;

        text-shadow:
            0 0 5px rgba(255,255,255,1),
            0 0 10px rgba(216,173,103,0.75);
    }
}
/* Homepage: photograph and current-project posters */
body.home .entry-content > .wp-block-columns {
	gap: 2rem;
	align-items: flex-start;
	margin-top: 2.5rem;
	margin-bottom: 2rem;
}

/* Left photograph column */
body.home .entry-content > .wp-block-columns > .wp-block-column:first-child {
	flex: 0 0 calc(62% - 1rem);
}

/* Right projects column */
body.home .entry-content > .wp-block-columns > .wp-block-column:last-child {
	flex: 0 0 calc(38% - 1rem);
}

/* Remove unwanted margins around the large photograph */
body.home .entry-content > .wp-block-columns .wp-block-cover {
	width: 100%;
	margin: 0;
}

/* Space between the two conference posters */
body.home .wp-block-gallery-1 {
	gap: 1rem !important;
}

/* Keep poster images neat and consistent */
body.home .wp-block-gallery-1 .wp-block-image {
	margin: 0 !important;
	overflow: hidden;
	border-radius: 4px;
}

/* Hide the empty block directly beneath the columns */
body.home .entry-content > .wp-block-columns + .wp-block-group {
	display: none;
}

/* Reduce the space before the biography */
body.home .entry-content > .wp-block-columns ~ .wp-block-group {
	margin-top: 1.5rem;
}

/* Mobile: stack everything at full width */
@media (max-width: 781px) {
	body.home .entry-content > .wp-block-columns {
		gap: 2rem;
	}

	body.home .entry-content > .wp-block-columns > .wp-block-column:first-child,
	body.home .entry-content > .wp-block-columns > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
}
/* Homepage feature area */
body.home .entry-content > .wp-block-columns {
	gap: 3rem;
	align-items: flex-start;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

/* Photograph */
body.home .entry-content > .wp-block-columns > .wp-block-column:first-child {
	flex: 0 0 calc(56% - 1.5rem);
}

/* Current project */
body.home .entry-content > .wp-block-columns > .wp-block-column:last-child {
	flex: 0 0 calc(44% - 1.5rem);
	padding: 1.25rem;
	background: rgba(255, 248, 250, 0.72);
	border: 1px solid rgba(180, 115, 140, 0.22);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(96, 56, 71, 0.08);
}

body.home .entry-content > .wp-block-columns .wp-block-cover {
	width: 100%;
	margin: 0;
}

body.home .wp-block-gallery-1 {
	gap: 1rem !important;
}

body.home .wp-block-gallery-1 .wp-block-image {
	margin: 0 !important;
	border-radius: 5px;
	overflow: hidden;
}

/* Remove the empty block after the feature area */
body.home .entry-content > .wp-block-columns + .wp-block-group {
	display: none;
}

@media (max-width: 781px) {
	body.home .entry-content > .wp-block-columns {
		gap: 2rem;
	}

	body.home .entry-content > .wp-block-columns > .wp-block-column:first-child,
	body.home .entry-content > .wp-block-columns > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
}
/* Widen the homepage photo-and-project section */
body.home .entry-content > .wp-block-columns {
	width: calc(100% - 3rem);
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Give the two sides nearly equal space */
body.home .entry-content > .wp-block-columns > .wp-block-column:first-child {
	flex: 0 0 calc(54% - 1.5rem);
}

body.home .entry-content > .wp-block-columns > .wp-block-column:last-child {
	flex: 0 0 calc(46% - 1.5rem);
}

/* Ensure the posters use the complete available width */
body.home .wp-block-gallery-1,
body.home .wp-block-gallery-1 .wp-block-image,
body.home .wp-block-gallery-1 img {
	width: 100% !important;
	max-width: none !important;
}