/*
Theme Name: The Moonstruck Theme 9.0
Theme URI: https://wordpress.org/themes/twentytwenty/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 9.5.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: -
License URI: -
Text Domain: the-moonstruck-theme
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =================================================================
   1. TYPOGRAPHY & RESET
   ================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400..900;1,400..900&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Special+Elite&display=swap');

:root {
    --color-red: #D9363E;
    --color-black: #111111;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-border: #E5E5E5;
    
    --font-serif: 'Besley', serif;
    --font-sans: 'Host Grotesk', sans-serif;
    
    --container-width: 1200px;
    --fab-size: 60px; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* FIX: Horizontal Scroll Prevention */
html, body {
    width: 100%;
    overflow-x: hidden; 
    position: relative;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: #fff;
    overflow-wrap: break-word; 
    word-wrap: break-word; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; height: auto; }

/* Global Typography Tweaks */
h1, h2 { letter-spacing: -1.25px; }


/* =================================================================
   2. UTILITY: BUTTONS
   ================================================================= */
.btn--primary {
    background: var(--color-red);
    color: white;
    padding: 9px 40px; 
    font-weight: 500;
    font-size: 1.125rem;
    display: inline-block;
    border: none;
    border-radius: 5px; 
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn--block { 
    display: block; 
    text-align: center; 
    width: 240px; 
    margin-top: 0; 
}


/* =================================================================
   3. HEADER & BRANDING
   ================================================================= */
.site-header { padding: 10px 0; border-bottom: 1px solid #eee; position: fixed;
    background: #fff;
    width: 100%; z-index: 1000; }

.site-header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-mini { font-family: var(--font-serif); font-weight: 700; }
.desktop-navigation ul { display: flex; list-style: none; gap: 20px; font-size: 0.85rem; font-weight: 500; margin: 0; }
.desktop-navigation a:hover { color: var(--color-red); }

.branding-area { text-align: center; padding: 80px 20px; margin-top: 48px; }
.main-logo { font-size: 3.5rem; line-height: 1; color: var(--color-black); }
.logo-sub { display: block; font-family: var(--font-sans); font-size: 1rem; color: var(--color-red); text-transform: uppercase; letter-spacing: 2px; margin: 5px 0; }

.main-logo-visual {
	display: block;
    width: 360px;
	max-width: calc(100vw - 64px);
    margin: auto;
}

.main-log-visual img {
}


/* =================================================================
   4. HERO SECTION
   ================================================================= */
.hero-section {
    width: calc(100vw - 36px); 
    max-width: 1200px;
    margin: 0 auto;
    
    background-color: #21151A;
    border-radius: 10px;
    color: white;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    padding: 80px 20px; 
    overflow: hidden; 
    position: relative;
}

.hero-bg-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    opacity: 0.3; object-fit: cover; z-index: 0;
}

.hero-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; z-index: 1;
}

.hero-badge {
    color: #D9363E; 
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-transform: capitalize;
}

.hero-meta {
    font-family: var(--font-sans);
    font-size: 0.84rem;
    color: #E0C09E;
    margin-bottom: 4.8px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.4rem; 
    line-height: 0.96;
    margin-bottom: 4.8px;
    font-weight: 550;
    max-width: 480px;
}

.hero-author {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: #E0C09E;
    margin-bottom: 35px;
}


/* =================================================================
   5. CONTENT GRID & LAYOUT
   ================================================================= */
.content-container {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.section-heading {
    color: var(--color-red);
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 30px;
    letter-spacing: 0px;
}

/* --- Post Cards --- */
.post-card { 
    display: flex; 
    gap: 24px; 
    margin-bottom: 24px; 
    border-bottom: 1px solid #E5E5E5; 
    padding-bottom: 16px; 
    align-items: flex-start;
}

.post-card__image { 
    flex: 0 0 280px; 
    border-radius: 5px;
    overflow: hidden; /* Hides overflow */
}

.post-card__image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Key property: crops image to fill the box */
    transition: transform 0.4s ease;
}

.post-card:hover .post-card__image img { transform: scale(1.05); }

.post-card__content { flex: 1; }

.post-card__meta {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-red);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card__meta .separator {
    font-size: 1.2rem;
    line-height: 0;
    position: relative;
    top: -1px;
}

.post-card__title { 
    font-size: 1.6rem; 
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1; 
    color: var(--color-black);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.post-card__title a:hover { color: var(--color-red); }

.post-card__excerpt { 
    font-family: var(--font-serif);
    font-size: 0.84rem; 
    color: #444; 
    line-height: 1.2;
    margin-bottom: 10px;
}

.read-more-link { 
    font-family: var(--font-sans);
    font-weight: 700; 
    font-size: 1rem; 
    color: var(--color-red);
    display: inline-flex; 
    align-items: center; 
}

.read-more-link::before { 
    content: ''; 
    display: inline-block; 
    width: 12px; 
    height: 12px; 
    background: var(--color-red); 
    border-radius: 50%; 
    margin-right: 12px; 
}


/* =================================================================
   6. SIDEBAR WIDGETS
   ================================================================= */
.widget { padding: 30px; text-align: center; }

.widget-author{ max-width: 480px; margin: auto; }

.widget-author .widget-title { 
    font-family: var(--font-serif); 
    font-size: 1.2rem; 
    margin-bottom: 15px; 
    display: inline-block; 
    padding-bottom: 5px; 
}
.widget-author p { font-size: 0.9rem; margin-bottom: 15px; line-height: 1.2; }
.author-link { /* color: var(--color-red); */ font-weight: 700; font-size: 0.9rem; }

/* Widget: Most Loved Stories */
.widget-popular {
    text-align: left;
    border: none; 
    padding: 0; 
    background: transparent;
    border-top: 1px solid #E5E5E5; 
    padding-top: 30px;
}

.widget-popular .widget-title {
    font-family: var(--font-sans); 
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-red); 
    margin-bottom: 25px;
    border: none; 
    display: block;
    text-transform: none;
}

.popular-list { list-style: none; padding: 0; margin: 0; }
.popular-list li {
    border-left: 3px solid var(--color-red); 
    padding-left: 15px; 
    margin-bottom: 30px;
    border-bottom: none; 
    display: block;
}

.popular-list a {
    font-family: var(--font-serif); 
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 0;
    display: block;
    transition: color 0.2s;
}
.popular-list a:hover { color: var(--color-red); }

.popular-list .date {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-red);
    display: block;
}

/* Widget: Newsletter */
.widget-newsletter {
    text-align: center;
    padding: 30px;
    background: transparent; 
    border: none;
    max-width: 640px;
    margin: auto;
}

.newsletter-image-wrapper { display: flex; justify-content: center; margin-bottom: 20px; }
.newsletter-image-wrapper img { width: 140px; height: auto; object-fit: contain; }

.widget-newsletter .widget-title {
    font-family: var(--font-sans); 
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-red); 
    margin-bottom: 7.2px;
    border: none;
    display: block;
}

.newsletter-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #444;
    line-height: 1.125;
    margin-bottom: 25px;
    max-width: 90%; 
    margin-left: auto; 
    margin-right: auto;
}

/* MAILCHIMP STYLES SPECIFIC */
.mc4wp-form { display: flex; flex-direction: column; gap: 15px; }
.mc4wp-form .mc4wp-form-fields { width: 100%; position: relative; }

.mc4wp-form input {
    width: 100%;
    height: 48px; 
    padding: 0 15px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #333; 
    border-radius: 5px;
    appearance: none; 
    -webkit-appearance: none;
}

.mc4wp-form .btn--primary {
    border: 0;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    font-size: 1rem;
    border-radius: 5px;
    text-transform: none;
    background: var(--color-red);
    color: white; 
}

/* CUSTOM SUBSCRIBE FORM STYLES */

.subscribe-form { display: flex; flex-direction: column; gap: 15px; }
.subscribe-form .form-group { width: 100%; position: relative; }

.subscribe-form select,
.subscribe-form input {
    width: 100%;
    height: 48px; 
    padding: 0 15px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #333; 
    border-radius: 5px;
    appearance: none; 
    -webkit-appearance: none;
}

.subscribe-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.subscribe-form button {
    width: 100%;
    height: 48px;
    margin-top: 0;
    font-size: 1rem;
    border-radius: 5px;
    text-transform: none; 
}

.mc4wp-response {
    
}

.mc4wp-alert {
    line-height: 1.125;
}

/* If the subscription is successful */
.mc4wp-success {
    color:darkgreen;
}

/* If the Email is already subscribed */
.mc4wp-notice {
    color:darkgreen;
}



/* =================================================================
   7. FOOTER
   ================================================================= */
.footer-cta { 
    text-align: center; 
    padding: 80px 20px; 
    background: #fafafa; 
}

.footer-cta h2 { 
    font-family: var(--font-serif); 
    font-size: 2rem; 
    margin-bottom: 15px; 
    color: var(--color-black);
    line-height: 1.125;
}

.footer-cta p {
    max-width: 900px;
    margin: auto;
    line-height: 1.125;
    text-align: center;
}

.site-footer { 
    border-top: 1px solid #E5E5E5; 
    padding: 60px 20px 80px; 
    background: #fff;
    color: var(--color-black);
}

.footer-inner { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 10px;
    align-items: start; 
}

.footer-block { text-align: left; }

.footer-block p {
    font-family: var(--font-sans);
    font-size: 0.8rem; 
    line-height: 1.2;
    color: #111;
    margin-bottom: 15px;
    max-width: 240px;
}

.footer-block strong { font-weight: 700; color: #000; }

.footer-logo { 
    font-family: var(--font-serif); 
    font-weight: 700; 
    color: var(--color-black); 
    font-size: 1.6rem; 
    line-height: 1; 
}


@media (max-width: 900px) {
    .footer-inner { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        text-align: left; 
    }
    
    .footer-logo { margin-bottom: 10px; }
}


/* =================================================================
   8. RESPONSIVE / MOBILE
   ================================================================= */
@media (max-width: 900px) {
    .desktop-navigation { display: none; }
    .content-container { grid-template-columns: 1fr; gap: 40px; margin: 10px 0;}

    .section-heading { text-align: center; }
    .header-logo-mini { margin: auto; }
    
    .post-card { flex-direction: row; gap: 20px; border-radius: 5px; padding: 22px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); margin: 20px auto}
    .post-card__image { flex: auto; max-width: 320px; }
    .post-card__image img { height: auto; }

    .btn--block { margin: auto; width: 100%;}
    
    .footer-inner { flex-direction: column; gap: 15px; text-align: center; }
    
    .hero-title { font-size: 1.6rem; line-height: 1.1; } 
    .post-card__title { font-size: 1.4rem; }
    .post-card__excerpt { font-size: 0.84rem; }
    .widget-newsletter { padding: 10px; }
}

@media (max-width: 640px) {
    .post-card { flex-direction: column; }
    .post-card__image { flex: auto; max-width: 640px; }
}



/* =================================================================
   9. MOBILE MENU OVERLAY
   ================================================================= */
.sticky-nav-button {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom) + 20px);
    right: 30px;
    
    width: var(--fab-size);
    height: var(--fab-size);
    background-color: var(--color-red);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(217, 54, 62, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-nav-button:hover { transform: scale(1.1); }

.icon-container {
    width: 24px;
    height: 18px; 
    position: relative;
    flex-shrink: 0; 
}

.icon-bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    left: 0;
}

.bar-1 { top: 2px; }
.bar-2 { bottom: 2px; }

.icon-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 72%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.menu-open .sticky-nav-button { background-color: white; }
body.menu-open .icon-bar { background: var(--color-red); }
body.menu-open .icon-container::after { opacity: 0; }
body.menu-open .bar-1 { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .bar-2 { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-black); z-index: 9999;
    clip-path: circle(30px at calc(100% - 60px) calc(100% - 60px));
    pointer-events: none; opacity: 0; transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
    display: flex; flex-direction: column; justify-content: center; padding: 40px; color: white;
}
body.menu-open .mobile-menu-overlay { pointer-events: all; opacity: 1; clip-path: circle(150% at calc(100% - 60px) calc(100% - 60px)); }

.menu-branding { text-align: center; font-size: 2.5rem; font-family: var(--font-serif); margin-bottom: 64px; opacity: 0; transform: translateY(20px); transition: 0.5s ease; }
.mobile-category-nav { margin-bottom: 24px; }
.mobile-category-nav ul { list-style: none; padding: 0; }
.mobile-category-nav li { margin-bottom: 0; }
.mobile-category-nav a { font-size: 2rem; font-family: var(--font-sans); font-weight: 100; display: flex; align-items: baseline; gap: 15px; color: white; opacity: 0; transform: translateY(20px); transition: 0.5s ease; }
.mobile-category-nav a:hover { color: var(--color-red); }
.count { font-size: 0.9rem; color: #666; font-family: var(--font-sans); font-weight: 400; }
.menu-divider { border: 0; border-top: 1px solid #333; margin: 12px 0; width: 100%; }
.mobile-bottom-nav { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 500; }
.mobile-bottom-nav a { opacity: 0; transform: translateY(20px); transition: 0.5s ease; color: white;}

body.menu-open .menu-branding, body.menu-open .mobile-category-nav a, body.menu-open .mobile-bottom-nav a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-category-nav li:nth-child(1) a { transition-delay: 0.1s; }
body.menu-open .mobile-category-nav li:nth-child(2) a { transition-delay: 0.15s; }
body.menu-open .mobile-category-nav li:nth-child(3) a { transition-delay: 0.2s; }
body.menu-open .mobile-category-nav li:nth-child(4) a { transition-delay: 0.25s; }
body.menu-open .mobile-category-nav li:nth-child(5) a { transition-delay: 0.3s; }
body.menu-open .mobile-category-nav li:nth-child(6) a { transition-delay: 0.35s; }
body.menu-open .mobile-category-nav li:nth-child(7) a { transition-delay: 0.4s; }
body.menu-open .mobile-category-nav li:nth-child(8) a { transition-delay: 0.5s; }
body.menu-open .mobile-category-nav li:nth-child(9) a { transition-delay: 0.55s; }
body.menu-open .mobile-category-nav li:nth-child(10) a { transition-delay: 0.6s; }

/* Update the divider to be visible (White) */
.menu-divider { 
    border: 0; 
    border-top: 1px solid var(--color-red); /* Changed from #333 to #fff */
    margin: 5px 0 10px 0; /* Added spacing to breathe */
    width: 100%; 
    opacity: 1;
}

/* Reset the container */
.mobile-bottom-nav { 
    width: 100%;
    display: block; /* Let the UL inside handle the flex */
}

/* Target the UL generated by WordPress */
.mobile-bottom-nav ul {
    display: flex;
    justify-content: space-between; /* Pushes items to far left and far right */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Ensure list items don't have weird margins */
.mobile-bottom-nav li {
    margin: 0;
}

/* Style the links to match Image 2 */
.mobile-bottom-nav a { 
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.125rem; /* Slightly larger */
    color: white;
    text-decoration: none;
    
    /* Keep your existing animation styles */
    opacity: 0; 
    transform: translateY(20px); 
    transition: 0.5s ease;
}

.mobile-bottom-nav a:hover { 
    color: var(--color-red); 
}


/* =================================================================
   10. SINGLE POST PAGE STYLES
   ================================================================= */

.single-container {
    width: calc(100vw - 64px);
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

/* --- A. Featured Image --- */
.article-featured-image {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}
.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px; 
    object-fit: cover;
}

/* --- B. Header --- */
.article-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.article-meta {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-red);
    font-size: 0.85rem;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.1;
    color: var(--color-black);
    letter-spacing: -1px;
}

.article-byline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-red);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.article-read-stats {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #666;
    max-width: 180px;
    margin: auto;
    line-height: 1.12;
}

.read-count-number {
    font-weight:700;
}

/* --- C. Article Body (Editorial Style) --- */
.article-body {
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-serif); 
    font-size: 1.1rem;
    line-height: 1.225;
    color: #000;
}

.article-body p { margin-bottom: 18px; }

/* Intro Block */
.intro-block {
    text-align: left;
    font-style: italic;
    color: #000;
    margin-bottom: 40px;
    padding: 0 72px;
    line-height: 1.125;
}

.intro-label {
    display: block;
    font-family: var(--font-serif);
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #000
}

/* Restoration Note (All Caps Block) */
.restoration-note {
    margin: 60px 0;
    padding: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #666;
}

.special-note {
    font-family: "Special Elite", monospace;
    font-size: 0.96rem;
    line-height: 1.225;
    max-width: 480px;
    padding: 0 36px;
    margin: auto;
}

/* =================================================================
   POST NAVIGATION
   ================================================================= */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    margin: 80px auto; 
    padding: 40px 0;   
    border-top: 1px solid #999; 
    border-bottom: 1px solid #999;
    width: calc(100vw - 64px);
    max-width: 900px;
    gap: 40px;
}

.nav-box {
    display: flex;
    align-items: center; 
    width: 48%; 
    gap: 25px; 
    text-decoration: none;
    background-color: transparent; 
    padding: 0; 
    border-radius: 0;
    color: inherit;
    transition: opacity 0.3s;
}

.nav-box:hover { opacity: 0.7; }
.nav-box--prev { text-align: left; flex-direction: row; }
.nav-box--next { text-align: right; justify-content: flex-end; flex-direction: row; }

.nav-thumbnail {
    flex-shrink: 0; 
    width: 100px;   
    height: 100px;
    background-color: var(--color-red); 
    overflow: hidden;
}

.nav-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-content { display: flex; flex-direction: column; }
.nav-label {
    font-family: var(--font-sans); 
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-red); 
    margin-bottom: 0;
    display: block;
}

.nav-title {
    font-family: var(--font-serif); 
    font-weight: 700; 
    font-size: 1.24rem;
    line-height: 1;
    color: var(--color-black);
    margin: 0;
    letter-spacing: -0.64px;
}

@media (max-width: 768px) {
    .post-navigation { flex-direction: column; gap: 40px; }
    .nav-box { width: 100%; }
}

/* =================================================================
   RELATED POSTS
   ================================================================= */
.related-section {
    width: 100%;
    max-width: calc(100vw - 36px); 
    margin: 0 auto;
    max-width: 1400px;
}

.related-inner { width: 100%; }

.related-section .related-heading {
    text-align: center;
    color: var(--color-red);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.4rem; 
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
}

.related-grid .the_champ_sharing_container {
    display: none;
}

.related-section .post-card__meta { font-size: 0.72rem; margin-bottom: 0; }
.related-section .post-card__image { flex: 0 0 172px; }
.related-section .post-card__image img { min-height: 120px; }
.related-section .post-card__title { font-size: 1.125rem; margin-bottom: 7.2px}
.related-section .post-card__excerpt {margin-bottom: 7.2px;}

@media (max-width: 1400px) {
    .related-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 900px) {
    .article-title { font-size: 2rem; }
    .post-navigation { flex-direction: column; }
    .nav-box { width: 100%; }
    .related-grid { grid-template-columns: 1fr; gap: 0; }
    .nav-title { font-size: 0.96rem; max-width: 320px; }
    .intro-block { padding: 0 36px; }
    .intro-block p { font-size: 0.96rem; }
    .related-grid .post-card { gap: 5px; }
    .related-grid .post-card__meta, .related-section .post-card__title { margin-bottom: 5px; }
    .single-container { padding: 48px 0; }
    .related-section .related-heading { margin-bottom: 10px; }
}


/* =================================================================
   11. CATEGORY PAGE
   ================================================================= */
.category .content-container { margin-top: 0; }
.category .branding-area { padding: 100px 20px; }
.category-heading {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    color: var(--color-text);
    line-height: 1.6;
    background: #fff;
    overflow-wrap: break-word; 
    word-wrap: break-word;
}
.story-count { font-size: 1.2rem; margin-top: -17px; font-weight: 200; }
.story-count .count {
    color: var(--color-red);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -1.6px;
}
.section-heading .category-name { color: var(--color-black); }

@media (min-width: 901px) {
    .sticky-nav-button {
        display: none !important;
    }
}

/* Plugin Specific styles */

.story-likes-wrapper {
    display: block;
    text-align: center;
    width: 72px;
    margin: 0 auto 36px auto;
}

.story-like-btn {
    display: block;
    margin: auto;
}

.likes-count {
    margin-left: 0;
    display: block;
    margin: auto;
    text-align: center;
	font-family: var(--font-sans);
}

div.the_champ_sharing_title {
	margin-bottom: 10px;
    text-transform: capitalize;
    font-family: var(--font-sans);
}

/* =================================================================
   ABOUT PAGE TEMPLATE STYLES
   ================================================================= */

.about-container {
    width: calc(100vw - 64px);
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: var(--font-sans);
    color: var(--color-black);
}

/* --- 1. Header Section --- */
.about-header { text-align: center; margin-bottom: 50px; margin-top: 50px; padding-top: 96px;}

.about-title {
    font-family: var(--font-serif);
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--color-black);
}

.about-intro-text {
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #444;
    line-height: 1.12;
    font-style: italic;
}

/* --- 2. Hero Image --- */
.about-hero-image {
    margin-bottom: 80px;
    border-radius: 10px;
    overflow: hidden;
}
.about-hero-image img { width: 100%; height: auto; display: block; }

/* --- 3. Bio Grid --- */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    align-items: start;
}

.bio-heading {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--color-black);
}

.bio-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #111;
}
.bio-text p { margin-bottom: 15px; }
.bio-text strong { font-weight: 700; }

.bio-sub-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.2;
    color: #555;
    margin-top: 30px;
}

/* Red Placeholder Blocks */
.img-placeholder-rect {
    width: 100%;
    height: 140px; 
    background-color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-top: 30px;
}

.img-placeholder-square {
    width: 100%;
    padding-bottom: 100%; /* Creates a square */
    background-color: var(--color-red);
    position: relative;
    /* margin-bottom: 30px; removed bottom margin to align with grid better */
}
.img-placeholder-square span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-serif);
    font-size: 3.5rem;
}

/* --- 4. Quote Section --- */
.quote-section {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px auto;
}

.quote-label {
    color: var(--color-red);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0;
    display: block;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.12;
    color: var(--color-black);
}

/* --- 5. Contact / Footer Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-top: 1px solid #eee;
    padding-top: 60px;
    margin-bottom: 60px;
}

.contact-col h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--color-black);
    letter-spacing: -1px;
}
.contact-col h3 span { color: var(--color-red); }

.contact-desc { 
    font-family: var(--font-sans);
    font-size: 1.2rem; 
    margin-bottom: 20px; 
    line-height: 1.25; 
    color: #333;
}
.contact-email, .contact-whatsapp { 
    font-weight: 700; 
    color: #000; 
    border-bottom: 2px solid var(--color-red);
}

.collab-list-title {
    color: var(--color-red);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
    display: block;
}

.collab-list { list-style: none; padding: 0; }
.collab-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.225;
    color: #555;
    font-weight: 500;
}
.collab-list li::before {
    content: '•';
    position: absolute; left: 0; top: 0;
    color: var(--color-red);
    font-weight: bold;
}

/* Social Bubbles */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 320px;
    margin-top: 30px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none !important; /* Force remove underline */
}

.social-bubble {
    width: 60px;
    height: 60px;
    background-color: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-item:hover .social-bubble { transform: scale(1.1); }

.social-name { 
    font-family: var(--font-sans);
    font-size: 0.96rem; 
    font-weight: 700;
    color: #000;
}


/* --- RESPONSIVE / MOBILE STYLES --- */
@media (max-width: 900px) {
    .about-container { margin: 40px auto; }
    
    /* Stack Grids */
    .bio-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-title { font-size: 2.5rem; }
    .bio-heading { font-size: 1.8rem; }
    
    /* Reorder Bio Grid: Text first, then Square Image */
    .bio-grid { display: flex; flex-direction: column; }
    .bio-col-left { order: 1; }
    .bio-col-right { order: 2; width: 100%; }
    
    /* Adjust square image on mobile to not be too huge */
    .img-placeholder-square { padding-bottom: 80%; width: 80%; margin: 0 auto 30px auto; }
    
    /* Alignments */
    .contact-col { text-align: center; }
    .contact-desc { max-width: 100%; }
    .collab-list { text-align: left; display: inline-block; }
    
    .social-grid { margin: 0 auto; }
}

/* =================================================================
   PAGINATION STYLES (UPDATED)
   ================================================================= */
.moonstruck-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    padding-top: 0;
    font-family: var(--font-sans);
    width: 100%;
}

/* Previous / Next Buttons */
.pagination-btn {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100px; /* Fixed width to ensure balance */
}

/* Align Next to the right inside its flex container */
.pagination-btn.next {
    justify-content: flex-end; 
    text-align: right;
}

/* Icon Styles */
.pagination-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.pagination-btn:hover:not(.disabled) {
    color: var(--color-red);
}

.pagination-btn.prev:hover:not(.disabled) svg {
    transform: translateX(-4px); /* Move left */
}

.pagination-btn.next:hover:not(.disabled) svg {
    transform: translateX(4px); /* Move right */
}

/* Disabled State */
.pagination-btn.disabled {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

/* Numbers Container */
.pagination-numbers {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* Individual Numbers */
.pagination-numbers .page-numbers {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    line-height: 1;
}

.pagination-numbers .page-numbers.current {
    color: var(--color-red);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .moonstruck-pagination {
        flex-direction: row; /* Forces row layout instead of stacking */
        gap: 0;
        margin: 40px 0;
        padding-top: 30px;
    }

    .pagination-btn {
        font-size: 1rem;
        width: auto; /* Allow auto width on very small screens if needed */
    }
    
    .pagination-numbers {
        gap: 10px;
    }
    
    .pagination-numbers .page-numbers {
        font-size: 1.5rem;
    }
}