﻿/*
Theme Name: Ghostly Kyute Club
Theme URI: https://ghostlykyute.club/
Author: GhostlyKyute
Author URI: [Your Personal Website or Social Media, optional]
Description: A dreamy, ethereal, and overwhelmingly cute theme for the Ghostly Kyute Club playground. Inspired by soft pastels and friendly ghosts.
Version: 0.1.17
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-background, custom-logo, custom-menu, featured-images, cute, pastel, personal, ghostly
Text Domain: ghostlykyute
*/

/* CSS Custom Properties (Variables)
--------------------------------------------- */
:root {
    --creamy-white: #FDF7F5;
    --pale-pink-bg: #F9E7E9;
    --soft-blush-pink: #F5C8D8;
    --dusty-rose-accent: #EBBFD5;
    --dusty-rose-hover: #E5B3CE;
    --soft-berry-headings: #D8B2CA;
    --medium-rose-emphasis: #D1A0B9;
    --strong-pink-emphasis: #C997B3;
    --soft-grey-text: #C0AAB5;
    --warm-grey-text: #A998A2;
    --medium-pink-interactive: #E0A8C0;
    --medium-pink-hover: #D897B3;
    --soft-pink-accent: #ECCFD9;
    --site-title-font: 'Pacifico', cursive;
    --heading-font: 'Architects Daughter', cursive;
    --body-font: 'Nunito', sans-serif;
    --border-radius-cute: 12px;
    --soft-shadow: 0 4px 15px rgba(150, 100, 120, 0.06);
    --border-light-pink: #EAD9E0;
}

/* Global Resets & Base Styles
--------------------------------------------- */
html {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: var(--pale-pink-bg);
}

body {
    background-color: transparent !important;
    background-image: url('assets/images/pattern-bg.jpg') !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-size: auto !important;
    color: var(--soft-grey-text);
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section,
div, p, h1, h2, h3, h4, h5, h6,
ul, ol, li, dl, dt, dd,
blockquote, pre, form, fieldset, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: var(--dusty-rose-accent);
    text-decoration: none;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

    a:hover,
    a:focus {
        color: var(--dusty-rose-hover);
        text-decoration: underline;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--soft-berry-headings);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    font-weight: normal;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.9em;
}

h3 {
    font-size: 1.6em;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-cute);
    display: block;
}

/* General Layout Elements
--------------------------------------------- */
.container {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* === CUTER BUBBLY HEADER RESTYLE === */
/* Site Header - The main sticky bar (backdrop)
--------------------------------------------- */
.site-header {
    background: linear-gradient(to bottom, rgba(249, 231, 233, 0.9), rgba(253, 247, 245, 0.7)); /* --pale-pink-bg to --creamy-white, with transparency */
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0; /* Vertical padding for the backdrop area */
    box-shadow: 0 3px 10px rgba(216, 178, 202, 0.1); /* Soft shadow using --soft-berry-headings with low alpha */
    border-bottom: none; /* Remove any harsh bottom lines */
    transition: all 0.3s ease-in-out;
}

    /* Header Content Container - The "Bubbly Panel" */
    .site-header .container {
        background-color: var(--creamy-white);
        max-width: 980px; /* Or adjust to your content width preference, e.g., 900px, 1000px */
        margin-left: auto;
        margin-right: auto;
        padding: 15px 25px; /* Inner padding for the panel */
        border-radius: 30px; /* Very bubbly! Adjust as you like, e.g., var(--border-radius-cute) * 2 */
        box-shadow: 0 5px 20px rgba(201, 151, 179, 0.15), /* --strong-pink-emphasis based shadow */
        inset 0 1px 2px rgba(255, 255, 255, 0.7); /* Subtle inner highlight */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        border: 1px solid rgba(255,255,255,0.8); /* Soft white border for definition */
    }

/* Site Branding - Logo, Title, Description */
.site-branding {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allow it to take space */
}

.site-logo-ghost {
    width: 45px; /* A nice visible size */
    height: 45px;
    margin-right: 12px;
    border-radius: 50%; /* Make logo perfectly round if it's square */
    padding: 3px; /* Optional: if you want a small 'breathing room' border */
    background-color: var(--soft-blush-pink); /* Soft background for the logo */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.3s ease-in-out;
}

    .site-logo-ghost:hover {
        transform: scale(1.1) rotate(-5deg); /* Cute hover effect */
    }

.site-branding h1.site-title {
    margin: 0;
    font-family: var(--site-title-font); /* Pacifico */
    font-size: 2.2em; /* Balanced size for Pacifico. Adjust 2.0em to 2.5em */
    line-height: 1.2; /* Allow Pacifico to breathe a bit */
    font-weight: normal;
    color: var(--strong-pink-emphasis); /* Use a strong, cute color */
    text-shadow: 1px 1px 0px var(--creamy-white), 2px 2px 0px var(--soft-blush-pink); /* Softer text shadow */
}

    .site-branding h1.site-title a {
        color: inherit; /* Inherit color from h1 */
        text-decoration: none;
    }

.site-branding .site-description {
    /* Let's hide the description by default for a cleaner bubbly header */
    display: none;
    /* If you want it:
    margin: 0 0 0 15px;
    font-size: 0.8em;
    color: var(--warm-grey-text);
    font-family: var(--body-font);
    line-height: 1.3;
    */
}

/* Main Navigation - Bubbly Links */
.main-navigation {
    flex-shrink: 0; /* Prevent nav from shrinking too much */
}

    .main-navigation ul#primary-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px; /* Space between nav bubbles */
    }

        .main-navigation ul#primary-menu li {
            margin-left: 0; /* Gap property handles spacing */
        }

        .main-navigation ul#primary-menu a {
            display: block;
            padding: 8px 18px; /* Comfy padding for bubbly feel */
            font-family: var(--body-font); /* Nunito */
            font-weight: 600; /* Semi-bold for clarity */
            color: var(--medium-rose-emphasis);
            font-size: 0.9em;
            text-decoration: none;
            text-transform: none; /* Softer than uppercase */
            border-radius: 20px; /* Pill-shaped / very bubbly */
            background-color: var(--pale-pink-bg);
            border: 1px solid var(--soft-blush-pink);
            box-shadow: 0 2px 4px rgba(216, 178, 202, 0.1); /* Subtle shadow for depth */
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
        }

            .main-navigation ul#primary-menu a:hover,
            .main-navigation ul#primary-menu li.current-menu-item > a,
            .main-navigation ul#primary-menu li.current-menu-ancestor > a {
                background-color: var(--soft-blush-pink);
                color: var(--strong-pink-emphasis);
                transform: translateY(-2px) scale(1.05); /* Pop effect */
                box-shadow: 0 4px 8px rgba(216, 178, 202, 0.2);
                text-decoration: none;
            }

                /* Optional: Add a cute little dot or sparkle to active link */
                .main-navigation ul#primary-menu li.current-menu-item > a::before {
                    content: "✿"; /* Or '✧', '♡' */
                    font-size: 0.8em;
                    margin-right: 6px;
                    color: var(--dusty-rose-accent);
                    animation: cuteSpin 2s linear infinite; /* Optional little animation */
                }

@keyframes cuteSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* === END CUTER BUBBLY HEADER RESTYLE === */

/* Content Area
--------------------------------------------- */
.site-content {
    background-color: transparent !important; /* Consider if !important is truly needed */
    padding: 30px 0;
}

/* Add padding to the main content container on the front page if the header is hidden */
body.front-page .site-content-container.front-page-layout-v2,
body.front-page .front-page-hub-style .site-main.front-page-main > .container {
    padding-top: 30px;
    margin-top: 0;
}

.main-content {
    background-color: var(--creamy-white);
    padding: 30px 40px;
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    max-width: var(--content-max-width); /* Define --content-max-width or use a value */
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

article.post,
article.page {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px dotted var(--border-light-pink);
}

    article.post:last-child,
    article.page:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.entry-header {
    margin-bottom: 20px;
}

h1.entry-title,
h2.entry-title {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 0.3em;
    font-weight: normal;
}

h1.entry-title {
    font-size: 2.5em;
}

h2.entry-title {
    font-size: 2.2em;
}

    h1.entry-title a,
    h2.entry-title a {
        color: var(--medium-rose-emphasis);
        text-decoration: none;
    }

        h1.entry-title a:hover,
        h2.entry-title a:hover {
            color: var(--dusty-rose-hover);
        }

    h2.entry-title::before {
        content: "♡";
        margin-right: 0.4em;
        font-size: 0.8em;
        font-family: var(--body-font);
        color: var(--dusty-rose-accent);
    }

h1.entry-title::before {
    content: "✧";
    margin-right: 0.4em;
    font-size: 0.9em;
    font-family: var(--body-font);
    color: var(--dusty-rose-accent);
    position: relative;
    top: -0.05em;
}

.entry-meta {
    font-family: var(--body-font);
    font-size: 0.85em;
    color: var(--soft-berry-headings);
    margin-bottom: 20px;
    line-height: 1.5;
}

    .entry-meta span {
        margin-right: 15px;
    }

        .entry-meta span:last-child {
            margin-right: 0;
        }

    .entry-meta a {
        color: var(--dusty-rose-accent);
        text-decoration: none;
    }

        .entry-meta a:hover {
            color: var(--dusty-rose-hover);
            text-decoration: underline;
        }

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
    margin-bottom: 1.5em;
    color: var(--warm-grey-text);
}

    .entry-content p:last-child,
    .entry-content ul:last-child,
    .entry-content ol:last-child,
    .entry-content blockquote:last-child {
        margin-bottom: 0;
    }

.entry-content a {
    font-weight: 600;
    color: var(--dusty-rose-accent);
}

    .entry-content a:hover {
        color: var(--dusty-rose-hover);
    }

.entry-content ul,
.entry-content ol {
    padding-left: 25px;
}

    .entry-content ul li {
        list-style-type: none;
        padding-left: 10px;
        margin-bottom: 0.5em;
        position: relative;
    }

        .entry-content ul li::before {
            content: "♡";
            color: var(--dusty-rose-accent);
            font-family: var(--body-font);
            font-size: 0.9em;
            position: absolute;
            left: -15px;
            top: 0.1em;
        }

    .entry-content ol li {
        list-style-type: decimal;
        padding-left: 5px;
        margin-bottom: 0.5em;
    }

/* Single Post Specific Styles
--------------------------------------------- */
.single-post .entry-title {
    margin-bottom: 0.5em;
}

.single-post .post-thumbnail {
    margin-bottom: 25px;
    text-align: center;
}

.single-post .entry-meta {
    margin-bottom: 30px;
}

.single-post .entry-content {
    margin-top: 10px;
}

.single-post .entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dotted var(--border-light-pink);
    font-size: 0.9em;
    color: var(--soft-berry-headings);
}

.single-post .tags-links a,
.single-post .edit-link a {
    color: var(--dusty-rose-accent);
}

    .single-post .tags-links a:hover,
    .single-post .edit-link a:hover {
        color: var(--dusty-rose-hover);
    }

.post-navigation {
    margin: 40px 0;
    border-top: 1px dotted var(--border-light-pink);
    border-bottom: 1px dotted var(--border-light-pink);
    padding: 20px 0;
}

    .post-navigation .nav-links {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        flex-basis: 48%;
    }

    .post-navigation .nav-next {
        text-align: right;
    }

    .post-navigation .nav-subtitle {
        display: block;
        font-size: 0.85em;
        color: var(--soft-grey-text);
        margin-bottom: 5px;
    }

    .post-navigation .nav-title {
        font-family: var(--heading-font);
        color: var(--soft-berry-headings);
        font-weight: normal;
        font-size: 1.1em;
        line-height: 1.3;
    }

    .post-navigation a:hover .nav-title {
        color: var(--medium-rose-emphasis);
    }

/* Blockquote Styling
--------------------------------------------- */
.entry-content blockquote {
    background-color: var(--pale-pink-bg);
    border-left: 5px solid var(--dusty-rose-accent);
    border-radius: 0 var(--border-radius-cute) var(--border-radius-cute) 0;
    margin: 25px 0 25px 20px;
    padding: 20px 25px 20px 30px;
    position: relative;
    box-shadow: 2px 2px 8px rgba(150, 100, 120, 0.05);
}

    .entry-content blockquote p {
        font-family: var(--body-font);
        color: var(--warm-grey-text);
        margin-bottom: 0.8em;
    }

        .entry-content blockquote p:last-child {
            margin-bottom: 0;
        }

    .entry-content blockquote::before {
        content: "“";
        font-family: var(--site-title-font);
        font-size: 4.5em;
        color: var(--soft-blush-pink);
        position: absolute;
        left: 15px;
        top: -5px;
        line-height: 1;
        opacity: 0.6;
        z-index: 0;
    }

    .entry-content blockquote cite {
        display: block;
        margin-top: 10px;
        font-family: var(--body-font);
        font-size: 0.9em;
        color: var(--medium-rose-emphasis);
        text-align: right;
        font-style: normal;
    }

        .entry-content blockquote cite::before {
            content: "— ";
        }

/* Page Specific Styles (Static Pages)
--------------------------------------------- */
.page .entry-header.page-header {
    margin-bottom: 25px;
}

.page .page-thumbnail {
    margin-bottom: 25px;
    text-align: center;
}

/* Archive & Search Results Page Styles
--------------------------------------------- */
.archive-header,
.search-header {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--creamy-white);
    border-radius: var(--border-radius-cute);
    border: 1px solid var(--border-light-pink);
    box-shadow: var(--soft-shadow);
}

.archive-title,
.search-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: normal;
}

.archive-description {
    font-family: var(--body-font);
    color: var(--warm-grey-text);
    font-size: 0.95em;
    line-height: 1.6;
}

.search-title span {
    color: var(--medium-rose-emphasis);
    font-style: italic;
}

.search-results .entry-summary {
    margin-top: 10px;
}

.no-results .page-content {
    padding: 30px;
    text-align: center;
    background-color: var(--creamy-white);
    border-radius: var(--border-radius-cute);
    border: 1px solid var(--border-light-pink);
    box-shadow: var(--soft-shadow);
}

    .no-results .page-content p {
        margin-bottom: 20px;
    }

.no-results .search-form {
    max-width: 400px;
    margin: 20px auto;
}

/* Comments Area
--------------------------------------------- */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dotted var(--border-light-pink);
}

.comments-title,
.comment-reply-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: normal;
    text-align: center;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .comment-list ol.children,
    .comment-list ul.children {
        list-style: none;
        padding-left: 30px;
        margin-top: 20px;
        border-left: 2px dotted var(--soft-blush-pink);
    }

li.comment {
    padding: 20px;
    margin-bottom: 20px;
    background-color: var(--creamy-white);
    border: 1px solid var(--border-light-pink);
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    position: relative;
}

li.pingback,
li.trackback {
    padding: 15px;
    margin-bottom: 15px;
    background-color: var(--pale-pink-bg);
    border: 1px dashed var(--border-light-pink);
    border-radius: var(--border-radius-cute);
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .comment-author .avatar {
        border-radius: 50%;
        margin-right: 15px;
        border: 2px solid var(--soft-blush-pink);
        width: 48px;
        height: 48px;
    }

    .comment-author .fn {
        font-family: var(--body-font);
        font-weight: 700;
        color: var(--medium-rose-emphasis);
        font-style: normal;
        font-size: 1.1em;
    }

    .comment-author .says {
        font-size: 0.9em;
        margin-left: 5px;
        color: var(--soft-grey-text);
    }

.comment-meta {
    font-size: 0.8em;
    color: var(--dusty-rose-accent);
    margin-bottom: 15px;
}

    .comment-meta a {
        color: var(--dusty-rose-accent);
    }

        .comment-meta a:hover {
            color: var(--dusty-rose-hover);
        }

.comment-content {
    line-height: 1.6;
}

    .comment-content p:last-child {
        margin-bottom: 0;
    }

.reply .comment-reply-link {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 0.85em;
    color: var(--creamy-white);
    background-color: var(--medium-pink-interactive);
    padding: 6px 12px;
    border-radius: calc(var(--border-radius-cute) / 1.5);
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease-in-out;
}

    .reply .comment-reply-link:hover {
        background-color: var(--medium-pink-hover);
        color: var(--creamy-white);
    }

.no-comments {
    font-style: italic;
    color: var(--soft-grey-text);
    padding: 20px;
    background-color: var(--pale-pink-bg);
    border-radius: var(--border-radius-cute);
    text-align: center;
    border: 1px dashed var(--border-light-pink);
}

/* Comment Form */
.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--soft-berry-headings);
    font-size: 0.9em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light-pink);
    border-radius: calc(var(--border-radius-cute) / 1.5);
    background-color: var(--creamy-white);
    font-family: var(--body-font);
    color: var(--warm-grey-text);
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
    font-size: 0.95em;
}

    .comment-form input[type="text"]:focus,
    .comment-form input[type="email"]:focus,
    .comment-form input[type="url"]:focus,
    .comment-form textarea:focus {
        border-color: var(--dusty-rose-accent);
        outline: none;
        box-shadow: 0 0 0 3px rgba(235, 191, 213, 0.3);
    }

.comment-form textarea {
    min-height: 120px;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
    font-size: 0.85em;
    margin-bottom: 20px;
    color: var(--soft-grey-text);
    line-height: 1.5;
}

.comment-form .form-submit input[type="submit"] {
    background-color: var(--medium-pink-interactive);
    color: var(--creamy-white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius-cute);
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .comment-form .form-submit input[type="submit"]:hover {
        background-color: var(--medium-pink-hover);
    }

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    font-family: var(--body-font);
    color: var(--dusty-rose-accent);
    font-weight: 600;
}

.comment-navigation a:hover {
    color: var(--dusty-rose-hover);
}

/* Site Footer
--------------------------------------------- */
.site-footer {
    display: none !important; /* Consider if !important is truly needed */
}

/* Decorative Elements
--------------------------------------------- */
.page-doll-corner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 160px;
    z-index: 999;
    animation: ghostlyFloat 4s ease-in-out infinite;
}

    .page-doll-corner:hover {
        animation-play-state: paused;
        transform: scale(1.05);
    }

    .page-doll-corner img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Layout for Content and Sidebar
--------------------------------------------- */
.content-sidebar-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.content-area {
    flex: 1;
    min-width: 0; /* Prevents flexbox overflow issues */
}

.widget-area.main-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Sidebar Widget Styling
--------------------------------------------- */
.widget-area .widget {
    background-color: var(--creamy-white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    border: 1px solid var(--border-light-pink);
}

    .widget-area .widget:last-child {
        margin-bottom: 0;
    }

.widget-area .widget-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dotted var(--soft-pink-accent);
    font-weight: normal;
    position: relative;
}

.widget-area .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .widget-area .widget ul li {
        padding: 8px 0;
        border-bottom: 1px dotted var(--border-light-pink);
        font-size: 0.95em;
    }

        .widget-area .widget ul li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .widget-area .widget ul li:first-child {
            padding-top: 0;
        }

.widget-area .widget a {
    color: var(--dusty-rose-accent);
    font-weight: 600;
}

    .widget-area .widget a:hover {
        color: var(--dusty-rose-hover);
    }

/* Search Form (General and Widget - Button Hidden)
--------------------------------------------- */
form.search-form,
.widget_search .wp-block-search__form,
.wp-block-search__form {
    display: flex;
    position: relative;
}

    form.search-form .search-field,
    .widget_search .wp-block-search__input,
    .wp-block-search__input {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid var(--soft-blush-pink);
        border-radius: var(--border-radius-cute);
        font-family: var(--body-font);
        font-size: 0.9em;
        color: var(--warm-grey-text);
        background-color: var(--creamy-white);
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
        flex-grow: 1;
        height: 42px;
        line-height: normal;
    }

        form.search-form .search-field:focus,
        .widget_search .wp-block-search__input:focus,
        .wp-block-search__input:focus {
            border-color: var(--dusty-rose-accent);
            box-shadow: 0 0 0 3px rgba(235, 191, 213, 0.3);
            outline: none;
        }

    form.search-form .search-submit,
    .widget_search .wp-block-search__button,
    .wp-block-search__button {
        display: none !important; /* Intentional override of WP default */
    }

/* 404 Page Styles (Not Found)
--------------------------------------------- */
.error-404 .page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--creamy-white);
    border-radius: var(--border-radius-cute);
    border: 1px solid var(--border-light-pink);
    box-shadow: var(--soft-shadow);
}

.error-404 .page-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

.error-404 .page-content {
    text-align: center;
    padding: 20px 0;
}

    .error-404 .page-content p {
        margin-bottom: 20px;
        font-size: 1.1em;
        color: var(--warm-grey-text);
    }

.error-404 .search-form {
    max-width: 450px;
    margin: 30px auto;
}

.error-404 .go-home-link a {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--dusty-rose-accent);
    color: var(--creamy-white);
    border-radius: var(--border-radius-cute);
    font-family: var(--body-font);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

    .error-404 .go-home-link a:hover {
        background-color: var(--dusty-rose-hover);
        transform: scale(1.05);
    }

/* Utility Classes
--------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important; /* Usually !important is needed here */
    width: 1px;
    word-wrap: normal !important; /* Usually !important is needed here */
}

/* === PAGE TEMPLATE STYLES === */
/* Common Styles for Playground Page Headers & Titles */
.page-template-template-gallery .playground-page-header,
.page-template-template-shrine .playground-page-header,
.page-template-template-adopts .playground-page-header,
.page-template-template-goodies .playground-page-header,
.page-template-template-wishlist .playground-page-header {
    text-align: center;
    padding: 40px 20px 30px 20px;
    margin-bottom: 40px;
}

.page-template-template-gallery .playground-title,
.page-template-template-shrine .playground-title,
.page-template-template-adopts .playground-title,
.page-template-template-goodies .playground-title,
.page-template-template-wishlist .playground-title {
    font-family: var(--site-title-font);
    font-size: 3.5em;
    color: var(--strong-pink-emphasis);
    font-weight: normal;
    text-shadow: 2px 2px 0px var(--creamy-white), 3px 3px 0px rgba(245, 200, 216, 0.5);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    display: inline-block;
    position: relative;
}

    .page-template-template-gallery .playground-title::before,
    .page-template-template-gallery .playground-title::after,
    .page-template-template-shrine .playground-title::before,
    .page-template-template-shrine .playground-title::after,
    .page-template-template-adopts .playground-title::before,
    .page-template-template-adopts .playground-title::after,
    .page-template-template-goodies .playground-title::before,
    .page-template-template-goodies .playground-title::after,
    .page-template-template-wishlist .playground-title::before,
    .page-template-template-wishlist .playground-title::after {
        content: "✧";
        font-family: var(--body-font);
        font-size: 0.5em;
        color: var(--dusty-rose-accent);
        opacity: 0.9;
        vertical-align: middle;
    }

    .page-template-template-gallery .playground-title::before,
    .page-template-template-shrine .playground-title::before,
    .page-template-template-adopts .playground-title::before,
    .page-template-template-goodies .playground-title::before,
    .page-template-template-wishlist .playground-title::before {
        margin-right: 0.6em;
    }

    .page-template-template-gallery .playground-title::after,
    .page-template-template-shrine .playground-title::after,
    .page-template-template-adopts .playground-title::after,
    .page-template-template-goodies .playground-title::after,
    .page-template-template-wishlist .playground-title::after {
        margin-left: 0.6em;
    }

.page-template-template-gallery .playground-page-thumbnail img,
.page-template-template-shrine .playground-page-thumbnail img,
.page-template-template-adopts .playground-page-thumbnail img,
.page-template-template-goodies .playground-page-thumbnail img,
.page-template-template-wishlist .playground-page-thumbnail img {
    border: 3px solid var(--creamy-white);
    box-shadow: var(--soft-shadow);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 20px;
}

.page-template-template-gallery .main-content,
.page-template-template-shrine .main-content,
.page-template-template-adopts .main-content,
.page-template-template-goodies .main-content,
.page-template-template-wishlist .main-content {
    max-width: none; /* Allow template content to be wider than default .main-content */
}

/* Gallery Page Template Styles (template-gallery.php) */
.page-template-template-gallery .gallery-entry-content .wp-block-gallery.has-nested-images {
    gap: 10px;
}

    .page-template-template-gallery .gallery-entry-content .wp-block-gallery.has-nested-images .wp-block-image img {
        border-radius: calc(var(--border-radius-cute) / 1.5);
        border: 2px solid var(--soft-blush-pink);
        padding: 4px;
        background-color: var(--creamy-white);
        box-shadow: var(--soft-shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .page-template-template-gallery .gallery-entry-content .wp-block-gallery.has-nested-images .wp-block-image img:hover {
            transform: scale(1.03) rotate(1deg);
            box-shadow: 0 6px 20px rgba(150, 100, 120, 0.12);
        }

/* Shrine Page Template Styles (template-shrine.php) */
.page-template-template-shrine .shrine-entry-content h2,
.page-template-template-shrine .shrine-entry-content h3 {
    font-family: var(--heading-font);
    color: var(--medium-rose-emphasis);
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
}

    .page-template-template-shrine .shrine-entry-content h2::before,
    .page-template-template-shrine .shrine-entry-content h2::after {
        content: "✧";
        font-family: var(--body-font);
        color: var(--dusty-rose-accent);
        font-size: 0.7em;
    }

/* Digital Goodies / Adopts Page Template Styles (template-goodies.php / template-adopts.php) */
.resource-item {
    background-color: var(--creamy-white);
    padding: 25px;
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-light-pink);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

    .resource-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(150, 100, 120, 0.1);
    }

    .resource-item img,
    .resource-item .wp-block-image img {
        border-radius: calc(var(--border-radius-cute) / 1.5);
        margin-bottom: 15px;
        border: 2px solid var(--soft-blush-pink);
        max-width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }

    .resource-item .wp-block-heading {
        font-family: var(--heading-font);
        color: var(--medium-rose-emphasis);
        font-size: 1.4em;
        margin-top: 0;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .resource-item p {
        font-size: 0.9em;
        color: var(--warm-grey-text);
        margin-bottom: 15px;
        flex-grow: 1;
        line-height: 1.5;
    }

        .resource-item p strong,
        .resource-item .adopt-status {
            font-weight: 700;
            color: var(--strong-pink-emphasis);
            display: block;
            margin-top: 5px;
        }

    .resource-item .wp-block-button .wp-block-button__link {
        background-color: var(--dusty-rose-accent) !important;
        color: var(--creamy-white) !important;
        border-radius: var(--border-radius-cute) !important;
        padding: 10px 25px !important;
        font-family: var(--body-font) !important;
        font-weight: 700 !important;
        font-size: 1em !important;
        text-decoration: none !important;
        transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out !important;
        margin-top: auto;
        display: inline-block;
    }

        .resource-item .wp-block-button .wp-block-button__link:hover {
            background-color: var(--dusty-rose-hover) !important;
            transform: scale(1.05);
        }

    .resource-item .wp-block-button.is-style-kofi-button .wp-block-button__link::before {
        content: "♡ ";
        font-family: var(--body-font);
        margin-right: 5px;
    }

    .resource-item .wp-block-file .wp-block-file__button {
        background-color: var(--dusty-rose-accent);
        color: var(--creamy-white);
    }

/* Wishlist Page Template Styles (template-wishlist.php) */
.wishlist-item {
    background-color: var(--creamy-white);
    padding: 25px;
    border-radius: var(--border-radius-cute);
    box-shadow: 3px 3px 10px rgba(180, 150, 160, 0.12);
    margin-bottom: 30px;
    border: 1px dashed var(--soft-blush-pink);
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .wishlist-item img,
    .wishlist-item .wp-block-image img {
        border-radius: calc(var(--border-radius-cute) / 1.5);
        margin-bottom: 15px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .wishlist-item h3,
    .wishlist-item .wp-block-heading {
        font-family: var(--heading-font);
        color: var(--medium-rose-emphasis);
        font-size: 1.4em;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .wishlist-item p {
        font-size: 0.95em;
        color: var(--warm-grey-text);
        margin-bottom: 15px;
    }

    .wishlist-item .wp-block-button .wp-block-button__link {
        background-color: var(--soft-blush-pink) !important;
        color: var(--medium-rose-emphasis) !important;
        border: 1px solid var(--dusty-rose-accent) !important;
        border-radius: var(--border-radius-cute) !important;
        padding: 10px 20px !important;
        font-weight: 600 !important;
    }

        .wishlist-item .wp-block-button .wp-block-button__link:hover {
            background-color: var(--dusty-rose-accent) !important;
            color: var(--creamy-white) !important;
        }

.wp-block-button.is-style-ghostly-support .wp-block-button__link {
    background-color: var(--medium-pink-interactive);
    color: var(--creamy-white);
    border: 2px dashed var(--dusty-rose-accent);
    border-radius: var(--border-radius-cute);
    padding: 12px 28px;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: var(--soft-shadow);
    transition: all 0.2s ease-in-out;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
}

    .wp-block-button.is-style-ghostly-support .wp-block-button__link:hover {
        background-color: var(--medium-pink-hover);
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(150, 100, 120, 0.1);
    }

    .wp-block-button.is-style-ghostly-support .wp-block-button__link::before {
        content: "♡ ";
        font-family: var(--body-font);
        margin-right: 0.3em;
    }

/* Guestbook Page Specific Styles */
.page-id-90 .comments-area .comments-title, /* Consider a class instead of page ID for wider reusability */
.page-id-90 .comments-area .comment-reply-title {
    border-bottom: none;
    font-size: 2em;
    text-align: center;
    color: var(--strong-pink-emphasis);
}

.page-id-90 .comment-list {
    background-color: rgba(249, 231, 233, 0.5);
    padding: 25px;
    border-radius: var(--border-radius-cute);
    border: 1px dashed var(--soft-blush-pink);
}

    .page-id-90 .comment-list li.comment {
        box-shadow: var(--soft-shadow);
        border: 1px solid var(--border-light-pink);
        background-color: var(--creamy-white);
    }

.page-id-90 .comment-form-url {
    display: none;
}

.page-id-90 .comment-form .comment-notes {
    font-size: 0.8em;
    text-align: center;
}

/* === FRONT PAGE LAYOUTS === */
/* Front Page - Grid Layout (v2 - .front-page-layout-v2)
-------------------------------------------------------------------- */
.front-page-layout-v2 .site-content-container {
    background-color: transparent !important; /* Overriding something? */
}

.front-page-layout-v2 .fp-main-layout-grid.container {
    background-color: transparent !important; /* Overriding something? */
    padding: 0 !important; /* Overriding something? */
    box-shadow: none !important; /* Overriding something? */
    border: none !important; /* Overriding something? */
    margin-top: 0;
    margin-bottom: 20px;
}

/* Decorative Banner */
.fp-decorative-banner {
    padding: 0;
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
    line-height: 0;
    border-radius: var(--border-radius-cute);
    overflow: hidden;
}

    .fp-decorative-banner img.fp-banner-image {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }

.fp-main-layout-grid {
    display: grid !important; /* Overriding another display property? */
    grid-template-columns: 220px 1fr !important; /* Overriding something? */
    gap: 25px !important; /* Overriding something? */
    align-items: flex-start;
}

.fp-sidebar .widget,
.fp-primary-content-area .hub-section,
.fp-columns-section .fp-column {
    background-color: var(--creamy-white);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-cute);
    border: 1px solid var(--border-light-pink);
    box-shadow: var(--soft-shadow);
}

    .fp-sidebar .widget:last-child {
        margin-bottom: 0;
    }

.fp-sidebar .widget-title.hub-section-title {
    font-size: 1.1em;
    color: var(--medium-rose-emphasis);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dotted var(--soft-pink-accent);
    text-align: left;
}

    .fp-sidebar .widget-title.hub-section-title::before,
    .fp-sidebar .widget-title.hub-section-title::after {
        content: "♡";
        font-family: var(--body-font);
        font-size: 0.8em;
        margin: 0 0.2em;
    }

ul.fp-sidebar-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    ul.fp-sidebar-nav-menu li {
        margin-bottom: 3px;
    }

        ul.fp-sidebar-nav-menu li a {
            display: block;
            padding: 8px 10px;
            font-family: var(--body-font);
            font-size: 0.9em;
            color: var(--dusty-rose-accent);
            text-decoration: none;
            border-radius: calc(var(--border-radius-cute) / 2);
            transition: background-color 0.2s, color 0.2s, padding-left 0.2s ease-out;
        }

            ul.fp-sidebar-nav-menu li a:hover {
                background-color: var(--soft-blush-pink);
                color: var(--strong-pink-emphasis);
                padding-left: 15px;
            }

    ul.fp-sidebar-nav-menu.support-links a,
    ul.fp-sidebar-nav-menu.social-links a {
        font-weight: 600;
    }

.fp-primary-content-area .hub-section:last-child {
    margin-bottom: 0;
}

.fp-primary-content-area .hub-section-title {
    font-family: var(--heading-font);
    font-size: 1.4em;
    color: var(--strong-pink-emphasis);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dotted var(--soft-pink-accent);
    text-align: center;
}

    .fp-primary-content-area .hub-section-title::before,
    .fp-primary-content-area .hub-section-title::after {
        content: "*";
        font-family: var(--body-font);
        font-size: 0.9em;
        color: var(--dusty-rose-accent);
        margin: 0 0.4em;
        position: relative;
        top: -0.05em;
    }

.fp-intro-text {
    text-align: center;
}

    .fp-intro-text .pfp-and-status-area.compact-status {
        margin-bottom: 15px;
    }

    .fp-intro-text .compact-status .hero-ghost-mascot {
        width: 60px;
        height: 60px;
        animation: none;
        border-width: 2px;
    }

    .fp-intro-text .compact-status .hero-status-emoji {
        width: 24px;
        height: 24px;
        font-size: 12px;
        bottom: -1px;
        right: -1px;
        border-width: 1px;
    }

    .fp-intro-text .compact-status .hero-status-text {
        font-size: 0.8em;
        padding: 4px 8px;
        background: rgba(249, 231, 233, 0.85);
        max-width: none;
        border-radius: 8px;
    }

    .fp-intro-text .hub-section-title.fp-intro-title {
        font-family: var(--site-title-font);
        font-size: 2.2em;
        color: var(--medium-rose-emphasis);
        text-shadow: 1px 1px 0px var(--creamy-white);
        border-bottom: none;
        margin-bottom: 10px;
    }

        .fp-intro-text .hub-section-title.fp-intro-title::before,
        .fp-intro-text .hub-section-title.fp-intro-title::after {
            content: none;
        }

    .fp-intro-text .entry-content {
        font-size: 0.95em;
        line-height: 1.6;
        color: var(--warm-grey-text);
    }

        .fp-intro-text .entry-content p:last-child {
            margin-bottom: 0;
        }

.fp-columns-section {
    background-color: transparent !important; /* Overriding something? */
    border: none !important; /* Overriding something? */
    box-shadow: none !important; /* Overriding something? */
    padding: 0 !important; /* Overriding something? */
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

    .fp-columns-section .hub-section-title {
        font-size: 1.2em;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

        .fp-columns-section .hub-section-title::before,
        .fp-columns-section .hub-section-title::after {
            content: "♡";
            font-family: var(--body-font);
            font-size: 0.8em;
        }

    /* Cuter To-Do List (Static) */
    .fp-columns-section .fp-column ul.fp-simple-list {
        font-size: 0.9em;
        line-height: 1.8;
        padding-left: 0;
        list-style: none;
        margin-top: 5px;
    }

        .fp-columns-section .fp-column ul.fp-simple-list li {
            padding: 5px 0 5px 22px;
            position: relative;
            border-bottom: 1px dotted var(--border-light-pink);
            color: var(--warm-grey-text);
            transition: background-color 0.2s ease, color 0.2s ease;
            display: flex;
            align-items: center;
        }

            .fp-columns-section .fp-column ul.fp-simple-list li:last-child {
                border-bottom: none;
            }

            .fp-columns-section .fp-column ul.fp-simple-list li::before {
                content: "✧";
                color: var(--dusty-rose-accent);
                font-family: var(--body-font);
                font-size: 1em;
                position: absolute;
                left: 0px;
                top: 50%;
                transform: translateY(-50%);
                transition: transform 0.2s ease;
                line-height: 1;
            }

            .fp-columns-section .fp-column ul.fp-simple-list li:hover {
                background-color: rgba(253, 247, 245, 0.5);
                color: var(--medium-rose-emphasis);
            }

                .fp-columns-section .fp-column ul.fp-simple-list li:hover::before {
                    transform: translateY(-50%) scale(1.2) rotate(15deg);
                }

            .fp-columns-section .fp-column ul.fp-simple-list li .emoji,
            .fp-columns-section .fp-column ul.fp-simple-list li .checkmark {
                margin-left: 0.3em;
                font-size: 0.9em;
            }

.fp-recent-posts-list .post-date {
    font-size: 0.8em;
    color: var(--soft-grey-text);
    display: block;
    margin-top: 2px;
}

.hub-section-view-all.small-view-all {
    text-align: center;
    margin-top: 15px;
}

    .hub-section-view-all.small-view-all .hub-button {
        font-size: 0.85em;
        padding: 6px 18px;
        background-color: var(--soft-blush-pink);
        color: var(--medium-rose-emphasis);
    }

        .hub-section-view-all.small-view-all .hub-button:hover {
            background-color: var(--dusty-rose-accent);
            color: var(--creamy-white);
        }

.fp-featured-post-display article.featured-post-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fp-featured-post-display .featured-post-thumbnail {
    flex-basis: 150px;
    flex-shrink: 0;
}

    .fp-featured-post-display .featured-post-thumbnail img {
        border-radius: calc(var(--border-radius-cute) / 1.5);
        border: 2px solid var(--border-light-pink);
    }

.fp-featured-post-display .featured-post-content {
    flex: 1;
}

.fp-featured-post-display .entry-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--strong-pink-emphasis);
}

.fp-featured-post-display .entry-meta {
    font-size: 0.8em;
    color: var(--soft-grey-text);
    margin-bottom: 8px;
}

.fp-featured-post-display .entry-summary {
    font-size: 0.9em;
    color: var(--warm-grey-text);
    line-height: 1.55;
}

    .fp-featured-post-display .entry-summary p {
        margin-bottom: 0;
    }

/* Playground Item Grid Section (in Grid Layout v2) - FLEXBOX APPROACH */
.fp-playground-grid-section .hub-grid.playground-items-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: stretch;
}

.fp-playground-grid-section .hub-item.playground-showcase-item {
    padding: 8px;
    background-color: rgba(253, 247, 245, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: calc(var(--border-radius-cute) / 1.5);
    width: 70px;
    height: 70px;
    box-shadow: 0 2px 5px rgba(150,100,120,0.08);
    border: 1px solid var(--soft-blush-pink);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

    .fp-playground-grid-section .hub-item.playground-showcase-item:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 4px 10px rgba(150,100,120,0.12);
        border-color: var(--dusty-rose-accent);
    }

/* Styles for text-based icons (if used as fallback or primary) */
.playground-showcase-item .showcase-icon {
    font-size: 1.5em;
    display: block;
    margin-bottom: 4px;
    color: var(--medium-rose-emphasis);
    line-height: 1;
    transition: transform 0.2s ease-in-out;
}

.fp-playground-grid-section .hub-item.playground-showcase-item:hover .showcase-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Styles for image icons */
.playground-showcase-item .showcase-icon-image {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 4px;
    transition: transform 0.2s ease-in-out;
    border-radius: 4px;
}

.fp-playground-grid-section .hub-item.playground-showcase-item:hover .showcase-icon-image {
    transform: scale(1.1) rotate(-5deg);
}

.playground-showcase-item .hub-item-title {
    font-size: 0.6em;
    line-height: 1.1;
    color: var(--strong-pink-emphasis);
    font-weight: 700;
    text-align: center;
    word-break: break-word;
}

.cta-community {
    background-color: var(--soft-blush-pink);
}

    .cta-community .hub-section-title {
        color: var(--strong-pink-emphasis);
    }

    .cta-community .cta-content p {
        font-size: 1em;
        color: var(--warm-grey-text);
        margin-bottom: 20px;
        text-align: center;
    }

.hub-buttons-group {
    gap: 15px;
    justify-content: center; /* This should be display:flex; on the parent for justify-content to work */
}

    .hub-buttons-group .hub-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }

.cta-community .ghostly-button {
    background-color: var(--dusty-rose-accent);
    color: var(--creamy-white);
}

    .cta-community .ghostly-button:hover {
        background-color: var(--dusty-rose-hover);
    }

.cta-community .kofi-button {
    background-color: #FFADB0;
    color: #fff;
}

    .cta-community .kofi-button:hover {
        background-color: #FF8C8E;
    }

.cta-community .discord-button {
    background-color: #BCC9F5;
    color: #5E6FAE;
}

    .cta-community .discord-button:hover {
        background-color: #A6B9E0;
    }

/* Front Page - Simpler Hub Style (stacked sections - .front-page-hub-style)
-------------------------------------------------------------------- */
.front-page-hub-style .site-main.front-page-main > .container {
    background-color: transparent !important; /* Overriding something? */
    padding: 0 !important; /* Overriding something? */
    border-radius: 0 !important; /* Overriding something? */
    box-shadow: none !important; /* Overriding something? */
    border: none !important; /* Overriding something? */
    margin-top: 20px;
    margin-bottom: 20px;
}

.front-page-hub-style .hub-section {
    background-color: var(--creamy-white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: var(--border-radius-cute);
    border: 1px solid var(--border-light-pink);
    box-shadow: var(--soft-shadow);
}

    .front-page-hub-style .hub-section:last-child {
        margin-bottom: 0;
    }

.front-page-hub-style .hub-section-title {
    font-family: var(--heading-font);
    font-size: 1.8em;
    color: var(--strong-pink-emphasis);
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--soft-pink-accent);
}

    .front-page-hub-style .hub-section-title::before,
    .front-page-hub-style .hub-section-title::after {
        content: "*";
        font-family: var(--body-font);
        font-size: 0.9em;
        color: var(--dusty-rose-accent);
        margin: 0 0.4em;
        position: relative;
        top: -0.05em;
    }

.front-page-hub-style .hub-welcome-panel .hub-welcome-content {
    text-align: center;
}

.front-page-hub-style .hub-welcome-panel .pfp-and-status-area {
    margin-bottom: 15px;
}

.front-page-hub-style .hub-welcome-panel .hero-ghost-mascot {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    animation: ghostlyFloatHero 5s ease-in-out infinite;
}

.front-page-hub-style .hub-welcome-panel .hero-status-emoji {
    width: 26px;
    height: 26px;
    font-size: 13px;
    bottom: 0px;
    right: 0px;
}

.front-page-hub-style .hub-welcome-panel .hero-status-text {
    font-size: 0.85em;
    padding: 4px 8px;
    background-color: rgba(249, 231, 233, 0.85);
    border-radius: 8px;
}

.front-page-hub-style .hub-welcome-panel .hub-main-title {
    font-family: var(--site-title-font);
    font-size: 2.8em;
    color: var(--medium-rose-emphasis);
    text-shadow: 1px 1px 0px var(--creamy-white);
    margin: 0 0 8px 0;
}

.front-page-hub-style .hub-welcome-panel .hub-tagline {
    font-family: var(--heading-font);
    font-size: 1.2em;
    color: var(--soft-grey-text);
    margin: 0;
}

.front-page-hub-style .hub-editor-content .entry-content {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1em;
    text-align: center;
    line-height: 1.6;
    color: var(--warm-grey-text);
}

.front-page-hub-style .hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.front-page-hub-style .hub-item {
    background-color: rgba(253, 247, 245, 0.8);
    border-radius: calc(var(--border-radius-cute) / 1.5);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-light-pink);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

    .front-page-hub-style .hub-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--soft-shadow);
    }

    .front-page-hub-style .hub-item a {
        text-decoration: none;
        color: inherit;
    }

.front-page-hub-style .hub-item-thumbnail img,
.front-page-hub-style .playground-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: calc(var(--border-radius-cute) / 2);
    margin-bottom: 10px;
    border: 1px solid var(--soft-blush-pink);
}

.front-page-hub-style .placeholder-thumbnail {
    height: 120px;
    background-color: var(--soft-blush-pink);
}

.front-page-hub-style .hub-item-title {
    font-family: var(--heading-font);
    font-size: 1.1em;
    color: var(--medium-rose-emphasis);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.front-page-hub-style .latest-post-meta {
    font-size: 0.75em;
    color: var(--soft-grey-text);
}

.front-page-hub-style .hub-section-view-all {
    text-align: center;
    margin-top: 25px;
}

.hub-button,
.wp-block-button__link.hub-button-style {
    display: inline-block;
    background-color: var(--dusty-rose-accent);
    color: var(--creamy-white);
    border-radius: 25px;
    padding: 10px 25px;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.12);
    border: 1px solid transparent;
}

    .hub-button:hover,
    .wp-block-button__link.hub-button-style:hover {
        background-color: var(--dusty-rose-hover);
        transform: translateY(-2px) scale(1.03);
        box-shadow: 2px 2px 8px rgba(0,0,0,0.18);
    }

.front-page-hub-style .cta-community .cta-content p {
    font-size: 1.05em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.front-page-hub-style .hub-buttons-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Site-Wide Music Player Styles */
#site-music-player-container {
    position: fixed; /* Sticks to the viewport */
    top: 15px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 99999; /* Keep it on top */
    background-color: rgba(253, 247, 245, 0.8); /* var(--creamy-white) with transparency */
    padding: 8px;
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    display: flex;
    align-items: center;
}

#site-music-pause-button {
    background-color: var(--dusty-rose-accent);
    color: var(--creamy-white);
    border: none;
    border-radius: 50%; /* Make it circular */
    width: 35px;
    height: 35px;
    font-size: 16px; /* Adjust for icon or text */
    line-height: 35px; /* Center icon/text vertically */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

    #site-music-pause-button:hover {
        background-color: var(--dusty-rose-hover);
        transform: scale(1.1);
    }

    #site-music-pause-button.is-playing:before {
        content: '❚❚'; /* Pause icon/text */
    }

    #site-music-pause-button.is-paused:before {
        content: '▶'; /* Play icon/text */
    }

/* Cute Rain/Sparkle Effect
--------------------------------------------- */
#cute-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999; /* Ensure it's behind the music player if player is very high z-index */
}

.raindrop {
    position: absolute;
    top: -20px;
    border-radius: 50%;
    opacity: 0;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

    .raindrop:nth-child(5n+1) {
        width: 5px;
        height: 5px;
        opacity: 0.7;
        background-color: var(--soft-blush-pink);
    }

    .raindrop:nth-child(5n+2) {
        width: 3px;
        height: 3px;
        opacity: 0.5;
        background-color: var(--medium-rose-emphasis);
    }

    .raindrop:nth-child(5n+3) {
        width: 6px;
        height: 6px;
        opacity: 0.8;
        background-color: var(--creamy-white);
        box-shadow: 0 0 4px var(--creamy-white);
    }

    .raindrop:nth-child(5n+4) {
        width: 4px;
        height: 4px;
        opacity: 0.6;
        background-color: var(--dusty-rose-hover);
    }

    .raindrop:nth-child(5n+5) {
        width: 3px;
        height: 3px;
        opacity: 0.7;
        background-color: var(--dusty-rose-accent);
    }

/* Keyframe Animations
--------------------------------------------- */
@keyframes fall {
    0% {
        transform: translateY(0vh) translateX(0vw);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(105vh) translateX(5vw);
        opacity: 0;
    }
}

@keyframes ghostlyFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes ghostlyFloatHero {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes cuteJump {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

/* === RESPONSIVE STYLES === */

@media (max-width: 991px) { /* Tablet and smaller */
    body.front-page .site-content-container.front-page-layout-v2,
    body.front-page .front-page-hub-style .site-main.front-page-main > .container {
        padding-top: 20px;
        margin-top: 0;
    }

    .front-page-layout-v2 .fp-main-layout-grid.container {
        width: 95%;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .fp-columns-section {
        flex-wrap: wrap;
    }

        .fp-columns-section .fp-column {
            flex-basis: 100%;
        }

    .content-sidebar-wrap {
        flex-direction: column;
    }

    .widget-area.main-sidebar {
        width: 100%;
        margin-top: 30px;
    }

    .content-area { /* This might be too general if .content-area is used elsewhere */
        width: 100%;
    }

    .fp-main-layout-grid {
        grid-template-columns: 1fr !important; /* Ensure it stacks */
    }

    .fp-sidebar.fp-left-sidebar {
        margin-bottom: 25px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        order: 2; /* Ensure sidebar comes after main content if that's the visual intent */
    }

    .fp-primary-content-area {
        order: 1;
    }

    .fp-sidebar.fp-left-sidebar .widget {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) { /* Mobile */
    body {
        font-size: 16px;
    }

    h1, .single-post .entry-title, .page .entry-title {
        font-size: 2em;
    }

    h2, article.post h2.entry-title {
        font-size: 1.7em;
    }

    h3, .widget-area .widget-title { /* This is quite general for h3 */
        font-size: 1.4em;
    }

    .main-content {
        padding: 25px 20px;
    }

    .page-doll-corner {
        width: 80px;
        bottom: 10px;
        right: 10px;
    }

    .fp-decorative-banner img.fp-banner-image {
        height: 90px;
    }

    /* Front Page Sections General Padding */
    .front-page-layout-v2 .fp-sidebar .widget,
    .front-page-layout-v2 .fp-primary-content-area .hub-section,
    .front-page-layout-v2 .fp-columns-section .fp-column,
    .front-page-hub-style .hub-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .front-page-layout-v2 .fp-main-layout-grid.container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-top: 10px;
    }

    /* Ensure the stacked sidebar and primary content area take full available width */
    .front-page-layout-v2 .fp-main-layout-grid > .fp-sidebar.fp-left-sidebar,
    .front-page-layout-v2 .fp-main-layout-grid > .fp-primary-content-area {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .front-page-layout-v2 .fp-main-layout-grid > .fp-sidebar.fp-left-sidebar {
        margin-top: 0; /* Reset from previous rule if stacking */
    }

    /* Sidebar ("Playground" section) widget adjustments */
    .fp-sidebar.fp-left-sidebar .widget {
        padding: 15px;
    }

    .fp-sidebar.fp-left-sidebar .widget-title.hub-section-title {
        font-size: 1.3em;
        text-align: center;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    ul.fp-sidebar-nav-menu li a {
        font-size: 0.95em;
        padding: 10px 12px;
    }

    ul.fp-sidebar-nav-menu li {
        margin-bottom: 5px;
    }

    /* Primary Content Area (Right column) section adjustments */
    .fp-primary-content-area .hub-section,
    .fp-primary-content-area .fp-columns-section .fp-column {
        padding: 15px;
    }

    /* Profile / Intro Text section */
    .fp-intro-text .pfp-and-status-area.compact-status {
        margin-bottom: 10px;
    }

    .fp-intro-text .hub-section-title.fp-intro-title {
        font-size: 2.4em;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .fp-intro-text .entry-content {
        font-size: 1em;
        color: var(--warm-grey-text);
    }

    .hero-status-text {
        font-size: 0.9em;
        padding: 5px 8px;
    }

    /* Specific Column Sections (like To-Do, Links etc. in .fp-columns-section) */
    .fp-columns-section {
        flex-direction: column;
        gap: 15px; /* Reduced from 20px */
    }

        .fp-columns-section .fp-column {
            flex-basis: 100%;
        }

    /* Front Page Titles (general for hub sections) */
    .front-page-layout-v2 .fp-primary-content-area .hub-section-title, /* This was duplicated, ensure one source of truth or more specific targeting */
    .front-page-hub-style .hub-section-title {
        font-size: 1.4em;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    /* More specific intro titles */
    .front-page-layout-v2 .fp-intro-text .hub-section-title.fp-intro-title,
    .front-page-hub-style .hub-welcome-panel .hub-main-title {
        font-size: 2.0em;
    }

    .front-page-hub-style .hub-welcome-panel .hub-tagline {
        font-size: 1.0em;
    }

    /* Featured Post Display */
    .fp-featured-post-display article.featured-post-item {
        flex-direction: column;
        gap: 15px;
    }

    .fp-featured-post-display .featured-post-thumbnail {
        flex-basis: auto;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px; /* Added margin for stacked view */
        align-self: center; /* Ensure centered if width is constrained */
    }

    .fp-featured-post-display .featured-post-content {
        flex: 1;
        text-align: center;
    }

    .fp-featured-post-display .entry-title {
        font-size: 1.2em;
    }

    /* CTA Community Section */
    .cta-community .cta-content p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    /* For .front-page-hub-style specifically */
    .front-page-hub-style .hub-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    .front-page-hub-style .hub-item-thumbnail img,
    .front-page-hub-style .playground-preview-item img {
        height: 100px;
    }

    .front-page-hub-style .hub-item-title {
        font-size: 0.9em;
    }

    /* Intro text / Welcome panel adjustments for hub style */
    .front-page-hub-style .hub-editor-content .entry-content {
        font-size: 0.9em;
    }

    .front-page-hub-style .hub-welcome-panel .hero-ghost-mascot {
        width: 50px;
        height: 50px;
    }

    .front-page-hub-style .hub-welcome-panel .hero-status-emoji {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    /* Cuter To-Do List */
    .fp-columns-section .hub-section-title { /* Already styled above, check for conflicts */
        font-size: 1.3em;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .fp-columns-section .fp-column ul.fp-simple-list li {
        font-size: 0.9em;
        padding: 6px 0 6px 22px;
    }

        .fp-columns-section .fp-column ul.fp-simple-list li::before {
            font-size: 1em;
        }

    /* General .fp-main-layout-grid adjustments for mobile (if not covered by stacking) */
    .fp-main-layout-grid {
        gap: 20px; /* Ensure consistent gap when stacked */
    }

    /* Playground Item Grid */
    .fp-playground-grid-section .hub-grid.playground-items-showcase {
        gap: 6px;
    }

    .fp-playground-grid-section .hub-item.playground-showcase-item {
        padding: 6px;
        width: 60px;
        height: 60px;
    }

    .playground-showcase-item .showcase-icon-image {
        max-width: 25px;
        max-height: 25px;
        margin-bottom: 2px;
    }

    .playground-showcase-item .hub-item-title {
        font-size: 0.5em;
        line-height: 1;
    }

    /* Hub Buttons */
    .hub-buttons-group {
        flex-direction: column;
        align-items: center;
    }

        .hub-buttons-group .hub-button {
            width: 90%;
            text-align: center;
            margin-bottom: 10px;
        }

            .hub-buttons-group .hub-button:last-child {
                margin-bottom: 0;
            }

    .hub-button, .wp-block-button__link.hub-button-style {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) { /* Extra small screens */
    body {
        font-size: 15px;
    }

    h1, .single-post .entry-title, .page .entry-title {
        font-size: 1.8em;
    }

    h2, article.post h2.entry-title {
        font-size: 1.5em;
    }

    h3, .widget-area .widget-title {
        font-size: 1.25em;
    }

    .main-content {
        padding: 20px 15px;
    }

    /* Cuter To-Do List - Mobile */
    .fp-columns-section .fp-column ul.fp-simple-list li {
        padding: 5px 0 5px 20px;
        font-size: 0.85em;
    }

        .fp-columns-section .fp-column ul.fp-simple-list li::before {
            font-size: 0.9em;
            left: 0px;
        }

    .fp-playground-grid-section .hub-item.playground-showcase-item {
        padding: 5px;
        width: 50px;
        height: 50px;
    }

    .playground-showcase-item .showcase-icon-image {
        max-width: 20px;
        max-height: 20px;
        margin-bottom: 1px;
    }

    .playground-showcase-item .hub-item-title {
        font-size: 0.45em;
        line-height: 1;
    }

    .front-page-hub-style .hub-grid {
        grid-template-columns: 1fr;
    }

    /* === FRONT PAGE SPECIFIC - EXTRA SMALL SCREENS === */
    .front-page-layout-v2 .fp-main-layout-grid.container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .fp-sidebar.fp-left-sidebar .widget,
    .fp-primary-content-area .hub-section,
    .fp-primary-content-area .fp-columns-section .fp-column {
        padding: 12px;
    }

    .fp-sidebar.fp-left-sidebar .widget-title.hub-section-title,
    .fp-columns-section .hub-section-title { /* This was duplicated, ensure one source of truth */
        font-size: 1.2em;
    }

    ul.fp-sidebar-nav-menu li a {
        font-size: 0.9em;
        padding: 8px 10px;
    }

    .fp-intro-text .hub-section-title.fp-intro-title {
        font-size: 2.0em;
    }

    .fp-intro-text .entry-content {
        font-size: 0.95em;
    }
}

/* Front Page - Intro Section - Layout Idea 2
-------------------------------------------------------------------- */
.fp-intro-text {
    /* text-align: center; */ /* Handled by inner column */
}

.intro-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.intro-pfp-column {
    flex-shrink: 0;
}

    .intro-pfp-column .hero-ghost-mascot {
        width: 80px;
        height: 80px;
        border: 3px solid var(--soft-blush-pink);
        /* animation: none; /* If overriding previous animation */
    }

.intro-text-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
}

    .intro-text-column .fp-intro-title { /* Already styled by .fp-intro-text .hub-section-title.fp-intro-title */
        font-size: 3em; /* Or inherit/adjust from existing */
        line-height: 1.2;
        margin-bottom: 0.1em;
    }

    .intro-text-column .entry-content { /* Already styled by .fp-intro-text .entry-content */
        font-size: 1.1em;
        color: var(--warm-grey-text);
        margin-bottom: 15px;
    }

        .intro-text-column .entry-content p {
            margin-bottom: 0;
        }

    .intro-text-column .hero-main-status-emoji {
        font-size: 2.5em;
        margin-top: 5px;
        margin-bottom: 15px;
        line-height: 1;
    }

    .intro-text-column .intro-status-text-block {
        margin-top: 0;
    }

    .intro-text-column .hero-status-text { /* Already styled by .fp-intro-text .compact-status .hero-status-text */
        display: inline-block;
        padding: 8px 15px;
        font-size: 0.9em; /* Or inherit/adjust from existing */
        color: var(--soft-grey-text);
    }

@media (max-width: 767px) {
    .intro-layout-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .intro-pfp-column .hero-ghost-mascot {
        width: 70px;
        height: 70px;
        margin-bottom: 0;
    }

    .intro-text-column .fp-intro-title {
        font-size: 2.5em; /* Adjust from global mobile styles if needed */
    }

    .intro-text-column .entry-content {
        font-size: 1em; /* Adjust from global mobile styles if needed */
    }

    .intro-text-column .hero-main-status-emoji {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .intro-text-column .hero-status-text {
        font-size: 0.85em;
        padding: 6px 12px;
    }
}

/* --- Cute File Cabinet Games Showcase --- */
.file-cabinet-games-showcase {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background-color: var(--pale-pink-bg);
    border-radius: var(--border-radius-cute);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--soft-blush-pink);
}

.game-drawer {
    background-color: var(--creamy-white);
    border: 1px solid var(--border-light-pink);
    border-radius: var(--border-radius-cute);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    position: relative;
}

    .game-drawer:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 6px 20px rgba(150, 100, 120, 0.1);
    }

.drawer-front {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--soft-blush-pink);
    border-bottom: 1px dashed var(--dusty-rose-accent);
    border-top-left-radius: var(--border-radius-cute);
    border-top-right-radius: var(--border-radius-cute);
}

.drawer-handle {
    font-size: 1.3em;
    color: var(--strong-pink-emphasis);
    margin-right: 10px;
    line-height: 1;
    animation: handle-sparkle 3s infinite alternate ease-in-out;
}

@keyframes handle-sparkle {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

.game-title-label {
    font-family: var(--heading-font);
    color: var(--medium-rose-emphasis);
    font-size: 1.4em;
    margin: 0;
    font-weight: normal;
}

.drawer-content {
    padding: 15px 20px 20px;
    text-align: center;
}

.game-thumbnail-wrapper {
    margin-bottom: 15px;
    background-color: var(--pale-pink-bg);
    padding: 8px;
    border-radius: calc(var(--border-radius-cute) / 1.5);
    display: inline-block;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.drawer-content img {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius-cute) / 2);
    display: block;
    border: 2px solid var(--creamy-white);
}

.game-description {
    font-family: var(--body-font);
    font-size: 0.95em;
    color: var(--warm-grey-text);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 40px;
}

.game-link.button {
    background-color: var(--dusty-rose-accent);
    color: var(--creamy-white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-family: var(--body-font);
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .game-link.button:hover {
        background-color: var(--dusty-rose-hover);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

@media (max-width: 767px) {
    .file-cabinet-games-showcase {
        max-width: 95%;
        padding: 15px;
        gap: 12px;
    }

    .drawer-front {
        padding: 8px 12px;
    }

    .game-title-label {
        font-size: 1.2em;
    }

    .drawer-content {
        padding: 12px 15px 15px;
    }

    .game-description {
        font-size: 0.9em;
        min-height: 30px;
    }

    .game-link.button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* --- My Favorites Page (with Rant Links & Carousel) --- */
.page-my-favorites .entry-header.playground-page-header {
    margin-bottom: 25px;
}

.page-my-favorites .page-intro-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px auto;
    font-size: 1.1em;
    color: var(--warm-grey-text);
    line-height: 1.7;
}

    .page-my-favorites .page-intro-content p:last-child {
        margin-bottom: 0;
    }

.favorites-section {
    margin-bottom: 50px;
    padding: 25px 15px; /* Adjusted horizontal padding for carousel arrows */
    background-color: rgba(253, 247, 245, 0.4);
    border-radius: var(--border-radius-cute);
    border: 1px dashed var(--soft-blush-pink);
    box-shadow: 0 2px 8px rgba(150, 100, 120, 0.05);
    position: relative; /* For positioning nav arrows if absolutely positioned inside */
}

.favorites-section-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 2.4em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px dotted var(--dusty-rose-accent);
    font-weight: normal;
    position: relative;
}

    .favorites-section-title::before,
    .favorites-section-title::after {
        opacity: 0.8;
        font-family: var(--body-font);
        color: var(--dusty-rose-accent);
        font-size: 0.7em;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

#favorite-books .favorites-section-title::before {
    content: "📖";
    left: 10px;
}

#favorite-books .favorites-section-title::after {
    content: "📖";
    right: 10px;
}

#favorite-games .favorites-section-title::before {
    content: "🎮";
    left: 10px;
}

#favorite-games .favorites-section-title::after {
    content: "🎮";
    right: 10px;
}

#favorite-movies .favorites-section-title::before {
    content: "🎬";
    left: 10px;
}

#favorite-movies .favorites-section-title::after {
    content: "🎬";
    right: 10px;
}

/* Removed .favorites-grid as Swiper handles the layout */

.favorite-item { /* Styles for the content within each swiper-slide */
    background-color: var(--creamy-white);
    border: 1px solid var(--border-light-pink);
    border-radius: var(--border-radius-cute);
    padding: 20px;
    box-shadow: var(--soft-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    height: 100%; /* Ensure cards within slides try to match height */
    box-sizing: border-box;
}

    .favorite-item:hover {
        transform: translateY(-6px) scale(1.02); /* Hover on card itself */
        box-shadow: 0 10px 25px rgba(150, 100, 120, 0.15);
    }

.favorite-thumbnail-wrapper {
    margin-bottom: 18px;
    background-color: var(--pale-pink-bg);
    padding: 10px;
    border-radius: calc(var(--border-radius-cute) / 1.2);
    display: inline-block;
    line-height: 0;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.06);
}

    .favorite-thumbnail-wrapper img {
        max-width: 100%;
        height: auto;
        border-radius: calc(var(--border-radius-cute) / 2);
        display: block;
        border: 3px solid var(--creamy-white);
    }

.favorite-item.book-item .favorite-thumbnail-wrapper img {
    max-height: 280px;
    width: auto;
}

.favorite-item.game-item .favorite-thumbnail-wrapper img,
.favorite-item.movie-item .favorite-thumbnail-wrapper img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

.favorite-title {
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 1.3em;
    color: var(--medium-rose-emphasis);
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
}

    .favorite-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .favorite-title a:hover {
            color: var(--dusty-rose-hover);
            text-decoration: underline;
        }

.favorite-meta {
    font-size: 0.85em;
    color: var(--soft-grey-text);
    font-style: italic;
    margin-top: -5px;
    margin-bottom: 12px;
}

.favorite-notes {
    font-family: var(--body-font);
    font-size: 0.9em;
    color: var(--warm-grey-text);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

    .favorite-notes p:last-child {
        margin-bottom: 0;
    }

.favorite-item .rant-link-wrapper {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dotted var(--soft-pink-accent);
}

.favorite-item .rant-link.button {
    background-color: var(--medium-pink-interactive);
    color: var(--creamy-white);
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

    .favorite-item .rant-link.button:hover {
        background-color: var(--medium-pink-hover);
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 3px 7px rgba(0,0,0,0.12);
    }

/* Swiper Carousel Specific Styles */
.favorites-section .swiper-container {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 50px; /* Increased space for nav buttons and pagination */
    position: relative;
    overflow: hidden; /* Add this if nav buttons are outside and you want to clip them */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Important for consistent card height */
    height: auto; /* Swiper handles height, or set explicitly if needed */
    box-sizing: border-box;
    padding: 5px; /* Add a little padding around slides if desired for visual separation */
}

    .swiper-slide .favorite-item {
        width: 100%;
        margin: 0;
        height: 100%; /* Make card fill the slide height */
    }

.favorites-section .swiper-button-next,
.favorites-section .swiper-button-prev {
    color: var(--dusty-rose-accent);
    background-color: rgba(253, 247, 245, 0.85);
    border-radius: 50%;
    width: 38px; /* Slightly larger */
    height: 38px;
    box-shadow: var(--soft-shadow);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    margin-top: -25px; /* Adjust to center with slide content */
    top: 50%; /* Swiper default, adjust if needed */
}

    .favorites-section .swiper-button-next::after,
    .favorites-section .swiper-button-prev::after {
        font-size: 16px;
        font-weight: bold;
    }

    .favorites-section .swiper-button-next:hover,
    .favorites-section .swiper-button-prev:hover {
        background-color: var(--soft-blush-pink);
        color: var(--strong-pink-emphasis);
        transform: scale(1.1);
    }

.favorites-section .swiper-button-prev {
    left: 10px; /* Adjust for better positioning */
}

.favorites-section .swiper-button-next {
    right: 10px; /* Adjust for better positioning */
}

.favorites-section .swiper-pagination {
    bottom: 10px !important; /* Ensure pagination is clearly visible */
}

    .favorites-section .swiper-pagination .swiper-pagination-bullet {
        background: var(--soft-blush-pink);
        opacity: 0.7;
        width: 10px;
        height: 10px;
        transition: background-color 0.2s ease, opacity 0.2s ease;
        margin: 0 5px !important; /* Add some space between bullets */
    }

    .favorites-section .swiper-pagination .swiper-pagination-bullet-active {
        background: var(--dusty-rose-accent);
        opacity: 1;
        transform: scale(1.2);
    }

.favorites-section .swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
    /* display: none !important; /* If you prefer to hide them completely */
}

@media (max-width: 767px) {
    .favorites-section {
        padding: 20px 10px; /* Adjust section padding for mobile */
    }

    .favorites-section-title {
        font-size: 2em;
    }

    .favorites-section .swiper-button-next,
    .favorites-section .swiper-button-prev {
        width: 32px;
        height: 32px;
        margin-top: -20px;
    }

        .favorites-section .swiper-button-next::after,
        .favorites-section .swiper-button-prev::after {
            font-size: 13px;
        }

    .favorites-section .swiper-container {
        padding-bottom: 40px;
    }

    .favorites-section .swiper-button-prev {
        left: 5px;
    }

    .favorites-section .swiper-button-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .favorites-section-title::before,
    .favorites-section-title::after {
        display: none;
    }
    /* Swiper will show 1 slide per view by default on small screens based on JS config */
}

/* --- Rant Page Template Styles --- */
/* (Assuming this is for a different page template, keeping it separate) */
.page-rant-template {
    /* Styles for the overall rant page template wrapper */
}

.rant-page-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px dashed var(--dusty-rose-accent);
    position: relative;
}

    .rant-page-header::before,
    .rant-page-header::after {
        content: "🗯️";
        font-size: 1.8em;
        color: var(--soft-blush-pink);
        opacity: 0.7;
        position: absolute;
        top: 5px;
    }

    .rant-page-header::before {
        left: 10px;
        transform: rotate(-15deg);
    }

    .rant-page-header::after {
        right: 10px;
        transform: rotate(15deg);
    }

.rant-title {
    font-family: var(--heading-font);
    color: var(--strong-pink-emphasis);
    font-size: 2.8em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    display: inline-block;
}

.rant-featured-image {
    margin: 0 auto 25px auto;
    max-width: 600px;
    border-radius: var(--border-radius-cute);
    overflow: hidden;
    border: 4px solid var(--soft-blush-pink);
    box-shadow: var(--soft-shadow);
}

    .rant-featured-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: calc(var(--border-radius-cute) - 4px);
    }

.rant-subject-display {
    font-size: 1.1em;
    color: var(--medium-rose-emphasis);
    font-family: var(--body-font);
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 20px;
    background-color: var(--pale-pink-bg);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px dashed var(--dusty-rose-accent);
}

    .rant-subject-display strong {
        color: var(--strong-pink-emphasis);
    }

.rant-content-area {
    background-color: var(--creamy-white);
    padding: 30px 35px;
    border-radius: var(--border-radius-cute);
    box-shadow: 0 0 0 5px var(--creamy-white), 0 0 0 7px var(--soft-blush-pink), var(--soft-shadow);
    line-height: 1.75;
}

    .rant-content-area p {
        margin-bottom: 1.5em;
        font-size: 1.05em;
        color: var(--warm-grey-text);
    }

        .rant-content-area p:last-of-type {
            margin-bottom: 0;
        }

    .rant-content-area blockquote {
        border-left: 5px solid var(--strong-pink-emphasis);
        background-color: var(--pale-pink-bg);
        padding: 20px;
        margin: 25px 0;
        border-radius: 0 var(--border-radius-cute) var(--border-radius-cute) 0;
        font-style: italic;
    }

        .rant-content-area blockquote p {
            color: var(--medium-rose-emphasis);
            margin-bottom: 0;
        }

.rant-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dotted var(--soft-pink-accent);
    font-size: 0.9em;
    color: var(--soft-grey-text);
    text-align: center;
}

    .rant-footer .edit-link a {
        color: var(--dusty-rose-accent);
        font-weight: bold;
    }

        .rant-footer .edit-link a:hover {
            color: var(--dusty-rose-hover);
        }

@media (max-width: 767px) {
    .rant-page-header::before,
    .rant-page-header::after {
        font-size: 1.5em;
    }

    .rant-title {
        font-size: 2.1em;
    }

    .rant-content-area {
        padding: 20px 25px;
        box-shadow: 0 0 0 3px var(--creamy-white), 0 0 0 5px var(--soft-blush-pink), var(--soft-shadow);
    }
}
