/*
Theme Name: Kawaii Notepad Theme
Theme URI: https://marisabel.nl/notepad-theme
Author: Marisabel Munoz
Author URI: https://im.marisabel.nl
Description: A kawaii WordPress theme that looks like a notepad entry — soft, cute, made for writers.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: notepad-theme
*/

/* ─────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────── */
:root {

    --ink: #1e1a1f;
    --ink-soft: #3d2e40;
    --ink-faint: #7a5f7d;
    --cream: #fffafd;
    --paper: #fef7fb;
    --paper-deep: #f3e6ef;
    --border: #e6d5e2;
    --sage: #6b949b;
    --sage-light: #c5e3e6;
    --blush: #ff0a54;
    --blush-light: #ffe0ed;
    --lavender: #ede3fd;
    --coral: #ccff33;

    /* Typography */
    --font-serif: 'Lora', 'Georgia', serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-mono: 'EnvyCodeR', 'Inconsolata', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;

    /* Measure */
    --max-width: 900px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ─────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--coral);
    background-image:
        radial-gradient(ellipse at 10% 8%, rgba(229, 146, 176, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 92%, rgba(122, 162, 168, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 40%, rgba(241, 234, 255, 0.3) 0%, transparent 60%),
        /* cute dot pattern */
        radial-gradient(circle, rgba(229, 146, 176, 0.08) 1.5px, transparent 1.5px);
    background-size: auto, auto, auto, 28px 28px;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink);
    padding: 2rem 1rem 4rem;
    min-height: 100vh;
}

/* ─────────────────────────────────────────
   LAYOUT — THE NOTEPAD (cuter and rounded)
   ───────────────────────────────────────── */
#notepad {
    background-color: var(--paper);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
    box-shadow:
        0 4px 12px rgba(229, 146, 176, 0.08),
        0 16px 48px rgba(74, 56, 92, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    transition: box-shadow 0.3s ease;
}

/* Soft pink margin line — like a real notepad */
#notepad::before {
    content: "";
    position: absolute;
    left: 3.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    pointer-events: none;
    border-radius: 2px;
}

@media (max-width: 620px) {
    #notepad {
        padding: var(--space-lg) var(--space-md);
        border-top-width: 3px;
        border-radius: var(--radius-md) var(--radius-md) var(--radius-sm) var(--radius-sm);
    }

    #notepad::before {
        display: none;
    }
}

/* ─────────────────────────────────────────
   SITE HEADER — cuter spacing
   ───────────────────────────────────────── */
.site-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px dotted var(--border);
}

.site-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-xs);
    border-bottom: 0;
}

.site-title a {
    color: var(--ink);
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-block;
        border-bottom: 0;

}

.site-title a:hover {
    color: var(--blush);
    transform: translateY(-2px);
}

.site-description {
    font-size: 0.85rem;
    color: var(--ink-faint);
    font-style: italic;
    margin-bottom: var(--space-md);
    letter-spacing: 0.03em;
}

/* Primary Navigation — rounded and soft */
.primary-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
}

.primary-menu li {
    display: inline;
}

.primary-menu a {
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 0;
    transition: all 0.25s ease;
    position: relative;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blush);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--blush);
}

/* ─────────────────────────────────────────
   TYPOGRAPHY — softer and cuter
   ───────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.2px;
}

h1 {
    font-size: 2.1rem;
}

h2 {
    font-size: 1.65rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.4em;
    line-height: 1.85;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--sage);
    text-decoration: none;
    border-bottom: 1px solid var(--sage-light);
    transition: all 0.2s ease;
    position: relative;
}

a:hover {
    color: var(--blush);
    border-bottom-color: var(--blush);
}

/* Accessibility: visible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blush);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

strong {
    font-weight: 700;
    color: var(--ink);
}

em {
    font-style: italic;
}

hr {
    border: none;
    text-align: center;
    margin: var(--space-xl) 0;
    color: var(--blush);
    font-size: 1rem;
    letter-spacing: 0.5em;
    opacity: 0.6;
}

/* ─────────────────────────────────────────
   POST LISTS (home, index, archive, tag)
   ───────────────────────────────────────── */
.post-list {
    list-style: none;
}

article {
    padding: var(--space-lg) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}


article:last-child {
    border-bottom: none;
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.35;
}

.post-title a {
    color: var(--ink);
    border-bottom: none;
    text-decoration: none;
    background-image: linear-gradient(var(--blush), var(--blush));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease, color 0.2s ease;
    padding-bottom: 2px;
}

.post-title a:hover {
    color: var(--blush);
    background-size: 100% 2px;
}

.post-meta {
    font-size: 0.75rem;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-sm);
    align-items: center;
    text-transform: uppercase;
}

.post-meta a {
    color: var(--ink-faint);
    border-bottom-color: transparent;
}

.post-meta a:hover {
    color: var(--blush);
    border-bottom-color: var(--blush-light);
}

.post-meta .sep {
    color: var(--border);
    user-select: none;
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
}

.read-more-link {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--blush);
    border-bottom: none;
    letter-spacing: 0.02em;
    display: inline-block;
    transition: transform 0.2s ease;
}

.read-more-link:hover {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────
   SINGLE POST / PAGE
   ───────────────────────────────────────── */
.entry-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.entry-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.entry-meta {
    font-size: 0.8rem;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-sm);
    align-items: center;
    text-transform: uppercase;
}

.entry-meta a {
    color: var(--ink-faint);
    border-bottom: none;
}

.entry-meta a:hover {
    color: var(--blush);
}

.reading-time {
    font-style: italic;
}

.entry-thumbnail {
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.entry-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.entry-thumbnail:hover img {
    transform: scale(1.02);
}

/* ─────────────────────────────────────────
   ENTRY CONTENT — PROSE STYLES (cuter)
   ───────────────────────────────────────── */
.entry-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink-soft);
    margin-bottom: var(--space-xl);
}

.entry-content>*+* {
    margin-top: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--ink);
    margin-top: 2.2em;
    margin-bottom: 0.6em;
}

.entry-content h2 {
    font-size: 1.45rem;
}

.entry-content h3 {
    font-size: 1.2rem;
}

.entry-content a {
    color: var(--sage);
    font-weight: 600;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    margin: var(--space-lg) auto;
    transition: transform 0.2s ease;
}

.entry-content img:hover {
    transform: scale(1.01);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.6em;
    margin-bottom: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content ul li::marker {
    color: var(--blush);
}

.entry-content ol li::marker {
    color: var(--blush);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9em;
}

/* Blockquote — softer rounded corners */
blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--blush-light);
    border: none;
    border-left: 4px solid var(--blush);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    transition: transform 0.2s ease;
}

blockquote:hover {
    transform: translateX(4px);
}

blockquote p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.75;
    margin: 0;
}

/* Code */
code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--paper-deep);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    color: var(--blush);
}

pre {
    background: var(--ink);
    color: var(--cream);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: var(--space-md) 0;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Tables — softer borders */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: var(--space-md) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.entry-content th {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--blush-light);
}

/* Page links (multipage posts) */
.page-links {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin: var(--space-lg) 0;
}

.page-links a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--paper-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.page-links a:hover {
    background: var(--blush);
    color: white;
    transform: translateY(-2px);
}

/* Entry footer (edit link) */
.entry-footer {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-top: var(--space-md);
}

/* ─────────────────────────────────────────
   POST NAVIGATION (prev / next) — cuter
   ───────────────────────────────────────── */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0 var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px dotted var(--border);
}

.nav-previous,
.nav-next {
    font-size: 0.82rem;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.post-navigation a {
    color: var(--ink);
    font-family: var(--font-display);
    border-bottom: none;
    font-style: italic;
    transition: all 0.2s ease;
    display: inline-block;
}

.post-navigation a:hover {
    color: var(--blush);
    transform: translateX(4px);
}

.nav-next a:hover {
    transform: translateX(-4px);
}

/* ─────────────────────────────────────────
   TAGS — softer and rounded
   ───────────────────────────────────────── */
.tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.tags-links a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    background: var(--coral);
    color: var(--ink-soft);
    padding: 4px 14px;
    border-radius: var(--radius-lg);
    border: none;
    transition: all 0.2s ease;
    font-weight: 700;
}

.tags-links a:hover {
    background: var(--blush);
    color: white;
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   ARCHIVE / TAG HEADERS
   ───────────────────────────────────────── */
.archive-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.archive-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--ink);
    margin-bottom: 0;
}

/* ─────────────────────────────────────────
   PAGINATION — rounder and cuter
   ───────────────────────────────────────── */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: var(--space-xl) 0 var(--space-md);
    font-size: 0.85rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--ink-soft);
    text-decoration: none;
    background: var(--paper);
    transition: all 0.2s ease;
    border-bottom: none;
    font-size: 0.9rem;
}

.page-numbers:hover {
    background: var(--blush);
    border-color: var(--blush);
    color: white;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: var(--blush);
    border-color: var(--blush);
    color: white;
    font-weight: 700;
    transform: scale(1.05);
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--ink-faint);
}

/* Old-style posts navigation (index.php) */
.navigation .nav-links {
    justify-content: space-between;
}

/* ─────────────────────────────────────────
   COMMENTS — softer and rounded
   ───────────────────────────────────────── */
.comments-area {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px dotted var(--border);
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: var(--space-lg);
}

.comment-list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.comment {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.comment:hover {
    background: var(--blush-light);
}

.children {
    list-style: none;
    padding-left: var(--space-lg);
    border-left: 2px dotted var(--border);
    margin-left: var(--space-sm);
    margin-top: var(--space-md);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.comment-author.vcard {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid var(--blush-light);
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.comment-author .avatar:hover {
    transform: scale(1.05);
}

.comment-author .fn {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    font-style: normal;
}

.comment-metadata {
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-metadata a {
    color: var(--ink-faint);
    border-bottom: none;
}

.comment-content p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.75;
}

.comment-awaiting-moderation {
    font-size: 0.8rem;
    color: var(--blush);
    font-style: italic;
    margin: 0.6em 0;
}

.reply {
    margin-top: var(--space-sm);
}

.reply a,
.comment-reply-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
    border: 1px solid var(--border);
    padding: 3px 12px;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.reply a:hover,
.comment-reply-link:hover {
    background: var(--blush);
    border-color: var(--blush);
    color: white;
    transform: translateY(-1px);
}

.no-comments {
    color: var(--ink-faint);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    padding: var(--space-md) 0;
}

/* Comment navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: var(--space-lg);
    color: var(--ink-faint);
}

/* ─────────────────────────────────────────
   COMMENT FORM — cuter inputs
   ───────────────────────────────────────── */
.comment-respond {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px dotted var(--border);
}

.comment-reply-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: var(--space-md);
}

.comment-notes {
    font-size: 0.8rem;
    color: var(--ink-faint);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.comment-form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    margin-bottom: 5px;
    margin-top: var(--space-sm);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    appearance: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blush);
    box-shadow: 0 0 0 4px rgba(229, 146, 176, 0.12);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form .submit {
    margin-top: var(--space-md);
    background: linear-gradient(135deg, var(--blush), #e592b0);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-form .submit:hover {
    background: linear-gradient(135deg, #d47a9a, #d47a9a);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(229, 146, 176, 0.35);
}

.comment-form .submit:active {
    transform: translateY(0);
}

/* ─────────────────────────────────────────
   SITE FOOTER — cute touch
   ───────────────────────────────────────── */
.site-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px dotted var(--border);
    font-size: 0.75rem;
    color: var(--ink-faint);
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer a {
    color: var(--ink-faint);
    border-bottom: 1px dotted var(--border);
}

.site-footer a:hover {
    color: var(--blush);
    border-bottom-color: var(--blush);
}

/* ─────────────────────────────────────────
   UTILITY & MISC
   ───────────────────────────────────────── */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    background: var(--blush);
    color: white;
    padding: var(--space-sm) var(--space-md);
    z-index: 100;
    border-radius: var(--radius-md);
}

.no-results {
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--ink-faint);
    font-style: italic;
}

img {
    max-width: 100%;
    height: auto;
}

/* Selection — cute color */
::selection {
    background: var(--lavender);
    color: var(--ink);
}

::-moz-selection {
    background: var(--lavender);
    color: var(--ink);
}

/* Scrollbar (Chrome/Edge) — thinner and pastel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--blush);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sage);
}

/* Smooth transitions for interactive elements */
button,
.button,
input[type="submit"],
.page-numbers,
.tags-links a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}