/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.1.1789217001
Updated: 2026-09-12 12:43:21

*/

/* ==========================================================================
   1. Base & Global Styles
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #FAF8F5;
    color: #181512;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}

/* Subtle Paper Texture */
.bg-paper-texture {
    background-color: #FAF8F5;
    background-image: radial-gradient(#E8E3D7 0.75px, transparent 0.75px);
    background-size: 24px 24px;
}

/* Editorial Accent Rules & Tags */
.editorial-rule {
    display: inline-block;
    width: 36px;
    height: 1px;
    background-color: #B38F44;
    vertical-align: middle;
}

.section-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8E8478;
}

/* 3D Book Spine & Elevation */
.book-spine-effect {
    position: relative;
    box-shadow: 
        -4px 4px 10px rgba(0, 0, 0, 0.08),
        0 16px 36px -4px rgba(24, 21, 18, 0.18),
        0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    border-radius: 2px 6px 6px 2px;
}

.book-spine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.4), rgba(0,0,0,0.15));
    z-index: 5;
    pointer-events: none;
}

.book-card-wrap:hover .book-spine-effect,
.book-hub-card:hover .book-spine-effect {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 
        -6px 8px 16px rgba(0, 0, 0, 0.1),
        0 24px 48px -6px rgba(24, 21, 18, 0.24);
}

/* Museum Frame for Portrait */
.portrait-frame::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid #D8D1C3;
    pointer-events: none;
    z-index: 0;
}

.portrait-img {
    position: relative;
    z-index: 1;
}

/* Pathway Hub Cards */
.pathway-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pathway-card:hover {
    transform: translateY(-4px);
    border-color: #181512;
    background-color: #FCFBF8;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #181512;
    background-color: #FFFFFF;
    box-shadow: 0 12px 28px -6px rgba(24, 21, 18, 0.08);
}

/* Scroll Animation Fade-in */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modals & Lightbox Backdrop */
.modal-backdrop {
    background: rgba(20, 18, 15, 0.85);
    backdrop-filter: blur(8px);
}

/* Cross-browser scrollbar suppression */
.no-scrollbar::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   2. Editorial Primary Navigation Menu (Desktop & Header)
   ========================================================================== */

.primary-nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (min-width: 1280px) {
    .primary-nav-menu {
        font-size: 0.7rem;
    }
}

.primary-nav-menu li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex: 1 1 auto;
    justify-content: space-between;
}

.primary-nav-menu li:last-child {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.primary-nav-menu li:not(:last-child)::after {
    content: "·";
    color: #D0C7B7;
    user-select: none;
    font-size: 1.15rem;
    line-height: 1;
    font-weight: bold;
    display: inline-block;
    margin: 0 auto;
}

.primary-nav-menu li a {
    color: #5C544C; /* text-ink-muted */
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
    padding-bottom: 2px;
    white-space: nowrap;
}

.primary-nav-menu li a:hover {
    color: #B38F44; /* text-gold */
}

/* Active / Current Page State */
.primary-nav-menu li.current-menu-item > a,
.primary-nav-menu li.current_page_item > a,
.primary-nav-menu li.current-menu-ancestor > a {
    color: #181512; /* text-ink */
    font-weight: 700;
    border-bottom: 2px solid #181512;
}

/* ==========================================================================
   3. Mobile Navigation Menu Styling
   ========================================================================== */

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 0.25rem 0;
    color: #5C544C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-menu li a:hover {
    color: #181512;
}

.mobile-nav-menu li.current-menu-item > a,
.mobile-nav-menu li.current_page_item > a {
    color: #181512;
    font-weight: 700;
}
