/* Personalitopia Performance: combined stylesheet. Sources are listed inline. */

/* personalitopia-nl-block-style <- /wp-content/plugins/personalitopia-newsletter/assets/css/block.css */
/* ==========================================================================
   Personalitopia Newsletter Subscribe Block Styles
   ========================================================================== */

@layer theme-blocks {
  .pt-sub {
    background: linear-gradient(135deg, var(--wp--preset--color--ink, #2C1F15) 0%, #3d2a1a 55%, #5a3a24 100%);
    color: var(--wp--preset--color--ivory, #F4EAD5);
    padding: var(--wp--preset--spacing--50, 4rem) var(--wp--preset--spacing--30, 2rem);
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--wp--custom--radius--card, 12px);
    margin: var(--wp--preset--spacing--30, 2rem) auto;
    font-family: var(--wp--preset--font-family--body, "Crimson Pro", Georgia, serif);
  }

  .pt-sub .pt-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--wp--preset--spacing--20, 1rem);
    box-sizing: border-box;
  }

  .pt-sub h2,
  .pt-sub .pt-sub-heading {
    color: var(--wp--preset--color--ivory, #F4EAD5);
    font-family: var(--wp--preset--font-family--heading, "Fraunces", Georgia, serif);
    font-weight: 400;
    font-size: var(--wp--preset--font-size--xx-large, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: var(--wp--preset--spacing--20, 1.5rem);
    margin-top: 0;
  }

  .pt-sub .pt-sec-label {
    color: var(--wp--preset--color--gold, #C9A563);
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--wp--preset--spacing--20, 1rem);
    font-weight: 600;
  }

  .pt-sub .pt-muted {
    color: rgba(244, 234, 213, 0.78);
    font-family: var(--wp--preset--font-family--body, "Crimson Pro", Georgia, serif);
    font-size: var(--wp--preset--font-size--large, 1.25rem);
    line-height: 1.62;
    margin: 0 0 var(--wp--preset--spacing--30, 1.5rem) 0;
  }

  .pt-sub-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--wp--preset--spacing--40, 3rem);
    align-items: center;
  }

  .pt-signup {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    margin-bottom: 0;
    max-width: 440px;
    width: 100%;
  }

  .pt-signup input[type="email"] {
    flex: 1;
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 15px;
    padding: 14px 16px;
    border-radius: var(--wp--custom--radius--btn, 8px);
    border: 1px solid rgba(244, 234, 213, 0.28);
    background: rgba(244, 234, 213, 0.06);
    color: var(--wp--preset--color--ivory, #F4EAD5);
    box-shadow: none;
    height: auto;
    line-height: normal;
  }

  .pt-signup input[type="email"]::placeholder {
    color: rgba(244, 234, 213, 0.5);
  }

  .pt-signup input[type="email"]:focus {
    outline: none;
    border-color: var(--wp--preset--color--gold, #C9A563);
    box-shadow: 0 0 0 1px var(--wp--preset--color--gold, #C9A563);
  }

  .pt-signup button.pt-btn {
    background: var(--wp--preset--color--gold, #C9A563);
    color: var(--wp--preset--color--ink, #2C1F15);
    border: none;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: var(--wp--custom--radius--btn, 8px);
    transition: background 0.2s ease-in-out;
    height: auto;
    line-height: normal;
  }

  .pt-signup button.pt-btn:hover {
    background: #d9b878;
  }

  .pt-choices {
    display: flex;
    gap: 24px;
    margin-top: 18px;
    flex-wrap: wrap;
  }

  .pt-choice {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 14px;
    color: rgba(244, 234, 213, 0.85);
    cursor: pointer;
    user-select: none;
    margin: 0;
  }

  .pt-choice input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--wp--preset--color--gold, #C9A563);
    cursor: pointer;
    margin: 0;
    padding: 0;
  }

  .pt-pushrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .pt-push-divider {
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.45);
    letter-spacing: 0.06em;
  }

  .pt-btn-push {
    background: transparent;
    border: 1px solid var(--wp--preset--color--gold, #C9A563);
    color: var(--wp--preset--color--gold, #C9A563);
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: var(--wp--custom--radius--btn, 8px);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    height: auto;
    line-height: normal;
  }

  .pt-btn-push:hover {
    background: rgba(201, 165, 99, 0.12);
  }

  .pt-btn-push.on {
    background: var(--wp--preset--color--gold, #C9A563);
    color: var(--wp--preset--color--ink, #2C1F15);
    border-color: var(--wp--preset--color--gold, #C9A563);
  }

  .pt-sub-note {
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.55);
    margin-top: 18px;
  }

  .pt-sub-card {
    border: 1px solid rgba(244, 234, 213, 0.18);
    border-radius: var(--wp--custom--radius--card, 12px);
    padding: var(--wp--preset--spacing--30, 2rem);
    background: rgba(244, 234, 213, 0.04);
    box-sizing: border-box;
  }

  .pt-sub-card .pt-label {
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wp--preset--color--gold, #C9A563);
    margin-bottom: 18px;
    font-weight: 600;
  }

  .pt-sub-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(244, 234, 213, 0.12);
    font-size: 18px;
    font-family: var(--wp--preset--font-family--body, "Crimson Pro", Georgia, serif);
    color: var(--wp--preset--color--ivory, #F4EAD5);
    text-align: left;
  }

  .pt-sub-item:last-child {
    border-bottom: none;
  }

  .pt-sub-item span {
    font-family: var(--wp--preset--font-family--ui, "Manrope", system-ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.6);
    display: block;
    margin-top: 3px;
  }

  @media(max-width:880px) {
    .pt-sub-grid {
      grid-template-columns: 1fr;
      gap: 42px;
    }
  }
}


/* twentytwentyfour-parent-style <- /wp-content/themes/twentytwentyfour-child/style.css */
/*
Theme Name: Erik 2024 Custom
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Erik 2024 Custom
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.0
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/




/* personalitopia-design-tokens <- /wp-content/themes/twentytwentyfour-child/assets/css/design-tokens.css */
/**
 * Personalitopia Design System Tokens v2.0
 * Theme: twentytwentyfour-child
 * Source of truth for global colors, typography, spacing, radii, elevations, and cascade layers.
 */

/* ==========================================================================
   Design Tokens & Preset Mapping
   ========================================================================== */
:root {
    /* Brand Palette (Synchronized with theme.json presets) */
    --color-ink: var(--wp--preset--color--ink, #2C1F15);
    --color-ivory: var(--wp--preset--color--ivory, #F4EAD5);
    --color-paper: var(--wp--preset--color--paper, #FBF5E8);
    --color-bg: var(--wp--preset--color--ivory, #F4EAD5);
    --color-bg-subtle: var(--wp--preset--color--base-2, #FAF6EC);
    --color-surface: var(--wp--preset--color--surface, #FFFFFF);
    --color-border: var(--wp--preset--color--border, #E2E4E7);
    --color-border-subtle: var(--wp--preset--color--border-subtle, #E6E3DC);
    --color-primary: var(--wp--preset--color--terracotta, #B8674A);
    --color-primary-hover: #9E5338;
    --color-sandstone: var(--wp--preset--color--terracotta, #B8674A);
    --color-terracotta: var(--wp--preset--color--terracotta, #B8674A);
    --color-blush: var(--wp--preset--color--blush, #E8B09A);
    --color-blush-light: #F7DDD3;
    --color-rust: var(--wp--preset--color--gold, #C9A563);
    --color-gold: var(--wp--preset--color--gold, #C9A563);
    --color-gold-light: #F4E7CC;
    --color-sage: var(--wp--preset--color--sage, #8AA68E);
    --color-sage-light: #DCE7DE;
    --color-sage-deep: var(--wp--preset--color--deep-green, #2A3A2D);
    --color-pastel-blue: var(--wp--preset--color--slate, #7B91B8);
    --color-slate: var(--wp--preset--color--slate, #7B91B8);
    --color-slate-light: #BACCE0;
    --color-slate-deep: var(--wp--preset--color--deep-navy, #222E42);
    --color-text: var(--wp--preset--color--ink, #2C1F15);
    --color-text-muted: var(--wp--preset--color--text-muted, #575551);
    --color-text-light: var(--wp--preset--color--text-light, #787571);
    --color-deep-coral: var(--wp--preset--color--deep-coral, #6B3724);

    /* Shorthand Color Aliases */
    --ink: var(--wp--preset--color--ink, #2C1F15);
    --ivory: var(--wp--preset--color--ivory, #F4EAD5);
    --paper: var(--wp--preset--color--paper, #FBF5E8);
    --terracotta: var(--wp--preset--color--terracotta, #B8674A);
    --blush: var(--wp--preset--color--blush, #E8B09A);
    --gold: var(--wp--preset--color--gold, #C9A563);
    --sage: var(--wp--preset--color--sage, #8AA68E);
    --slate: var(--wp--preset--color--slate, #7B91B8);
    --ink-70: rgba(44, 31, 21, 0.70);
    --ink-50: rgba(44, 31, 21, 0.50);
    --ink-10: rgba(44, 31, 21, 0.10);

    /* Nature Group Backgrounds */
    --bg-group-parchment: #F4EAD5;
    --bg-group-sage-start: #E6EFE7;
    --bg-group-sage-end: #BDD2BF;
    --bg-group-ink-start: #261B12;
    --bg-group-ink-end: #1A1009;
    --bg-group-slate-start: #E6EDF5;
    --bg-group-slate-end: #C8D6E6;
    --bg-group-dawn-start: #F5DFD5;
    --bg-group-dawn-end: #E8B9A7;

    /* Typography Scale */
    --font-heading: var(--wp--preset--font-family--heading, 'Fraunces', Georgia, serif);
    --font-display: var(--wp--preset--font-family--heading, 'Fraunces', Georgia, serif);
    --font-body: var(--wp--preset--font-family--body, 'Crimson Pro', Georgia, serif);
    --font-ui: var(--wp--preset--font-family--ui, 'Manrope', system-ui, sans-serif);
    --font-mono: var(--wp--preset--font-family--mono, 'JetBrains Mono', monospace);
    --display: var(--font-heading);
    --body: var(--font-body);
    --ui: var(--font-ui);

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Border Radii */
    --radius-xs: var(--wp--custom--radius--xs, 2px);
    --radius-sm: var(--wp--custom--radius--sm, 4px);
    --radius-btn: var(--wp--custom--radius--btn, 8px);
    --radius-md: var(--wp--custom--radius--md, 8px);
    --radius-card: var(--wp--custom--radius--card, 12px);
    --radius-lg: var(--wp--custom--radius--lg, 12px);
    --radius-xl: var(--wp--custom--radius--xl, 16px);
    --radius-full: var(--wp--custom--radius--full, 9999px);

    /* Elevation & Shadows */
    --shadow-sm: var(--wp--preset--shadow--sm, 0 1px 2px rgba(44, 31, 21, 0.05));
    --shadow-card: var(--wp--preset--shadow--card, 0 4px 12px rgba(44, 31, 21, 0.06));
    --shadow-pop: var(--wp--preset--shadow--pop, 0 10px 30px rgba(44, 31, 21, 0.09), 0 2px 6px rgba(44, 31, 21, 0.03));
    --shadow-lg: var(--wp--preset--shadow--lg, 0 10px 25px rgba(44, 31, 21, 0.08));

    /* Transitions & Animation */
    --transition-fast: 0.15s ease-in-out;
  }

/* ==========================================================================
   Tailwind v4 @theme Configuration (When compiling with Tailwind)
   ========================================================================== */
@theme {
  --color-ink: var(--wp--preset--color--ink, #2C1F15);
  --color-ivory: var(--wp--preset--color--ivory, #F4EAD5);
  --color-paper: var(--wp--preset--color--paper, #FBF5E8);
  --color-terracotta: var(--wp--preset--color--terracotta, #B8674A);
  --color-blush: var(--wp--preset--color--blush, #E8B09A);
  --color-gold: var(--wp--preset--color--gold, #C9A563);
  --color-sage: var(--wp--preset--color--sage, #8AA68E);
  --color-slate: var(--wp--preset--color--slate, #7B91B8);
  --color-surface: var(--wp--preset--color--surface, #FFFFFF);
  --color-border: var(--wp--preset--color--border, #E2E4E7);
  --color-border-subtle: var(--wp--preset--color--border-subtle, #E6E3DC);

  --font-display: var(--wp--preset--font-family--heading);
  --font-heading: var(--wp--preset--font-family--heading);
  --font-body: var(--wp--preset--font-family--body);
  --font-ui: var(--wp--preset--font-family--ui);
  --font-mono: var(--wp--preset--font-family--mono);
}


/* personalitopia-utilities <- /wp-content/themes/twentytwentyfour-child/assets/css/utilities.css */
/**
 * Personalitopia Modular Utility & Component Styles v2.0
 * Theme: twentytwentyfour-child
 * Standardized utility classes and layout wrapper components.
 */


  /* ==========================================================================
     1. Flexbox & Grid Primitives
     ========================================================================== */
  .flex { display: flex; }
  .inline-flex { display: inline-flex; }
  .flex-row { flex-direction: row; }
  .flex-col { flex-direction: column; }
  .flex-wrap { flex-wrap: wrap; }
  .items-start { align-items: flex-start; }
  .items-center { align-items: center; }
  .items-end { align-items: flex-end; }
  .justify-start { justify-content: flex-start; }
  .justify-center { justify-content: center; }
  .justify-between { justify-content: space-between; }
  .justify-around { justify-content: space-around; }

  .grid { display: grid; }
  .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .gap-1 { gap: var(--space-1); }
  .gap-2 { gap: var(--space-2); }
  .gap-3 { gap: var(--space-3); }
  .gap-4 { gap: var(--space-4); }
  .gap-6 { gap: var(--space-6); }
  .gap-8 { gap: var(--space-8); }

  /* ==========================================================================
     2. Spacing (Padding & Margins)
     ========================================================================== */
  .p-0 { padding: 0; }
  .p-2 { padding: var(--space-2); }
  .p-4 { padding: var(--space-4); }
  .p-6 { padding: var(--space-6); }
  .p-8 { padding: var(--space-8); }

  .px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
  .px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
  .px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

  .py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
  .py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }

  .m-0 { margin: 0; }
  .mb-2 { margin-bottom: var(--space-2); }
  .mb-4 { margin-bottom: var(--space-4); }
  .mb-6 { margin-bottom: var(--space-6); }
  .mb-8 { margin-bottom: var(--space-8); }
  .mt-4 { margin-top: var(--space-4); }
  .mt-6 { margin-top: var(--space-6); }
  .mx-auto { margin-left: auto; margin-right: auto; }

  /* ==========================================================================
     3. Backgrounds, Borders & Radii
     ========================================================================== */
  .bg-surface { background-color: var(--color-surface); }
  .bg-base { background-color: var(--color-bg); }
  .bg-primary { background-color: var(--color-primary); }

  .border { border: 1px solid var(--color-border); }
  .border-subtle { border: 1px solid var(--color-border-subtle); }
  .border-primary { border: 1px solid var(--color-primary); }
  .border-none { border: none; }

  .rounded-sm { border-radius: var(--radius-sm); }
  .rounded-md { border-radius: var(--radius-md); }
  .rounded-lg { border-radius: var(--radius-lg); }
  .rounded-full { border-radius: var(--radius-full); }

  .shadow-card { box-shadow: var(--shadow-card); }
  .shadow-lg { box-shadow: var(--shadow-lg); }

  /* ==========================================================================
     4. Typography Utilities
     ========================================================================== */
  .font-heading { font-family: var(--font-heading); }
  .font-body { font-family: var(--font-body); }
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }
  .text-muted { color: var(--color-text-muted); }
  .text-primary { color: var(--color-primary); }
  .text-main { color: var(--color-text); }
  .font-bold { font-weight: 700; }
  .font-semibold { font-weight: 600; }

  /* ==========================================================================
     5. Standardized Container & Component Classes
     ========================================================================== */
  .site-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .site-card-container {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-card);
  }

  .site-btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
  }

  .site-btn--primary:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
  }

  .site-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background-color: rgba(184, 103, 74, 0.1);
    color: var(--color-primary);
  }

  /* Personality Test Alignfull & Result Container Layout */
  #wsf-pt-result-root.alignfull,
  #wsf-pt-runner-root.alignfull,
  .entry-content > #wsf-pt-result-root.alignfull,
  .entry-content > #wsf-pt-runner-root.alignfull {
    max-width: none;
    margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1);
    margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1);
    width: auto;
  }

  #wsf-pt-result-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
  }

  @media (max-width: 600px) {
    #wsf-pt-runner-root,
    #wsf-pt-result-root {
      padding: 0;
    }
  }

  /* ==========================================================================
     6. Nature Group Container & Layout Utilities
     ========================================================================== */
  .bg-parchment {
    background-color: var(--color-bg);
    background-image: radial-gradient(#E8DAC2 1px, transparent 1px), linear-gradient(180deg, #F8F1E4 0%, #EFE3CA 100%);
    background-size: 20px 20px, 100% 100%;
  }

  .bg-sage-gradient {
    background: linear-gradient(180deg, var(--bg-group-sage-start) 0%, #D0DFD2 50%, var(--bg-group-sage-end) 100%);
    color: var(--color-sage-deep);
  }

  .bg-ink-gradient {
    background: linear-gradient(180deg, var(--bg-group-ink-start) 0%, var(--bg-group-ink-end) 100%);
    color: #FAF6EC;
  }

  .bg-slate-gradient {
    background: linear-gradient(180deg, var(--bg-group-slate-start) 0%, var(--bg-group-slate-end) 100%);
    color: var(--color-slate-deep);
  }

  .bg-dawn-gradient {
    background: linear-gradient(180deg, var(--bg-group-dawn-start) 0%, var(--bg-group-dawn-end) 100%);
    color: #3D1C11;
  }

  /* Popping White Card Utility */
  .card-pop-white {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-pop);
    padding: var(--space-6);
  }

  /* Typography Utilities */
  .p-lead, .font-lead {
    font-family: var(--font-body);
    font-size: 1.3rem;
    line-height: 1.62;
    color: var(--color-text);
    opacity: 0.92;
  }

  .drop-cap-terracotta::first-letter {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    float: left;
    line-height: 0.78;
    padding-right: 14px;
    padding-top: 4px;
    color: var(--color-primary);
    font-weight: 500;
  }

  /* Button Variation Classes */
  .btn-terracotta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-family: var(--font-ui);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .btn-terracotta:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
  }

  .btn-blush-tint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blush-light);
    color: var(--color-deep-coral);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-family: var(--font-ui);
    text-decoration: none;
    border: 1px solid rgba(184, 103, 74, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .btn-blush-tint:hover {
    background-color: var(--color-blush);
  }

  .btn-ink-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-text);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-family: var(--font-ui);
    text-decoration: none;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .btn-ink-outline:hover {
    background-color: rgba(44, 31, 21, 0.05);
    border-color: var(--color-text);
  }

  /* ==========================================================================
     10. Gutenberg Site Blocks & Template Parts Zero-Gap Reset
     ========================================================================== */
  :where(.wp-site-blocks) > *,
  :where(.wp-site-blocks) > header,
  :where(.wp-site-blocks) > footer,
  :where(.wp-site-blocks) > main,
  :where(.wp-site-blocks) > #wp--skip-link--target,
  :where(.wp-site-blocks) > .wp-block-template-part,
  :where(.wp-site-blocks) > .entry-content,
  :where(.wp-site-blocks) > .wp-block-post-content,
  :where(.wp-site-blocks) > .wp-block-post-content.has-global-padding,
  :where(.wp-site-blocks) > .wp-block-post-content-is-layout-constrained,
  :where(.wp-site-blocks) > footer.wp-block-template-part,
  :where(.wp-site-blocks) > header.wp-block-template-part,
  .wp-site-blocks > *,
  .wp-site-blocks > .wp-block-template-part,
  .wp-site-blocks > .entry-content,
  .wp-site-blocks > .wp-block-post-content,
  .wp-block-template-part:where(.wp-site-blocks) > *,
  header.wp-block-template-part,
  footer.wp-block-template-part,
  .wp-block-template-part,
  .entry-content.wp-block-post-content,
  .wp-block-post-content.is-layout-constrained,
  #wp--skip-link--target {
    margin-block-start: 0;
    margin-top: 0;
    margin-block-end: 0;
    margin-bottom: 0;
  }

/* ==========================================================================
   11. Global Custom Scrollbars (Warm Terracotta & Soft Ink)
   ========================================================================== */
html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 103, 74, 0.45) rgba(44, 31, 21, 0.05);
}

html:hover,
body:hover,
*:hover {
  scrollbar-color: var(--wp--preset--color--terracotta, #B8674A) rgba(44, 31, 21, 0.08);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(44, 31, 21, 0.05);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(184, 103, 74, 0.45);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background-color: var(--wp--preset--color--terracotta, #B8674A);
  background-clip: content-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}


/* personalitopia-header-style <- /wp-content/themes/twentytwentyfour-child/assets/css/header.css */
/**
 * Personalitopia Component Styles: Header, Navigation, Auth, and Smart Search
 * Theme: twentytwentyfour-child
 */


/* ==========================================================================
   Interactive Premium Header & Fullscreen Overlay Menu Styles
   ========================================================================== */

/* Top Banner */
.pt-header-banner {
  background-color: var(--terracotta);
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 16px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-header-banner a {
  color: var(--ivory);
  text-decoration: underline;
  margin-left: 6px;
  transition: opacity 0.2s;
}
.pt-header-banner a:hover {
  opacity: 0.88;
}
.pt-banner-eyebrow {
  opacity: 0.85;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-right: 4px;
}
.pt-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  text-decoration: none !important;
}
.pt-banner-highlight {
  font-weight: 600;
}
.pt-banner-progress-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(44, 31, 21, 0.25);
  border-radius: 999px;
  height: 18px;
  padding: 0 8px;
  overflow: hidden;
}
.pt-banner-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  opacity: 0.9;
  border-radius: 999px;
  z-index: 1;
}
.pt-banner-progress-text {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

/* ==========================================================================
   Dynamic Contextual Subheader Companion
   ========================================================================== */
.pt-dynamic-subheader {
  background-color: var(--paper, #FAF6EC);
  border-bottom: 1px solid rgba(44, 31, 21, 0.08);
  box-shadow: 0 2px 10px rgba(44, 31, 21, 0.02);
  width: 100%;
  position: sticky;
  top: 68px;
  z-index: 90;
}
.pt-dynamic-subheader-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pt-subnav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pt-subnav-layer-tag {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  background: rgba(184, 103, 74, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}
.pt-subnav-dropdown-wrapper {
  position: relative;
}
.pt-subnav-trigger {
  all: unset;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(44, 31, 21, 0.04);
  border: 1px solid rgba(44, 31, 21, 0.08);
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pt-subnav-trigger:hover,
.pt-subnav-trigger:focus,
.pt-subnav-dropdown-wrapper:hover .pt-subnav-trigger {
  background: #FFFFFF;
  border-color: var(--terracotta);
  color: var(--terracotta);
  box-shadow: 0 2px 8px rgba(44, 31, 21, 0.06);
}
.pt-subnav-chevron {
  font-size: 11px;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.pt-subnav-dropdown-wrapper:hover .pt-subnav-chevron,
.pt-subnav-trigger[aria-expanded="true"] .pt-subnav-chevron {
  transform: rotate(180deg);
}

.pt-subnav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  max-width: 480px;
  max-height: 440px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid rgba(44, 31, 21, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(44, 31, 21, 0.12);
  padding: 16px;
  z-index: 120;
}
.pt-subnav-dropdown-wrapper:hover .pt-subnav-dropdown-menu,
.pt-subnav-dropdown-wrapper:focus-within .pt-subnav-dropdown-menu,
.pt-subnav-dropdown-menu.pt-active {
  display: block;
}
.pt-subnav-dropdown-group {
  margin-bottom: 14px;
}
.pt-subnav-dropdown-group:last-child {
  margin-bottom: 0;
}
.pt-subnav-group-title {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70, #575551);
  border-bottom: 1px solid rgba(44, 31, 21, 0.08);
  padding-bottom: 4px;
  margin-bottom: 8px;
}
.pt-subnav-group-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-subnav-group-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.pt-subnav-link {
  display: block;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.pt-subnav-link:hover,
.pt-subnav-link:focus,
.pt-subnav-link.is-current {
  background: rgba(184, 103, 74, 0.08);
  color: var(--terracotta);
  font-weight: 600;
  padding-left: 12px;
}

.pt-subnav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pt-subnav-cta {
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  transition: all 0.2s ease;
}
.pt-subnav-cta:hover {
  text-decoration: underline;
  color: #9E5338;
}
.pt-subnav-subtype-btn {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(184, 103, 74, 0.08);
  border: 1px solid rgba(184, 103, 74, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.pt-subnav-subtype-btn:hover {
  background: var(--terracotta);
  color: #FFFFFF;
  border-color: var(--terracotta);
}

@media (max-width: 768px) {
  .pt-dynamic-subheader {
    top: 60px;
  }
  .pt-dynamic-subheader-inner {
    padding: 6px 16px;
  }
  .pt-subnav-dropdown-menu {
    min-width: 260px;
    left: -10px;
  }
  .pt-subnav-right {
    display: none;
  }
}

/* ==========================================================================
   Main Header Navigation Bar
   ========================================================================== */
.pt-header-navbar {
  background-color: var(--paper, #FAF6EC);
  border-bottom: 1px solid rgba(44, 31, 21, 0.06);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(44, 31, 21, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.pt-header-logo {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  line-height: 1;
}
.pt-header-logo-compass {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(44, 31, 21, 0.08));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pt-header-logo:hover .pt-header-logo-compass {
  transform: rotate(15deg) scale(1.08);
}
.pt-header-logo-brand {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--terracotta);
  letter-spacing: -0.01em;
  line-height: 1;
}
.pt-header-logo em {
  font-style: italic;
  color: var(--terracotta);
}

.pt-header-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-header-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
}
.pt-header-nav-links a {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.pt-header-nav-links a:hover {
  color: var(--ink);
}
.pt-header-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--terracotta);
  transition: width 0.2s ease;
}
.pt-header-nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.pt-nav-btn {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  border: 1.5px solid var(--terracotta);
  background-color: transparent;
  color: var(--terracotta);
}
.pt-nav-btn:hover {
  background-color: var(--terracotta);
  color: var(--ivory);
}

/* Mobile Hamburger Button */
.pt-burger {
  display: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--ink-70);
  transition: all 0.2s ease;
}
.pt-burger:hover {
  color: var(--ink);
  background-color: rgba(44, 31, 21, 0.06);
}
.pt-burger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8px;
  display: block;
}

/* Mobile Drawer */
.pt-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 31, 21, 0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pt-drawer-backdrop.pt-active {
  opacity: 1;
  pointer-events: auto;
}

.pt-header-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100%;
  background: var(--paper);
  z-index: 200;
  padding: 32px 24px;
  box-shadow: -10px 0 30px rgba(44, 31, 21, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pt-header-drawer.pt-active {
  right: 0;
}
.pt-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.pt-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.pt-drawer-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
}
.pt-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pt-drawer-links a {
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

/* Fullscreen Overlay Modal */
/* ==========================================================================
   The 4-Layer Living Compendium Overlay (Warm Parchment Canvas)
   ========================================================================== */
.pt-types-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(244, 234, 213, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 60px 32px 80px 32px;
}
.pt-types-overlay.pt-active {
  opacity: 1;
  pointer-events: auto;
}
.pt-overlay-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: rgba(44, 31, 21, 0.06);
  border: 1px solid rgba(44, 31, 21, 0.1);
  border-radius: 50%;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 310;
  color: var(--ink, #2C1F15);
  transition: all 0.2s ease;
}
.pt-overlay-close:hover {
  background: var(--terracotta);
  color: var(--ivory, #FAF6EC);
  border-color: var(--terracotta);
  transform: rotate(90deg);
}
.pt-overlay-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.pt-compendium-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.pt-compendium-header {
  text-align: center;
  margin-bottom: 40px;
}
.pt-compendium-eyebrow {
  display: inline-block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.pt-compendium-title {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink, #2C1F15);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}
.pt-compendium-subtitle {
  font-family: var(--body, 'Crimson Pro', serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70, #575551);
  max-width: 680px;
  margin: 0 auto;
}

.pt-compendium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pt-compendium-col {
  background: #FFFFFF;
  border: 1px solid rgba(44, 31, 21, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(44, 31, 21, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-compendium-col:hover {
  box-shadow: 0 12px 32px rgba(44, 31, 21, 0.08);
  transform: translateY(-2px);
}

.pt-compendium-col-flagship {
  border: 1.5px solid rgba(184, 103, 74, 0.4);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EC 100%);
}

.pt-compendium-col-header {
  border-bottom: 1px solid rgba(44, 31, 21, 0.08);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.pt-compendium-layer-badge {
  display: inline-block;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: rgba(184, 103, 74, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.pt-badge-flagship {
  background: var(--terracotta);
  color: #FFFFFF;
}

.pt-compendium-col-title {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px 0;
}
.pt-compendium-col-desc {
  font-family: var(--body, 'Crimson Pro', serif);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-70, #575551);
  margin: 0 0 14px 0;
  min-height: 42px;
}

.pt-compendium-col-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pt-comp-btn-primary {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--terracotta);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.pt-comp-btn-primary:hover {
  background: #9E5338;
}
.pt-comp-btn-link {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-70);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pt-comp-btn-link:hover {
  color: var(--terracotta);
}

.pt-compendium-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.pt-comp-item-link {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: block;
}
.pt-comp-item-link:hover {
  background: rgba(184, 103, 74, 0.08);
  color: var(--terracotta);
  padding-left: 12px;
}

/* Subgroups for 16 Cognitive Functions */
.pt-comp-subgroup {
  margin-bottom: 14px;
}
.pt-comp-subgroup:last-child {
  margin-bottom: 0;
}
.pt-comp-subgroup-title {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-70, #575551);
  padding: 4px 0 2px 0;
  border-bottom: 1px dashed rgba(44, 31, 21, 0.12);
  margin-bottom: 6px;
}

/* Values List & Book Card in Layer 4 */
.pt-comp-values-list {
  margin-bottom: 16px;
}
.pt-comp-value-link {
  font-weight: 600;
  color: var(--ink);
}

.pt-compendium-book-card-wrap {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(44, 31, 21, 0.08);
}
.pt-compendium-book-card {
  display: block;
  background: #2C1F15;
  color: #FAF6EC;
  padding: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.pt-compendium-book-card:hover {
  transform: translateY(-2px);
}
.pt-compendium-book-card .pt-ks-badge {
  display: inline-block;
  font-family: var(--ui);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: #2C1F15;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.pt-compendium-book-card h4 {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-size: 15px;
  font-weight: 500;
  color: #FAF6EC;
  margin: 0 0 4px 0;
}
.pt-compendium-book-card p {
  font-family: var(--body, 'Crimson Pro', serif);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(250, 246, 236, 0.8);
  margin: 0 0 8px 0;
}
.pt-compendium-book-card .pt-ks-cta {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold);
}

/* Primary CTA Navigation Button in Header */
.pt-nav-cta-btn {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: var(--terracotta);
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
}
.pt-nav-cta-btn:hover {
  background-color: #9E5338;
  transform: translateY(-1px);
}
.pt-nav-cta-btn::after {
  display: none !important;
}

.pt-nav-trigger-overlay {
  cursor: pointer;
}
.pt-nav-chevron {
  font-size: 10px;
  color: var(--terracotta);
  margin-left: 2px;
}

.pt-header-logo-prefix {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 6px;
}
.pt-header-logo-brand {
  font-family: var(--heading, 'Fraunces', Georgia, serif);
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

@media (max-width: 1100px) {
  .pt-compendium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pt-compendium-grid {
    grid-template-columns: 1fr;
  }
  .pt-types-overlay {
    padding: 60px 16px 40px 16px;
  }
}

/* Responsive Header */
@media (max-width: 880px) {
  .pt-header-nav-links, .pt-header-links, .pt-header-navbar .pt-nav-btn {
    display: none;
  }
  .pt-header-drawer .pt-nav-btn {
    display: block;
    margin: 20px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .pt-burger {
    display: block;
  }
  .pt-header-navbar {
    padding: 14px 20px;
  }
  .pt-types-overlay {
    padding: 70px 20px 40px 20px;
  }
  .pt-overlay-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pt-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Fullscreen Popup Accordions */
.pt-accordion-sec {
  border-bottom: 1px solid rgba(244, 234, 213, 0.08);
  margin-bottom: 18px;
}
.pt-accordion-sec:last-child {
  border-bottom: none;
}
.pt-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.pt-accordion-toggle {
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.pt-accordion-toggle:hover {
  color: var(--gold);
}
.pt-accordion-toggle .pt-arrow {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pt-accordion-sec.pt-active .pt-arrow {
  transform: rotate(180deg);
}

.pt-generic-link {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  transition: opacity 0.2s;
  padding-bottom: 2px;
}
.pt-generic-link:hover {
  opacity: 0.8;
  border-bottom-style: solid;
}

.pt-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  box-sizing: border-box;
}
.pt-accordion-sec.pt-active .pt-accordion-content {
  max-height: 600px;
  padding-bottom: 24px;
  overflow: visible;
}

.pt-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.pt-header-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pt-test-link {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid rgba(244, 234, 213, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.pt-test-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 165, 99, 0.08);
}

/* ==========================================================================
   User Account / Auth Overlays Styling
   ========================================================================== */
.pt-navbar-auth-wrapper {
  display: inline-block;
  vertical-align: middle;
}
.pt-drawer-auth-wrapper {
  margin-top: 15px;
  width: 100%;
}
.pt-login-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.pt-login-link:hover {
  color: var(--ink);
  background-color: rgba(44, 31, 21, 0.06);
}
.pt-login-icon {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8px;
}
.pt-profile-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0;
}
.pt-profile-btn:hover {
  transform: scale(1.05);
}
.pt-profile-initials {
  letter-spacing: -0.05em;
}
.pt-profile-menu-container {
  position: relative;
  display: inline-block;
}
.pt-profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background-color: var(--ivory, #faf9f6);
  border: 1.5px solid #eae6db;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(44, 31, 21, 0.08);
  min-width: 130px;
  z-index: 1000;
  padding: 6px 0;
  text-align: left;
}
.pt-profile-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.pt-profile-dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.pt-profile-dropdown a:hover {
  background-color: rgba(44, 31, 21, 0.05);
  color: var(--terracotta);
}
.pt-profile-menu-container:hover .pt-profile-dropdown {
  display: block;
}
.pt-drawer-profile-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.pt-drawer-logout-btn {
  display: inline-block;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--terracotta);
  text-decoration: underline;
  padding: 4px 14px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}
.pt-drawer-logout-btn:hover {
  color: var(--ink);
}

.pt-drawer-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(44, 31, 21, 0.1);
  text-align: left;
  transition: background-color 0.2s;
  margin-top: 15px;
}
.pt-drawer-profile-btn:hover {
  background-color: rgba(44, 31, 21, 0.05);
}
.pt-drawer-profile-btn .pt-profile-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
}
.pt-drawer-profile-btn .pt-profile-name {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* Modal Overlay backdrop styling */
.pt-account-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 31, 21, 0.6);
  backdrop-filter: blur(5px);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
}
.pt-account-overlay.pt-active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Box - Clean Warm Paper styling per guidelines */
.pt-account-container {
  background: var(--paper);
  border: 1px solid rgba(44, 31, 21, 0.12);
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 38px;
  box-sizing: border-box;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.pt-account-overlay.pt-active .pt-account-container {
  transform: translateY(0);
  opacity: 1;
}

/* Helper utilities */
.pt-hidden {
  display: none;
}
.pt-account-container h2,
.pt-account-container h3,
.pt-account-container h4 {
  font-family: var(--display);
  font-weight: 500; /* Strict constraint: 500 weight heading */
  color: var(--ink);
  margin-top: 0;
}
.pt-account-container h2 {
  font-size: 32px;
  margin-bottom: 24px;
}
.pt-account-container h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--terracotta);
}

/* Loading Wrapper */
.pt-account-loading-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  width: 100%;
}
.pt-account-loading-wrapper.pt-active {
  display: flex;
}
.pt-account-loading-wrapper.pt-hidden {
  display: none;
}
.pt-account-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(184, 103, 74, 0.15);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: pt-spin 1s infinite linear;
}
@keyframes pt-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tabs */
.pt-account-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(44, 31, 21, 0.1);
  margin-bottom: 24px;
  padding-bottom: 12px;
}
.pt-account-tabs .pt-tab-btn {
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-70);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  position: relative;
}
.pt-account-tabs .pt-tab-btn:hover {
  color: var(--ink);
}
.pt-account-tabs .pt-tab-btn.pt-active {
  color: var(--terracotta);
}
.pt-account-tabs .pt-tab-btn.pt-active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--terracotta);
}

/* Forms structure */
.pt-account-form {
  display: none;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}
.pt-account-form.pt-active {
  display: flex;
}
.pt-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-form-group label {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
}
.pt-form-group input {
  font-family: var(--ui);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(44, 31, 21, 0.15);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pt-form-group input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 103, 74, 0.1);
}

.pt-form-group select {
  font-family: var(--ui);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(44, 31, 21, 0.15);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
}
.pt-form-group select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 103, 74, 0.1);
}

/* Mobile Profile Menu Toggle Overrides */
@media (max-width: 768px) {
  .pt-profile-menu-container:hover .pt-profile-dropdown {
    display: none;
  }
  .pt-profile-menu-container.pt-active .pt-profile-dropdown {
    display: block;
  }
}

/* Alert Boxes */
.pt-form-error {
  display: none;
  font-family: var(--ui);
  font-size: 13px;
  color: #a94442;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
}
.pt-form-error.pt-active {
  display: block;
}
.pt-form-success {
  display: none;
  font-family: var(--ui);
  font-size: 13px;
  color: #3c763d;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.pt-form-success.pt-active {
  display: block;
}

/* Logged In Grid */
.pt-account-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  border-bottom: 1px solid rgba(44, 31, 21, 0.1);
  padding-bottom: 30px;
  margin-bottom: 24px;
}
.pt-profile-edit-col form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-form-submit {
  align-self: flex-start;
  margin-top: 10px;
}

/* SSO Authentication */
.pt-sso-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px auto 16px;
  max-width: 420px;
  width: 100%;
}
.pt-sso-divider::before,
.pt-sso-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(44, 31, 21, 0.12);
}
.pt-sso-divider span {
  padding: 0 14px;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-50);
  white-space: nowrap;
}
.pt-sso-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.pt-sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid rgba(44, 31, 21, 0.18);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(44, 31, 21, 0.04);
}
.pt-sso-btn:hover {
  background-color: #faf9f6;
  border-color: rgba(44, 31, 21, 0.3);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(44, 31, 21, 0.08);
  transform: translateY(-1px);
}
.pt-sso-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(44, 31, 21, 0.04);
}
.pt-sso-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

/* Account Modal Buttons */
.pt-account-container .pt-btn {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pt-account-container .pt-btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.pt-account-container .pt-btn-primary:hover {
  background: #43301f;
  color: var(--ivory);
}
.pt-account-container .pt-btn-ghost {
  background: transparent;
  border-color: rgba(44, 31, 21, 0.2);
  color: var(--ink);
}
.pt-account-container .pt-btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(44, 31, 21, 0.04);
}

/* Past test results styling */
.pt-past-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}
.pt-past-results-list::-webkit-scrollbar {
  width: 4px;
}
.pt-past-results-list::-webkit-scrollbar-track {
  background: transparent;
}
.pt-past-results-list::-webkit-scrollbar-thumb {
  background: rgba(44, 31, 21, 0.15);
  border-radius: 2px;
}
.pt-result-card {
  background: #ffffff;
  border: 1px solid rgba(44, 31, 21, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.pt-result-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
}
.pt-result-card h4 {
  font-size: 16px;
  margin: 0;
}
.pt-result-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 12px;
  color: var(--ink-70);
}
.pt-result-card-meta strong {
  color: var(--terracotta);
}
.pt-result-card-link {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s;
}
.pt-result-card-link:hover {
  color: var(--terracotta);
}
.pt-results-empty {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-50);
  text-align: center;
  padding: 30px 10px;
  border: 1px dashed rgba(44, 31, 21, 0.2);
  border-radius: 8px;
}
.pt-results-empty a {
  color: var(--terracotta);
  text-decoration: underline;
}

.pt-account-footer {
  display: flex;
  justify-content: flex-end;
}

/* Responsive account popup grid */
@media (max-width: 768px) {
  .pt-account-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pt-account-container {
    padding: 24px;
  }
}

/* ==========================================================================
   Smart Search UI & Overlays Styles
   ========================================================================== */

/* Search Trigger Button */
.pt-search-trigger {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.pt-search-trigger:hover {
  color: var(--ink);
  background-color: rgba(44, 31, 21, 0.06);
  border: none;
  transform: none;
}
.pt-search-icon {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8px;
}

/* Search Overlay Container */
.pt-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 31, 21, 0.97); /* Rich deep warm overlay */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 350; /* Positioned above all other drawers/overlays */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 110px 40px 60px 40px;
  display: flex;
  justify-content: center;
}
.pt-search-overlay.pt-active {
  opacity: 1;
  pointer-events: auto;
}

.pt-search-container {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Search input header row */
.pt-search-box {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(244, 234, 213, 0.15);
  padding-bottom: 12px;
  transition: border-color 0.25s;
}
.pt-search-box:focus-within {
  border-color: var(--gold);
}
.pt-search-box-icon {
  position: absolute;
  left: 4px;
  color: var(--gold);
  opacity: 0.8;
}
#pt-search-input {
  width: 100%;
  border: none;
  background: none;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  color: var(--ivory);
  padding: 0 36px 0 44px;
  outline: none;
}
#pt-search-input::placeholder {
  color: rgba(244, 234, 213, 0.3);
  font-style: italic;
}

/* Search results list */
.pt-search-results-wrapper {
  flex-grow: 1;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 8px;
}
.pt-search-results-wrapper::-webkit-scrollbar {
  width: 6px;
}
.pt-search-results-wrapper::-webkit-scrollbar-track {
  background: rgba(244, 234, 213, 0.02);
  border-radius: 3px;
}
.pt-search-results-wrapper::-webkit-scrollbar-thumb {
  background: rgba(244, 234, 213, 0.12);
  border-radius: 3px;
}

.pt-search-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Suggestion Title Header */
.pt-search-section-title {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 18px 0 8px 0;
  opacity: 0.85;
  border-bottom: 1px solid rgba(244, 234, 213, 0.08);
  padding-bottom: 6px;
}

/* Search Loader Spinner */
.pt-search-spinner {
  position: absolute;
  right: 8px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(244, 234, 213, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: pt-search-spin 0.6s linear infinite;
}
@keyframes pt-search-spin {
  to { transform: rotate(360deg); }
}

/* Result Cards List */
.pt-search-result-item {
  background: rgba(244, 234, 213, 0.04);
  border: 1px solid rgba(244, 234, 213, 0.08);
  border-radius: 10px;
  padding: 18px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.pt-search-result-item:hover,
.pt-search-result-item.pt-selected {
  background: rgba(244, 234, 213, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.pt-search-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pt-search-result-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
  margin: 0;
  transition: color 0.2s;
}
.pt-search-result-item:hover .pt-search-result-title,
.pt-search-result-item.pt-selected .pt-search-result-title {
  color: var(--gold);
}
.pt-search-result-badge {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.pt-search-result-excerpt {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 234, 213, 0.65);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty feedback states */
.pt-search-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: rgba(244, 234, 213, 0.55);
  font-family: var(--body);
  font-size: 18px;
}
.pt-search-empty-state em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

/* Search Keyboard Shortcuts Guide */
.pt-search-shortcuts {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--ui);
  font-size: 12px;
  color: rgba(244, 234, 213, 0.35);
  border-top: 1px solid rgba(244, 234, 213, 0.08);
  padding-top: 20px;
}
.pt-search-shortcuts kbd {
  background: rgba(244, 234, 213, 0.08);
  border: 1px solid rgba(244, 234, 213, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  margin-right: 4px;
  font-family: monospace;
  font-size: 11px;
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Search Results Template Page Styles
   ========================================================================== */
.pt-search-results-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 24px 100px 24px;
  box-sizing: border-box;
}
.pt-search-results-page h1.wp-block-query-title {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
  border-bottom: 2px solid rgba(44, 31, 21, 0.08);
  padding-bottom: 20px;
}
.pt-search-results-page h1.wp-block-query-title span {
  font-style: italic;
  color: var(--terracotta);
}

/* Styled Search Input Form */
.pt-search-results-page .wp-block-search {
  margin: 36px 0 54px 0;
  max-width: 520px;
}
.pt-search-results-page .wp-block-search__label {
  display: none;
}
.pt-search-results-page .wp-block-search__button {
  background-color: var(--terracotta);
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-left: -4px;
}
.pt-search-results-page .wp-block-search__button:hover {
  background-color: #9c4b30;
}
.pt-search-results-page .wp-block-search__input {
  border: 1.5px solid rgba(44, 31, 21, 0.15);
  border-radius: 8px 0 0 8px;
  padding: 12px 18px;
  font-family: var(--ui);
  font-size: 15px;
  color: var(--ink);
  background-color: var(--paper);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.pt-search-results-page .wp-block-search__input:focus {
  border-color: var(--terracotta);
}

/* Results template list container */
.pt-search-results-page .wp-block-query {
  margin-top: 40px;
}
.pt-search-results-page .wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pt-search-results-page .wp-block-post {
  background-color: var(--paper);
  border: 1px solid rgba(44, 31, 21, 0.1);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.pt-search-results-page .wp-block-post:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 31, 21, 0.04);
}

.pt-search-results-page .wp-block-post-title {
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.pt-search-results-page .wp-block-post-title a {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.pt-search-results-page .wp-block-post-title a:hover {
  color: var(--terracotta);
}
.pt-search-results-page .wp-block-post-excerpt {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
  margin: 12px 0 0 0;
}
.pt-search-results-page .wp-block-post-date {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

/* Custom categories terms styling inside search page */
.pt-search-results-page .wp-block-post-terms {
  font-family: var(--ui);
  font-size: 12px;
  margin-bottom: 8px;
}
.pt-search-results-page .wp-block-post-terms a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
}
.pt-search-results-page .wp-block-post-terms a:hover {
  text-decoration: underline;
}

/* Empty No-Results State Styling */
.pt-search-no-results-content {
  text-align: center;
  padding: 50px 0 60px 0;
  max-width: 620px;
  margin: 0 auto;
}
.pt-search-no-results-content h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.1;
}
.pt-search-no-results-content p {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink-70);
  line-height: 1.62;
  margin-bottom: 32px;
}
.pt-search-no-results-suggestions {
  margin-top: 54px;
  border-top: 1px solid rgba(44, 31, 21, 0.08);
  padding-top: 40px;
}
.pt-search-no-results-suggestions h3 {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 26px;
}
.pt-search-no-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pt-search-suggestion-card {
  background-color: var(--paper);
  border: 1px solid rgba(44, 31, 21, 0.1);
  border-radius: 10px;
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: left;
}
.pt-search-suggestion-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 31, 21, 0.04);
}
.pt-search-suggestion-card h4 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.pt-search-suggestion-card p {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 880px) {
  .pt-header-logo-prefix {
    display: none;
  }
  .pt-search-overlay {
    padding: 90px 20px 40px 20px;
  }
  #pt-search-input {
    font-size: 24px;
  }
  .pt-search-result-title {
    font-size: 18px;
  }
  .pt-search-result-item {
    padding: 16px 20px;
  }
  .pt-search-shortcuts {
    display: none; /* Hide keyboard shortcuts on mobile */
  }

  .pt-search-results-page {
    padding: 60px 20px 80px 20px;
  }
  .pt-search-results-page h1.wp-block-query-title {
    font-size: 32px;
  }
  .pt-search-results-page .wp-block-post-title a {
    font-size: 22px;
  }
  .pt-search-results-page .wp-block-post {
    padding: 22px;
  }
  .pt-search-no-results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pt-header-banner.pt-header-banner-ticker-only {
  padding: 8px 16px;
  background-color: var(--paper, #FAF8F5);
  border-bottom: 1px solid rgba(44, 31, 21, 0.08);
  height: 36px;
  box-sizing: border-box;
  overflow: hidden;
}

/* WP Admin Bar adjustments for sticky header */
.admin-bar .pt-header-navbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .pt-header-navbar {
    top: 46px;
  }
}

/* Personality Test Selector Modal Overlay */
.pt-test-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.pt-test-modal-overlay.pt-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pt-test-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 31, 21, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pt-test-modal-card {
  position: relative;
  z-index: 2;
  background-color: var(--paper, #FAF8F5);
  border: 1px solid rgba(44, 31, 21, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(44, 31, 21, 0.25);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-sizing: border-box;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.pt-test-modal-overlay.pt-active .pt-test-modal-card {
  transform: translateY(0);
}

.pt-test-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--ink, #2C1F15);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.pt-test-modal-close:hover {
  background-color: rgba(44, 31, 21, 0.08);
}

.pt-test-modal-close svg {
  width: 20px;
  height: 20px;
}

.pt-test-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.pt-test-modal-eyebrow {
  font-family: var(--ui, 'Manrope', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta, #B8674A);
  display: block;
  margin-bottom: 6px;
}

.pt-test-modal-title {
  font-family: var(--display, 'Fraunces', serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink, #2C1F15);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.pt-test-modal-subtitle {
  font-family: var(--ui, 'Manrope', sans-serif);
  font-size: 14px;
  color: var(--ink-70, rgba(44, 31, 21, 0.7));
  margin: 0;
}

.pt-test-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pt-test-modal-card-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  background-color: #FFFFFF;
  border: 1px solid rgba(44, 31, 21, 0.12);
  border-radius: 12px;
  color: var(--ink, #2C1F15);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(44, 31, 21, 0.04);
}

.pt-test-modal-card-item:hover {
  border-color: var(--terracotta, #B8674A);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 103, 74, 0.12);
}

.pt-test-modal-question {
  font-family: var(--display, 'Fraunces', serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #2C1F15);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.pt-test-modal-card-desc {
  font-family: var(--ui, 'Manrope', sans-serif);
  font-size: 13.5px;
  color: var(--ink-70, rgba(44, 31, 21, 0.75));
  margin: 0 0 18px 0;
  line-height: 1.5;
  flex-grow: 1;
}

.pt-test-modal-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.pt-test-modal-btn {
  font-family: var(--ui, 'Manrope', sans-serif);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.pt-test-modal-btn-primary {
  background-color: var(--terracotta, #B8674A);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 16px;
  border: 1px solid var(--terracotta, #B8674A);
  box-shadow: 0 2px 6px rgba(184, 103, 74, 0.2);
}

.pt-test-modal-btn-primary:hover {
  background-color: #A2563B;
  border-color: #A2563B;
  box-shadow: 0 4px 12px rgba(184, 103, 74, 0.3);
  color: #FFFFFF;
}

.pt-test-modal-btn-secondary {
  background-color: transparent;
  color: var(--terracotta, #B8674A);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border: none;
}

.pt-test-modal-btn-secondary:hover {
  color: #8C4026;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .pt-test-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pt-test-modal-card {
    padding: 24px 18px;
  }
  .pt-test-modal-title {
    font-size: 22px;
  }
}

/* Quiz Runner Container & Card Width Constraints */
#wsf-pt-runner-root,
div#wsf-pt-runner-root {
  max-width: none;
  width: 100%;
}

.wsf-pt-card,
div.wsf-pt-card {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* personalitopia-footer-style <- /wp-content/themes/twentytwentyfour-child/assets/css/footer.css */
/**
 * Personalitopia Component Styles: Site Footer & Newsletter Subscription
 * Theme: twentytwentyfour-child
 */


  /* ==========================================================================
     Newsletter Subscribe Block Styles
     ========================================================================== */
  .pt-sub {
    background: linear-gradient(135deg, #2C1F15 0%, #3d2a1a 55%, #5a3a24 100%);
    color: var(--ivory, #F4EAD5);
    padding: 104px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .pt-sub .pt-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
  }

  .pt-sub h2 {
    color: var(--ivory, #F4EAD5);
    font-family: var(--display, serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    margin-top: 0;
  }

  .pt-sub .pt-sec-label {
    color: var(--gold, #C9A563);
    font-family: var(--ui, sans-serif);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 22px;
  }

  .pt-sub .pt-muted {
    color: rgba(244, 234, 213, 0.72);
    font-family: var(--body, serif);
    font-size: 19px;
    line-height: 1.62;
    margin: 0 0 24px 0;
  }

  .pt-sub-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
  }

  .pt-signup {
    display: flex;
    gap: 10px;
    margin-top: 26px;
    margin-bottom: 0;
    max-width: 440px;
    width: 100%;
  }

  .pt-signup input[type="email"] {
    flex: 1;
    font-family: var(--ui, sans-serif);
    font-size: 15px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(244, 234, 213, 0.28);
    background: rgba(244, 234, 213, 0.06);
    color: var(--ivory, #F4EAD5);
    box-shadow: none;
    height: auto;
    line-height: normal;
  }

  .pt-signup input[type="email"]::placeholder {
    color: rgba(244, 234, 213, 0.5);
  }

  .pt-signup input[type="email"]:focus {
    outline: none;
    border-color: var(--gold, #C9A563);
    box-shadow: 0 0 0 1px var(--gold, #C9A563);
  }

  .pt-signup button.pt-btn {
    background: var(--gold, #C9A563);
    color: var(--ink, #2C1F15);
    border: none;
    cursor: pointer;
    font-family: var(--ui, sans-serif);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 26px;
    border-radius: 10px;
    transition: background 0.2s;
    height: auto;
    line-height: normal;
  }

  .pt-signup button.pt-btn:hover {
    background: #d9b878;
  }

  .pt-choices {
    display: flex;
    gap: 24px;
    margin-top: 18px;
    flex-wrap: wrap;
  }

  .pt-choice {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ui, sans-serif);
    font-size: 14px;
    color: rgba(244, 234, 213, 0.85);
    cursor: pointer;
    user-select: none;
    margin: 0;
  }

  .pt-choice input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--gold, #C9A563);
    cursor: pointer;
    margin: 0;
    padding: 0;
  }

  .pt-gdpr-consent {
    margin-top: 18px;
  }

  .pt-gdpr-choice {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(244, 234, 213, 0.75);
  }

  .pt-gdpr-choice input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .pt-gdpr-choice a {
    color: var(--gold, #C9A563);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
  }

  .pt-gdpr-choice a:hover {
    color: var(--ivory, #FAF6EC);
  }

  .pt-pushrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .pt-push-divider {
    font-family: var(--ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.45);
    letter-spacing: 0.06em;
  }

  .pt-btn-push {
    background: transparent;
    border: 1px solid var(--gold, #C9A563);
    color: var(--gold, #C9A563);
    font-family: var(--ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    height: auto;
    line-height: normal;
  }

  .pt-btn-push:hover {
    background: rgba(201, 165, 99, 0.12);
  }

  .pt-btn-push.on {
    background: var(--gold, #C9A563);
    color: var(--ink, #2C1F15);
    border-color: var(--gold, #C9A563);
  }

  .pt-sub-note {
    font-family: var(--ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.55);
    margin-top: 18px;
  }

  .pt-sub-note:empty {
    display: none;
  }

  .pt-sub-card {
    border: 1px solid rgba(244, 234, 213, 0.18);
    border-radius: 12px;
    padding: 30px;
    background: rgba(244, 234, 213, 0.04);
    box-sizing: border-box;
  }

  .pt-sub-card .pt-label {
    font-family: var(--ui, sans-serif);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold, #C9A563);
    margin-bottom: 18px;
  }

  .pt-sub-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(244, 234, 213, 0.12);
    font-size: 18px;
    font-family: var(--body, serif);
    color: var(--ivory, #F4EAD5);
    text-align: left;
  }

  .pt-sub-item:last-child {
    border-bottom: none;
  }

  .pt-sub-item span {
    font-family: var(--ui, sans-serif);
    font-size: 13px;
    color: rgba(244, 234, 213, 0.6);
    display: block;
    margin-top: 3px;
  }

  @media (max-width: 880px) {
    .pt-sub-grid {
      grid-template-columns: 1fr;
      gap: 42px;
    }
  }

  @media (max-width: 520px) {
    .pt-signup {
      flex-direction: column;
      align-items: stretch;
    }
  }

  /* ==========================================================================
     Site Footer Custom Block Styles
     ========================================================================== */
  .pt-footer {
    background-color: var(--paper, #FBF5E8);
    color: var(--ink, #2C1F15);
    border-top: 1.5px solid var(--terracotta, #B8674A);
    padding: 80px 0 40px 0;
    font-family: var(--ui, sans-serif);
    width: 100%;
    box-sizing: border-box;
  }

  .pt-footer .pt-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
  }

  .pt-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
  }

  .pt-footer-col h3 {
    font-family: var(--ui, sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta, #B8674A);
    margin-top: 0;
    margin-bottom: 24px;
  }

  .pt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pt-footer-links li {
    margin-bottom: 12px;
  }

  .pt-footer-links a {
    color: var(--ink-70, rgba(44, 31, 21, 0.7));
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.4;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
  }

  .pt-footer-links a:hover {
    color: var(--ink, #2C1F15);
    padding-left: 4px;
  }

  .pt-footer-links a.pt-footer-highlight-link {
    color: var(--terracotta, #B8674A);
    font-weight: 600;
  }

  .pt-footer-links a.pt-footer-highlight-link:hover {
    color: #9E5338;
  }

  .pt-footer-links a.pt-footer-dir-link {
    font-weight: 500;
    color: var(--ink, #2C1F15);
    opacity: 0.85;
  }

  .pt-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .pt-footer-logo {
    font-family: var(--heading, 'Fraunces', Georgia, serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--terracotta, #B8674A);
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .pt-footer-logo .pt-header-logo-compass {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(44, 31, 21, 0.08));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .pt-footer-logo:hover .pt-header-logo-compass {
    transform: rotate(15deg) scale(1.08);
  }

  .pt-footer-logo .pt-header-logo-brand {
    font-family: var(--heading, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 500;
    font-size: 26px;
    color: var(--terracotta, #B8674A);
    letter-spacing: -0.01em;
  }

  .pt-footer-tagline {
    font-family: var(--body, serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink-70, rgba(44, 31, 21, 0.7));
    margin: 0;
    max-width: 32ch;
  }

  .pt-footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 8px;
  }

  .pt-footer-socials a {
    color: var(--ink-50, rgba(44, 31, 21, 0.5));
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pt-footer-socials a:hover {
    color: var(--terracotta, #B8674A);
    transform: translateY(-2px);
  }

  .pt-footer-socials svg {
    width: 20px;
    height: 20px;
  }

  /* Bottom Bar */
  .pt-footer-bottom {
    border-top: 1px solid rgba(44, 31, 21, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .pt-footer-copyright {
    font-size: 13px;
    color: var(--ink-50, rgba(44, 31, 21, 0.5));
  }

  .pt-footer-legal {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .pt-footer-legal a {
    color: var(--ink-50, rgba(44, 31, 21, 0.5));
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
  }

  .pt-footer-legal a:hover {
    color: var(--ink, #2C1F15);
  }

  .pt-back-to-top {
    font-weight: 500;
    color: var(--terracotta, #B8674A);
  }

  .pt-back-to-top:hover {
    color: var(--ink, #2C1F15);
  }

  /* Responsive Footer */
  @media (max-width: 880px) {
    .pt-footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .pt-footer-brand {
      grid-column: span 2;
      margin-bottom: 20px;
    }
  }

  @media (max-width: 520px) {
    .pt-footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .pt-footer-brand {
      grid-column: span 1;
    }
    .pt-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
  }


/* personalitopia-hero-book <- /wp-content/themes/twentytwentyfour-child/assets/css/hero-book.css */
/**
 * Personalitopia Component Styles: Hero Book Component Styles
 * Theme: twentytwentyfour-child
 */


/* Hero Book Block Styling */
.pt-hero {
  background: linear-gradient(135deg, #F7EEDB 0%, #F0D9C4 48%, #E8B09A 100%);
  border-bottom: 1px solid rgba(44, 31, 21, 0.10);
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}
.pt-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 104px;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.pt-eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 26px;
}
.pt-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
}
.pt-hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.pt-lede {
  font-family: var(--body);
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 34ch;
  margin-bottom: 38px;
}
.pt-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.pt-btn {
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.pt-btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.pt-btn-primary:hover {
  background: #43301f;
  color: var(--ivory);
}
.pt-btn-ghost {
  background: transparent;
  border-color: rgba(44, 31, 21, 0.30);
  color: var(--ink);
}
.pt-btn-ghost:hover {
  border-color: var(--ink);
}

.pt-book-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pt-book {
  width: 300px;
  aspect-ratio: 1 / 1.5;
  border-radius: 6px;
  position: relative;
  background: linear-gradient(160deg, #34261a 0%, #5a3f2b 60%, #7a4f34 100%);
  color: var(--ivory);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transform: rotate(-2.5deg);
  border: 1px solid rgba(44, 31, 21, 0.25);
  box-shadow: 0 15px 35px rgba(44, 31, 21, 0.2);
  transition: transform 0.3s ease;
}
.pt-book:hover {
  transform: rotate(0deg) scale(1.02);
}
.pt-book::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
}
.pt-book .pt-b-eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: auto;
}
.pt-book .pt-b-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 33px;
  line-height: 1.04;
  margin-bottom: 14px;
  color: var(--ivory);
}
.pt-book .pt-b-title em {
  font-style: italic;
  color: var(--blush);
}
.pt-book .pt-b-author {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(244, 234, 213, 0.8);
}
.pt-book .pt-b-mark {
  position: absolute;
  bottom: 34px;
  right: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-book .pt-b-mark::after {
  content: "";
  width: 1px;
  height: 18px;
  background: var(--gold);
  opacity: 0.7;
}


/* personalitopia-blog-grid <- /wp-content/themes/twentytwentyfour-child/assets/css/blog-grid.css */
:root {
  --ivory: #F4EAD5;
  --blush: #E8B09A;
  --terracotta: #B8674A;
  --gold: #C9A563;
  --sage: #8AA68E;
  --slate: #7B91B8;
  --ink: #2C1F15;
  --ink-70: rgba(44, 31, 21, 0.70);
  --ink-50: rgba(44, 31, 21, 0.50);
  --paper: #FBF5E8;
  --display: var(--wp--preset--font-family--heading);
  --body: var(--wp--preset--font-family--body);
  --ui: var(--wp--preset--font-family--ui);
}

/* Blog / Essay Grid Block Styling */
.pt-blog-sec {
  padding: 104px 0;
  width: 100%;
  background: var(--ivory);
}
.pt-blog-sec .pt-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.pt-blog-sec .pt-sec-label {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 22px;
}
.pt-blog-sec h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
}
.pt-blog-sec .pt-muted {
  color: var(--ink-70);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.62;
}
.pt-writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pt-essay {
  background: var(--paper);
  border: 1px solid rgba(44, 31, 21, 0.12);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.pt-essay:hover {
  border-color: var(--terracotta);
  transform: translateY(-3px);
  color: var(--ink);
}
.pt-tag {
  align-self: flex-start;
  font-family: var(--ui);
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.pt-tag-blush {
  background: rgba(232, 176, 154, 0.32);
  color: #9c4b30;
}
.pt-tag-sage {
  background: rgba(138, 166, 142, 0.32);
  color: #3f5e44;
}
.pt-tag-slate {
  background: rgba(123, 145, 184, 0.30);
  color: #3a4a72;
}
.pt-essay h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--ink);
}
.pt-essay .pt-more {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--terracotta);
}

/* Responsive Custom Rules */
@media(max-width:880px) {
  .pt-hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .pt-hero h1 {
    font-size: 44px;
  }
  .pt-blog-sec h2 {
    font-size: 31px;
  }
  .pt-book {
    transform: none;
    width: 240px;
    margin: 0 auto;
  }
  .pt-book-stage {
    order: -1;
  }
  .pt-writing-grid {
    grid-template-columns: 1fr;
  }
}



/* personalitopia-timeline <- /wp-content/themes/twentytwentyfour-child/assets/css/timeline.css */
/**
 * Personalitopia Component Styles: About Me Timeline (Corkboard & Instax Aesthetic)
 * Theme: twentytwentyfour-child
 */


About Me Timeline Block Styles (Corkboard & Instax Aesthetic)
   ========================================================================== */

.pt-timeline-section {
    margin: 60px 0;
    position: relative;
    box-sizing: border-box;
}

.pt-timeline-corkboard {
    background-color: #d8ad87;
    background-image: 
        radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%),
        radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%),
        linear-gradient(rgba(255,255,255,0.06) 50%, transparent 50%),
        linear-gradient(transparent 50%, rgba(0,0,0,0.06) 50%);
    background-size: 8px 8px, 8px 8px, 4px 4px, 4px 4px;
    background-position: 0 0, 4px 4px, 0 0, 0 0;
    border-radius: 16px;
    padding: 80px 24px;
    box-shadow: inset 0 0 50px rgba(44, 31, 21, 0.15), 0 4px 24px rgba(44, 31, 21, 0.08);
}

.pt-timeline-section-title {
    text-align: center;
    font-family: var(--wp--preset--font-family--heading, serif);
    font-size: 42px;
    color: #2c1f15;
    margin-bottom: 60px;
    font-weight: 700;
}

.pt-timeline-corkboard .pt-timeline-section-title {
    color: #1e130a;
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

.pt-timeline-empty {
    text-align: center;
    font-family: var(--wp--preset--font-family--body, sans-serif);
    color: #6d523b;
    font-size: 16px;
    padding: 40px;
}

.pt-timeline-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

.pt-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(44, 31, 21, 0.1);
    transform: translateX(-50%);
    border-left: 2px dashed rgba(44, 31, 21, 0.25);
}

.pt-timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    box-sizing: border-box;
}

.pt-timeline-item.pt-pos-left {
    left: 0;
    padding-right: 48px;
}

.pt-timeline-item.pt-pos-right {
    left: 50%;
    justify-content: flex-start;
    padding-left: 48px;
}

.pt-timeline-dot {
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--accent-2, #b8674a);
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 5;
    transition: transform 0.2s;
}

.pt-timeline-item:hover .pt-timeline-dot {
    transform: scale(1.2);
}

.pt-timeline-item.pt-pos-left .pt-timeline-dot {
    right: -8px;
}

.pt-timeline-item.pt-pos-right .pt-timeline-dot {
    left: -8px;
}

.pt-timeline-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.pt-timeline-item.pt-pos-left .pt-timeline-content-wrap {
    align-items: flex-end;
}

.pt-timeline-item.pt-pos-right .pt-timeline-content-wrap {
    align-items: flex-start;
}

/* Polaroid Photo Frame Styles */
.pt-timeline-polaroid {
    background: #ffffff;
    padding: 12px 12px 28px 12px;
    box-shadow: 
        0 10px 20px rgba(44, 31, 21, 0.12),
        0 3px 6px rgba(44, 31, 21, 0.08),
        inset 0 0 15px rgba(0,0,0,0.02);
    border-radius: 2px;
    width: 240px;
    position: relative;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
    z-index: 2;
}

.pt-timeline-polaroid:hover {
    box-shadow: 
        0 18px 30px rgba(44, 31, 21, 0.2),
        0 8px 15px rgba(44, 31, 21, 0.12);
    transform: rotate(0deg) scale(1.04) translateY(-4px);
    z-index: 10;
}

.pt-polaroid-image-container {
    background: #1e1a17;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
}

.pt-polaroid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.pt-timeline-polaroid:hover .pt-polaroid-img {
    transform: scale(1.02);
}

.pt-polaroid-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eae6df;
}

.pt-polaroid-placeholder-icon {
    font-size: 32px;
    opacity: 0.35;
}

.pt-polaroid-caption {
    margin-top: 12px;
    text-align: center;
    user-select: none;
}

.pt-polaroid-date {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 24px;
    color: #4a3b32;
    line-height: 1.1;
}

.pt-polaroid-year {
    font-weight: 700;
    margin-right: 6px;
    color: #b8674a;
}

.pt-polaroid-day {
    opacity: 0.95;
}

/* 3D Pushpin Component */
.pt-timeline-pushpin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    z-index: 8;
    pointer-events: none;
}

.pt-pin-head {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 3px;
    box-shadow: inset -2px -2px 6px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.15);
}

.pt-pin-head::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.75);
}

.pt-pin-head::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 6px;
    width: 2px;
    height: 8px;
    background: #999;
    box-shadow: inset 0.5px 0 rgba(255,255,255,0.3);
}

.pt-pin-red .pt-pin-head { background: radial-gradient(circle at 30% 30%, #ff6b6b, #c92a2a); }
.pt-pin-blue .pt-pin-head { background: radial-gradient(circle at 30% 30%, #4dadf7, #1971c2); }
.pt-pin-yellow .pt-pin-head { background: radial-gradient(circle at 30% 30%, #ffd43b, #f59f00); }
.pt-pin-green .pt-pin-head { background: radial-gradient(circle at 30% 30%, #51cf66, #2b8a3e); }

.pt-pin-shadow {
    position: absolute;
    top: 14px;
    left: 12px;
    width: 8px;
    height: 8px;
    background: rgba(44, 31, 21, 0.35);
    border-radius: 50%;
    filter: blur(1px);
    transform: rotate(45deg) scaleX(0.35);
}

/* Detailed Text Box Card */
.pt-timeline-text-card {
    background: #ffffff;
    border: 1px solid rgba(44, 31, 21, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 
        0 4px 12px rgba(44, 31, 21, 0.03),
        0 1px 2px rgba(44, 31, 21, 0.02);
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 3;
}

.pt-timeline-text-card:hover {
    border-color: var(--wp--preset--color--accent-2, #b8674a);
    box-shadow: 
        0 10px 24px rgba(44, 31, 21, 0.06),
        0 3px 6px rgba(44, 31, 21, 0.03);
    transform: translateY(-2px);
}

.pt-timeline-headline {
    font-family: var(--wp--preset--font-family--heading, serif);
    font-size: 19px;
    color: #2c1f15;
    margin: 0;
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.pt-timeline-toggle-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--accent-2, #b8674a);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.pt-timeline-toggle-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.pt-timeline-item.is-expanded .pt-timeline-toggle-icon {
    transform: rotate(180deg);
}

/* Expandable Drawer Transition styling */
.pt-timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pt-timeline-details-inner {
    padding-top: 14px;
    border-top: 1px solid rgba(44, 31, 21, 0.06);
    margin-top: 12px;
}

.pt-timeline-details-inner p {
    font-family: var(--wp--preset--font-family--body, sans-serif);
    font-size: 14.5px;
    line-height: 1.6;
    color: #554433;
    margin: 0 0 12px 0;
}

.pt-timeline-details-inner p:last-child {
    margin-bottom: 0;
}

.pt-polaroid-image-caption {
    font-size: 13px;
    color: #887766;
    margin-top: 10px;
    font-style: italic;
}

/* Editor Specific Tweaks to prevent conflict styles */
.gemini-pt-gutenberg-block-editor-wrap .pt-timeline-editor-list {
    font-family: var(--wp--preset--font-family--body, sans-serif);
}

/* ==========================================================================
   Mobile Responsive Rules
   ========================================================================== */
@media (max-width: 768px) {
    .pt-timeline-line {
        left: 20px;
        transform: none;
    }
    
    .pt-timeline-item {
        width: 100%;
        left: 0;
        justify-content: flex-start;
        padding-left: 48px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .pt-timeline-item.pt-pos-left .pt-timeline-dot,
    .pt-timeline-item.pt-pos-right .pt-timeline-dot {
        left: 13px;
        right: auto;
    }
    
    .pt-timeline-content-wrap {
        align-items: flex-start;
        max-width: 100%;
        gap: 16px;
    }
    
    .pt-timeline-polaroid {
        width: 200px;
        margin: 0;
    }
    
    .pt-timeline-text-card {
        max-width: 100%;
    }
    
    .pt-timeline-section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    .pt-timeline-corkboard {
        padding: 40px 16px;
    }
}


/* personalitopia-archive-mag <- /wp-content/themes/twentytwentyfour-child/assets/css/archive-mag.css */
/**
 * Personalitopia Component Styles: Magazine / Newspaper Archive Styles
 * Theme: twentytwentyfour-child
 */


/* ==========================================================================
   Visual Breadcrumbs & Smart Recommendations Styles
   ========================================================================== */

/* Breadcrumbs Styling */
.pt-breadcrumbs {
    padding: var(--wp--preset--spacing--20) 0;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--contrast-2);
}

.pt-breadcrumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pt-breadcrumbs-item {
    display: flex;
    align-items: center;
    font-family: var(--wp--preset--font-family--body);
    font-size: 14px;
}

.pt-breadcrumbs-item a {
    color: var(--wp--preset--color--accent-2); /* terracotta */
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.pt-breadcrumbs-item a:hover {
    color: var(--wp--preset--color--contrast);
    text-decoration: underline;
}

.pt-breadcrumbs-separator {
    margin-left: 8px;
    color: var(--wp--preset--color--contrast-3);
    user-select: none;
    font-size: 11px;
}

.pt-breadcrumbs-current {
    color: var(--wp--preset--color--contrast-2);
    font-weight: 500;
}

/* Recommendations Section */
.pt-author-intro-container {
    margin-bottom: 24px;
}

.pt-recommendations-section {
    margin: var(--wp--preset--spacing--40) 0;
    padding-top: var(--wp--preset--spacing--30);
    border-top: 1px solid rgba(44, 31, 21, 0.08);
}

.pt-recommendations-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--contrast);
    margin-bottom: 24px;
}

.pt-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Recommendation Card - Premium styling */
.pt-recommendation-card {
    background-color: #ffffff;
    border: 1px solid rgba(44, 31, 21, 0.05);
    border-top: 4px solid var(--wp--preset--color--contrast-2); /* Fallback */
    border-radius: 12px;
    padding: 28px 24px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), 
                border-color 0.25s ease;
    box-shadow: 0 4px 12px rgba(44, 31, 21, 0.015);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Accent top border colors based on post tags */
.pt-recommendation-card:has(.pt-tag-blush) {
    border-top: 4px solid var(--terracotta);
}
.pt-recommendation-card:has(.pt-tag-sage) {
    border-top: 4px solid var(--sage);
}
.pt-recommendation-card:has(.pt-tag-slate) {
    border-top: 4px solid var(--slate);
}

.pt-recommendation-card:hover {
    transform: translateY(-5px);
    border-color: rgba(44, 31, 21, 0.1);
    box-shadow: 0 16px 36px rgba(44, 31, 21, 0.06);
}

.pt-recommendation-card h3 {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 19px;
    color: var(--wp--preset--color--contrast);
    margin: 0;
    line-height: 1.25;
    font-weight: 500;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pt-recommendation-card:hover h3 {
    color: var(--terracotta);
}

.pt-rec-excerpt {
    font-family: var(--wp--preset--font-family--body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--wp--preset--color--contrast-2);
    margin: 0;
    flex-grow: 1;
    /* Multiline Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pt-rec-cta {
    font-family: var(--wp--preset--font-family--body);
    font-size: 12px;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: auto;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.pt-recommendation-card:hover .pt-rec-cta {
    transform: translateX(3px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .pt-recommendations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pt-recommendation-card {
        padding: 24px 20px 20px;
    }
}

/* ==========================================================================
   Premium Magazine/Newspaper Archive Styles
   ========================================================================== */

/* Magazine Query Grid adjustments */
.pt-magazine-query .wp-block-post-template {
    gap: 32px 24px;
}

.pt-more-arrow a {
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s;
    display: inline-block;
}

.pt-more-arrow a:hover {
    transform: translateX(3px);
}

@media (min-width: 769px) {
    /* Style the first post as a prominent featured article */
    .pt-magazine-query .wp-block-post-template > li:first-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 36px;
        align-items: start;
        border-bottom: 1px solid rgba(44, 31, 21, 0.08);
        padding-bottom: 32px;
        margin-bottom: 16px;
    }

    .pt-magazine-query .wp-block-post-template > li:first-child .wp-block-post-featured-image {
        margin-bottom: 0;
        height: 100%;
        object-fit: cover;
        min-width: 0;
    }
    
    .pt-magazine-query .wp-block-post-template > li:first-child .wp-block-post-featured-image img {
        height: 100%;
        max-height: 380px;
        object-fit: cover;
        width: 100%;
    }

    .pt-magazine-query .wp-block-post-template > li:first-child > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        min-width: 0;
    }

    .pt-magazine-query .wp-block-post-template > li:first-child h2,
    .pt-magazine-query .wp-block-post-template > li:first-child h3 {
        font-size: 32px;
        line-height: 1.15;
        margin-top: 12px;
        margin-bottom: 16px;
    }
    
    .pt-magazine-query .wp-block-post-template > li:first-child .wp-block-post-excerpt {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
/* ==========================================================================
   INFJ Personality Page Styles
   ========================================================================== */

/* Page layout styling */
.pt-infj-page-container {
    background-color: var(--wp--preset--color--base); /* Warm Ivory */
    color: var(--wp--preset--color--contrast); /* Warm Ink */
    padding: 60px 20px;
    max-width: 100%;
    margin: 0 auto;
}

/* Header/Hero grid */
.pt-infj-hero {
    background: linear-gradient(135deg, #F4EAD5 0%, #C9A563 100%); /* Mediterranean Gradient */
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 80px max(32px, calc((100vw - 1120px) / 2));
    box-sizing: border-box;
    border-radius: 0;
    margin-top: -60px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.pt-infj-hero-content {
    flex: 1;
    max-width: 60%;
}

.pt-infj-hero-image {
    flex: 0 0 35%;
    max-width: 350px;
    display: flex;
    justify-content: center;
}

.pt-infj-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pt-infj-hero-image img:hover {
    transform: scale(1.02);
}

.pt-infj-hero-eyebrow {
    font-family: var(--ui);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.pt-infj-hero h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: var(--ink);
}

.pt-infj-hero-sub {
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-70);
    margin-bottom: 24px;
}

/* Pills / Tags */
.pt-infj-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pt-infj-pill {
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: capitalize;
}

.pt-infj-pill.introverted {
    background-color: var(--wp--preset--color--accent); /* Blush Rose */
    color: var(--wp--preset--color--deep-coral);
}

.pt-infj-pill.intuitive {
    background-color: var(--wp--preset--color--accent-4); /* Sage */
    color: var(--wp--preset--color--deep-green);
}

.pt-infj-pill.feeling {
    background-color: var(--wp--preset--color--accent-5); /* Slate Blue */
    color: var(--wp--preset--color--deep-navy);
}

.pt-infj-pill.judging {
    background-color: var(--wp--preset--color--accent-3); /* Warm Gold */
    color: var(--wp--preset--color--contrast);
}

/* Article Styling */
.pt-infj-body {
    max-width: 680px;
    margin: 0 auto;
    font-family: var(--body);
}

.pt-infj-body h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 32px;
    color: var(--wp--preset--color--contrast);
    margin-top: 48px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(44, 31, 21, 0.1);
    padding-bottom: 8px;
}

.pt-infj-body h3 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 22px;
    color: var(--wp--preset--color--accent-2); /* Terracotta */
    margin-top: 32px;
    margin-bottom: 12px;
}

.pt-infj-body p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--ink-70);
}

.pt-infj-quote {
    background: linear-gradient(to right, rgba(234, 230, 219, 0.4), rgba(234, 230, 219, 0.2));
    border-left: 6px solid var(--wp--preset--color--accent-2); /* Terracotta */
    border-radius: 4px;
    padding: 48px 56px;
    margin: 60px auto;
    max-width: 1000px;
    position: relative;
    box-sizing: border-box;
}

.pt-infj-quote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 120px;
    font-family: var(--display);
    color: rgba(184, 103, 74, 0.08); /* light terracotta */
    line-height: 1;
    pointer-events: none;
}

.pt-infj-quote p {
    font-family: var(--display);
    font-style: italic;
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
    color: var(--wp--preset--color--contrast);
    position: relative;
    z-index: 1;
}

/* Worksheet customization */
.pt-infj-body .personalitopia-ge-worksheet {
    margin-top: 60px;
    background-color: var(--wp--preset--color--base-2);
    border: 1px solid rgba(44, 31, 21, 0.1);
    border-radius: 12px;
    padding: 36px;
}

.pt-infj-body .personalitopia-ge-worksheet-header h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: 28px;
    color: var(--wp--preset--color--contrast);
}

.pt-infj-body .personalitopia-ge-worksheet-form button {
    border-radius: 8px;
    font-family: var(--ui);
    font-weight: 500;
}

/* Comments section styling */
.pt-infj-comments-container {
    max-width: 680px;
    margin: 60px auto 0 auto;
    padding-top: 40px;
    border-top: 1.5px solid rgba(44, 31, 21, 0.08);
}

.pt-infj-comments-container h2.wp-block-comments-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: 28px;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 24px;
}

.pt-infj-comments-container .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-infj-comments-container .comment {
    background-color: var(--wp--preset--color--base-2);
    border: 1px solid rgba(44, 31, 21, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.pt-infj-comments-container .comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ink-70);
}

.pt-infj-comments-container .comment-author {
    font-family: var(--ui);
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
}

.pt-infj-comments-container .comment-content p {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--wp--preset--color--contrast);
}

/* Comment Form */
.pt-infj-comments-container .comment-respond {
    background-color: var(--wp--preset--color--base-2);
    border: 1px solid rgba(44, 31, 21, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin-top: 40px;
}

.pt-infj-comments-container .comment-reply-title {
    font-family: var(--display);
    font-weight: 500;
    font-size: 22px;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 16px;
}

.pt-infj-comments-container .comment-form textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1.5px solid #e6e3dc;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.pt-infj-comments-container .comment-form input[type="text"],
.pt-infj-comments-container .comment-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e6e3dc;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.pt-infj-comments-container .comment-form .submit {
    background-color: var(--wp--preset--color--accent-2); /* Terracotta */
    color: var(--wp--preset--color--base); /* Warm Ivory */
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: var(--ui);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pt-infj-comments-container .comment-form .submit:hover {
    background-color: var(--wp--preset--color--contrast);
}

@media (max-width: 768px) {
    .pt-infj-hero {
        flex-direction: column;
        padding: 48px 24px;
        border-radius: 0;
    }
    
    .pt-infj-hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .pt-infj-hero-image {
        max-width: 100%;
        width: 100%;
    }
    
    .pt-infj-pills {
        justify-content: center;
    }
    
    .pt-infj-quote {
        padding: 36px 28px;
        margin: 40px 16px;
    }

    .pt-infj-quote::before {
        font-size: 80px;
        top: -5px;
        left: 10px;
    }
}

/* ------------------------------------------------------------- */

@layer components {
  /* Generous Desktop Layout Container */
  .wp-block-post-content .alignwide,
  .entry-content .alignwide,
  .pt-spotlight-section,
  .pt-posts-grid-wrapper,
  .pt-crowdfunding-section {
    max-width: 1240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  /* Spotlight Hero Card for Latest Post */
  .pt-spotlight-section {
    margin-top: var(--wp--preset--spacing--40, 36px);
    margin-bottom: var(--wp--preset--spacing--50, 48px);
  }

  .pt-spotlight-card {
    background-color: var(--wp--preset--color--surface, #FFFFFF);
    border: 1px solid rgba(44, 31, 21, 0.08);
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 10px 30px rgba(44, 31, 21, 0.04);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .pt-spotlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(44, 31, 21, 0.07);
  }

  .pt-spotlight-columns {
    align-items: center;
    gap: 48px;
  }

  @media (max-width: 820px) {
    .pt-spotlight-card {
      padding: 24px 20px;
    }
    .pt-spotlight-columns {
      gap: 24px;
    }
  }

  .pt-spotlight-badge {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--wp--preset--color--terracotta, #B8674A);
    margin: 0 0 8px 0;
  }

  .pt-spotlight-title a {
    font-family: var(--wp--preset--font-family--heading, 'Fraunces', serif);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    color: var(--wp--preset--color--ink, #2C1F15);
    text-decoration: none;
    line-height: 1.25;
    transition: color 0.2s ease;
  }

  .pt-spotlight-title a:hover {
    color: var(--wp--preset--color--terracotta, #B8674A);
  }

  .pt-spotlight-excerpt {
    font-family: var(--wp--preset--font-family--body, 'Crimson Pro', serif);
    font-size: 18px;
    line-height: 1.65;
    color: rgba(44, 31, 21, 0.8);
    margin-top: 14px;
    margin-bottom: 24px;
  }

  /* Universal Featured Image Framing */
  .wp-block-post-featured-image,
  figure.wp-block-post-featured-image,
  .pt-grid-card-img,
  .pt-posts-grid-container .wp-block-post-featured-image,
  .pt-cat-query .wp-block-post-featured-image,
  .pt-spotlight-img-col .wp-block-post-featured-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
    margin: 0 0 16px 0;
    padding: 0;
  }

  .pt-grid-card-inner .wp-block-post-featured-image,
  .pt-posts-grid-container .wp-block-post-featured-image,
  .pt-cat-query .wp-block-post-featured-image {
    height: 220px;
    background-color: rgba(44, 31, 21, 0.04);
  }

  .wp-block-post-featured-image a,
  figure.wp-block-post-featured-image a,
  .pt-grid-card-img a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
  }

  .wp-block-post-featured-image img,
  figure.wp-block-post-featured-image img,
  .pt-grid-card-img img,
  .pt-posts-grid-container .wp-block-post-featured-image img,
  .pt-cat-query .wp-block-post-featured-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
  }

  .pt-spotlight-img-col .wp-block-post-featured-image,
  .pt-spotlight-img-col .wp-block-post-featured-image img {
    height: 100%;
    min-height: 280px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 14px;
  }

  /* Spotlight Author & Footer Meta */
  .pt-spotlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid rgba(44, 31, 21, 0.08);
    flex-wrap: wrap;
    gap: 16px;
  }

  .pt-spotlight-author-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .pt-spotlight-author-name {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 14px;
    color: var(--wp--preset--color--ink, #2C1F15);
    margin: 0;
  }

  .pt-spotlight-date,
  .pt-spotlight-date time {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 13.5px;
    color: var(--wp--preset--color--sage, #8AA68E);
    margin: 0;
  }

  /* Buttonized Read More links */
  .wp-block-read-more,
  a.wp-block-read-more,
  .pt-read-more-link,
  a.pt-read-more-link,
  .pt-more-arrow,
  a.pt-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    background-color: var(--wp--preset--color--blush-tint, #F7DDD3);
    color: var(--wp--preset--color--terracotta, #B8674A);
    border-radius: 8px;
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
  }

  .wp-block-read-more:hover,
  a.wp-block-read-more:hover,
  .pt-read-more-link:hover,
  a.pt-read-more-link:hover,
  .pt-more-arrow:hover,
  a.pt-more-arrow:hover {
    background-color: var(--wp--preset--color--terracotta, #B8674A);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 103, 74, 0.2);
  }

  /* Chronological 2-Column Grid of Posts */
  .pt-posts-grid-wrapper {
    margin-top: var(--wp--preset--spacing--40, 36px);
    margin-bottom: var(--wp--preset--spacing--50, 48px);
  }

  .pt-posts-grid-container,
  .wp-block-post-template.is-layout-grid,
  ul.pt-posts-grid-container,
  ul.wp-block-post-template.is-layout-grid {
    gap: 36px 32px;
    margin-bottom: 32px;
  }

  .pt-grid-card-inner {
    background-color: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.2s ease;
  }

  .pt-grid-card-inner:hover {
    transform: translateY(-2px);
  }

  .pt-grid-card-body {
    padding: 0;
    gap: 6px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
  }

  .pt-grid-card-title {
    margin: 0 0 4px 0;
  }

  .pt-grid-card-title a {
    font-family: var(--wp--preset--font-family--heading, 'Fraunces', serif);
    font-size: 21px;
    font-weight: 500;
    color: var(--wp--preset--color--ink, #2C1F15);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
  }

  .pt-grid-card-title a:hover {
    color: var(--wp--preset--color--terracotta, #B8674A);
  }

  .pt-grid-card-excerpt {
    font-family: var(--wp--preset--font-family--body, 'Crimson Pro', serif);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(44, 31, 21, 0.8);
    margin: 0 0 8px 0;
    flex-grow: 1;
  }

  .pt-grid-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(44, 31, 21, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .pt-grid-card-date,
  .pt-grid-card-date time {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 13px;
    color: var(--wp--preset--color--sage, #8AA68E);
    margin: 0;
  }

  /* Category Hub Headers & Feeds */
  .pt-category-hubs-container {
    margin-top: var(--wp--preset--spacing--50, 48px);
    margin-bottom: var(--wp--preset--spacing--50, 48px);
  }

  .pt-category-section {
    margin-bottom: 40px;
  }

  .pt-category-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(44, 31, 21, 0.1);
    padding-bottom: 12px;
  }

  .pt-category-eyebrow {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--terracotta, #B8674A);
    display: block;
    margin-bottom: 4px;
  }

  .pt-category-section-title {
    font-family: var(--wp--preset--font-family--heading, 'Fraunces', serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--wp--preset--color--ink, #2C1F15);
    margin: 0;
  }

  .pt-category-more-link a {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--terracotta, #B8674A);
    text-decoration: none;
  }

  .pt-category-more-link a:hover {
    color: #9E5338;
  }

  /* The Age of Self-Realization Book Philosophy Card */
  .pt-crowdfunding-section {
    margin-top: var(--wp--preset--spacing--50, 48px);
    margin-bottom: var(--wp--preset--spacing--50, 48px);
  }

  .pt-crowdfunding-card {
    background-color: var(--wp--preset--color--surface, #FFFFFF);
    border: 1px solid rgba(44, 31, 21, 0.08);
    border-left: 5px solid var(--wp--preset--color--terracotta, #B8674A);
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 10px 30px rgba(44, 31, 21, 0.04);
    box-sizing: border-box;
  }

  @media (max-width: 768px) {
    .pt-crowdfunding-card {
      padding: 28px 24px;
    }
  }

  .pt-book-eyebrow {
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--terracotta, #B8674A);
    margin: 0 0 6px 0;
    display: inline-block;
  }

  .pt-crowdfunding-title {
    font-family: var(--wp--preset--font-family--heading, 'Fraunces', serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--wp--preset--color--ink, #2C1F15);
    margin: 6px 0 12px 0;
    line-height: 1.25;
  }

  .pt-crowdfunding-text {
    font-family: var(--wp--preset--font-family--body, 'Crimson Pro', serif);
    font-size: 17.5px;
    line-height: 1.65;
    color: rgba(44, 31, 21, 0.8);
    margin: 0 0 24px 0;
    max-width: 68ch;
  }

  .pt-crowdfunding-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .pt-crowdfunding-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--terracotta, #B8674A);
    color: #FFFFFF;
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--wp--custom--radius--btn, 8px);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(184, 103, 74, 0.2);
    margin: 0;
  }

  .pt-crowdfunding-btn:hover {
    background-color: #9E5338;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(184, 103, 74, 0.3);
    color: #FFFFFF;
  }

  /* Modern Button Pagination with Gaps */
  .pt-pagination-container,
  .wp-block-query-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    margin-bottom: 24px;
    padding: 12px 0;
  }

  .wp-block-query-pagination a,
  .wp-block-query-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background-color: var(--wp--preset--color--surface, #FFFFFF);
    border: 1px solid rgba(44, 31, 21, 0.15);
    box-shadow: 0 2px 6px rgba(44, 31, 21, 0.04);
    font-family: var(--wp--preset--font-family--ui, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--ink, #2C1F15);
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }

  .wp-block-query-pagination a:hover {
    background-color: var(--wp--preset--color--blush-tint, #F7DDD3);
    border-color: var(--wp--preset--color--terracotta, #B8674A);
    color: var(--wp--preset--color--terracotta, #B8674A);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 103, 74, 0.18);
  }

  .wp-block-query-pagination .page-numbers.current {
    background-color: var(--wp--preset--color--terracotta, #B8674A);
    border-color: var(--wp--preset--color--terracotta, #B8674A);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(184, 103, 74, 0.25);
  }

  .wp-block-query-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 24px;
    color: rgba(44, 31, 21, 0.5);
  }
}



/* personalitopia-profile-pages <- /wp-content/themes/twentytwentyfour-child/assets/css/profile-pages.css */
/**
 * Personalitopia Component Styles: Personality Profile Page Styles
 * Theme: twentytwentyfour-child
 */


* USER PROFILE & HISTORY PAGES STYLING
 * ------------------------------------------------------------- */

.pt-profile-page-wrapper {
    max-width: 1100px;
    margin: 3rem auto;
    font-family: var(--ui, 'Outfit', sans-serif);
    color: var(--ink);
    padding: 0 20px;
}

.pt-profile-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .pt-profile-grid-layout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 48px;
    }
}

.pt-profile-main-col {
    background: var(--bg-surface, #faf8f5);
    border: 1px solid rgba(44, 31, 21, 0.1);
    border-radius: 12px;
    padding: 32px;
}

.pt-profile-sidebar-col {
    background: #ffffff;
    border: 1px solid rgba(44, 31, 21, 0.1);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pt-profile-sidebar-col h3 {
    margin: 0;
    font-family: var(--ui);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.pt-avatar-desc {
    font-size: 13px;
    color: var(--ink-70);
    margin: 0;
    line-height: 1.5;
}

/* Avatar Preview Circle */
.pt-avatar-preview-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.pt-avatar-preview-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--terracotta);
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(44, 31, 21, 0.08);
}

.pt-avatar-preview-circle svg,
.pt-avatar-preview-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Avatar Options Grid */
.pt-avatar-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pt-avatar-option-card {
    display: block;
    padding: 14px;
    background: #ffffff;
    border: 1.2px solid rgba(44, 31, 21, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.pt-avatar-option-card:hover {
    border-color: var(--terracotta);
}

.pt-avatar-option-card.active {
    border-color: var(--terracotta);
    background: rgba(184, 103, 74, 0.04);
}

.pt-avatar-option-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #fafafa;
    border-color: rgba(44, 31, 21, 0.06);
}

.pt-avatar-option-card.disabled:hover {
    border-color: rgba(44, 31, 21, 0.06);
}

.pt-avatar-option-card input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 16px;
    accent-color: var(--terracotta);
}

.pt-avatar-option-card .pt-option-title {
    display: block;
    font-family: var(--ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.pt-avatar-option-card .pt-option-desc {
    display: block;
    font-family: var(--ui);
    font-size: 12px;
    color: var(--ink-70);
    padding-right: 24px;
}

/* Mascot Studio Promo Card */
.pt-avatar-studio-link-card {
    background: #faf7f0;
    border: 1.5px dashed var(--terracotta);
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
}

.pt-studio-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pt-studio-flex svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.pt-studio-flex h4 {
    margin: 0 0 2px 0;
    font-family: var(--ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.pt-studio-flex p {
    margin: 0;
    font-family: var(--ui);
    font-size: 12px;
    color: var(--ink-70);
    line-height: 1.4;
}

/* Upload Photo Container */
.pt-profile-upload-container {
    margin-top: 10px;
}

.pt-profile-upload-container h4 {
    margin: 0 0 10px 0;
    font-family: var(--ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.pt-file-drag-zone {
    border: 1.5px dashed rgba(44, 31, 21, 0.2);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #ffffff;
}

.pt-file-drag-zone:hover,
.pt-file-drag-zone.dragging {
    border-color: var(--terracotta);
    background: rgba(184, 103, 74, 0.02);
}

.pt-drag-icon {
    font-size: 24px;
}

.pt-drag-text {
    font-family: var(--ui);
    font-size: 13px;
    color: var(--ink-70);
}

.pt-upload-status {
    font-family: var(--ui);
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
}

/* Danger Zone */
.pt-profile-danger-zone {
    margin-top: 40px;
    border-top: 1px solid rgba(44, 31, 21, 0.1);
    padding-top: 28px;
}

.pt-profile-danger-zone h3 {
    font-family: var(--ui);
    font-size: 16px;
    font-weight: 600;
    color: #a94442;
    margin: 0 0 4px 0;
}

.pt-profile-danger-zone p {
    font-family: var(--ui);
    font-size: 13px;
    color: var(--ink-70);
    margin: 0 0 16px 0;
}

.pt-danger-actions-flex {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pt-btn-danger {
    color: #a94442;
    border-color: rgba(169, 68, 66, 0.2);
}

.pt-btn-danger:hover {
    background: rgba(169, 68, 66, 0.05);
    border-color: #a94442;
}

/* TEST HISTORY PAGE */
.pt-history-page-wrapper {
    max-width: 1000px;
    margin: 3rem auto;
    font-family: var(--ui, 'Outfit', sans-serif);
    color: var(--ink);
    padding: 0 20px;
}

.pt-history-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1.5px solid rgba(44, 31, 21, 0.08);
    padding-bottom: 12px;
}

.pt-history-empty-card {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-surface, #faf8f5);
    border: 1px solid rgba(44, 31, 21, 0.1);
    border-radius: 12px;
}

.pt-history-empty-card h3 {
    font-size: 18px;
    margin: 0 0 6px 0;
    color: var(--ink);
}

.pt-history-empty-card p {
    font-size: 14px;
    color: var(--ink-70);
    margin: 0 0 24px 0;
}

.pt-history-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.pt-history-result-card {
    background: #ffffff;
    border: 1px solid rgba(44, 31, 21, 0.1);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(44, 31, 21, 0.02);
}

.pt-history-result-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 31, 21, 0.06);
}

.pt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.pt-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: 4px;
}

.pt-card-title {
    font-family: var(--display, 'Playfair Display', serif);
    font-size: 20px;
    color: var(--ink);
    margin: 0;
    font-weight: 500;
}

.pt-delete-entry-btn {
    background: none;
    border: none;
    color: rgba(44, 31, 21, 0.35);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.pt-delete-entry-btn:hover {
    color: #a94442;
    background: rgba(169, 68, 66, 0.05);
}

.pt-card-meta {
    font-size: 13px;
    color: var(--ink-70);
}

.pt-card-actions {
    margin-top: auto;
    border-top: 1px solid rgba(44, 31, 21, 0.08);
    padding-top: 16px;
}

.pt-btn-small {
    font-size: 12px;
    padding: 8px 16px;
    width: 100%;
    text-align: center;
}

