/*
==========================================================================
Theme: Medianoche - V6.3 Final, Master (Unabridged)
==========================================================================
*/

:root {
    --accent-color: #FFBF00;
    --accent-hover-color: #E6AD00;
    --font-body: 'Inter', sans-serif;
    --font-headings: 'Playfair Display', serif;
    --dark-bg: #121212;
    --dark-secondary-bg: #1E1E1E;
    --dark-border: #333333;
    --dark-text: #E0E0E0;
    --dark-secondary-text: #9E9E9E;
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    background-image: url("https://gueroenlanoche.com/content/images/2025/07/nochebackground.webp");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    font-family: var(--font-body);
    line-height: 1.7;
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex-grow: 1; }
a { color: var(--accent-color); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-headings); font-weight: 700; color: var(--dark-text); }

/* Header & Nav */
.site-header { text-align: center; padding: 40px 20px 20px; max-width: 800px; margin: 0 auto; }
.site-logo img { max-width: 300px; height: auto; }
hr.header-divider { border: none; height: 1px; background-color: var(--dark-border); opacity: 0.8; margin: 15px 0; }
.site-nav { display: flex; justify-content: center; gap: 30px; padding: 15px 0; flex-wrap: wrap; }
.site-nav a { color: var(--dark-secondary-text); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.nav-link-wrapper { position: relative; padding-bottom: 10px; }
.nav-link-wrapper::after { content: ''; position: absolute; width: 100%; height: 2px; background-color: var(--accent-color); left: 0; bottom: 0; transform: scaleX(0); transition: transform 0.4s ease; }
.nav-link-wrapper:hover::after, .nav-link-wrapper.nav-current::after { transform: scaleX(1); }
.nav-link-wrapper.nav-current a { color: var(--dark-text); }
.nav-button a { background-color: var(--accent-color); color: #000000 !important; padding: 8px 20px; border-radius: 25px; transition: background-color 0.2s ease-in-out; }
.nav-button a:hover { background-color: var(--accent-hover-color); }
.nav-button::after { display: none !important; }

/* Homepage Live Studio */
.live-studio-container { text-align: center; max-width: 1200px; margin: 0 auto; }
.owncast-iframe { display: block; max-width: 640px; width: 100%; height: 360px; margin: 2em auto; border-radius: 8px; border: 1px solid var(--dark-border); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.studio-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px; /* Reduced the top margin a bit */
    max-width: 640px; /* This matches the player's width */
    margin-left: auto; /* This centers the container */
    margin-right: auto;
}
.live-status-indicator, .instructions-button, .call-in-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; padding: 10px 15px; border-radius: 8px; text-decoration: none; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; cursor: pointer; background: var(--dark-secondary-bg); border: 1px solid var(--dark-border); color: var(--dark-secondary-text); }
.instructions-button:hover { border-color: var(--accent-color); color: var(--accent-color); }
.live-status-indicator.status-live, .call-in-button.lines-open { color: #000000; border-color: transparent; background: linear-gradient(45deg, var(--accent-hover-color), var(--accent-color)); animation: pulse-cyan 2s infinite; }
.live-status-indicator.status-live:hover, .call-in-button.lines-open:hover { box-shadow: 0 0 15px rgba(0, 255, 255, 0.7); }
.live-status-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background-color: #e74c3c; transition: background-color 0.3s ease; }
.live-status-indicator.status-live .live-status-dot { background-color: #27ae60; animation: pulse-green-dot 1.5s infinite; }
.call-in-button.lines-closed { cursor: not-allowed; opacity: 0.6; }
@keyframes pulse-cyan { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); } }
@keyframes pulse-green-dot { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

/* About Page */
.page-about .post-full-content { padding: 0; }
.about-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 4vw; margin-bottom: 4vw; }
.about-image-column img { width: 100%; height: auto; border-radius: 8px; }
.about-text-column h3 { font-family: var(--font-headings); font-size: 2.2rem; margin-top: 0; }
.about-text-column p { font-size: 1.1rem; color: var(--dark-secondary-text); }
@media (max-width: 767px) { .about-page-grid { grid-template-columns: 1fr; } }
.community-cta { background-color: var(--dark-secondary-bg); border: 1px solid var(--dark-border); border-left: 4px solid var(--accent-color); padding: 1.5em 2em; border-radius: 8px; margin: 2em 0; }
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000000;
    padding: 8px 16px; /* Reduced padding */
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.1s ease;
}

.cta-button:active {
    transform: scale(0.97);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
    visibility: visible;
}
.modal-overlay.modal-hidden { opacity: 0; visibility: hidden; }
.modal-content {
    background: var(--dark-secondary-bg) !important;
    padding: 20px;
    border-radius: 8px;
    width: 80vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    outline: none;
}
.modal-close-button { position: absolute; top: 10px; right: 15px; background: transparent; border: none; font-size: 2.5rem; color: var(--dark-secondary-text); cursor: pointer; line-height: 1; }
.call-in-number-link { color: var(--accent-color); text-decoration: none; }

/* Footer */
.site-footer { margin-top: 6vw; }
.site-footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-bottom-line { padding: 40px 0; border-top: 1px solid var(--dark-border); display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--dark-secondary-text); }
.footer-tagline { font-style: italic; }

/* Required Ghost Editor Styles */
.kg-width-wide { max-width: 1040px; margin: 1.5rem auto; }
.kg-width-full { max-width: 100vw; margin: 1.5rem 50%; transform: translateX(-50%); }

/* Restores padding to the About page */
.page-live-chat .post-full-content {
    padding: 0 10vw;
}

/* ==========================================================================
   About Page Professional Redesign
   ========================================================================== */

.page-about .post-full-content {
    padding: 0 17vw; /* Adds 4% of the viewport width as padding on the left and right */
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Creates the split layout */
    align-items: center;
    gap: 4vw;
    margin-bottom: 4vw;
}

.about-image-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text-column h3 {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    margin-top: 0;
}

.about-text-column p {
    font-size: 1.1rem;
    color: var(--dark-secondary-text);
}

/* This makes the layout stack on mobile */
@media (max-width: 767px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }
}
/* Custom style for the About page title */
.page-about .post-full-title {
    text-align: center;
    font-size: 4.5rem; /* Makes the title significantly bigger */
    margin-bottom: 5vw; /* Adds a generous space below the title */
}
/* ==========================================================================
   Homepage Final Polish (Audited)
   ========================================================================== */

.live-studio-wrapper {
    background-color: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px 15px; /* Reduced padding */
    margin-top: 4vw;
    max-width: 470px; /* Reduced from 940px */
    margin-left: auto;
    margin-right: auto;
}

.owncast-iframe {
    display: block;
    max-width: 400px; /* Adjusted width */
    width: 100%;
    height: 360px; /* Adjusted height */
    margin: 1em auto;
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}



.live-studio-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.studio-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.studio-buttons-container .instructions-button,
.studio-buttons-container .call-in-button {
    padding: 8px 15px;
    font-size: 0.9rem;
}



/* ==========================================================================
   Homepage Live Features (Final Audited)
   ========================================================================== */

.studio-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

/* Base styles for all three buttons */
.live-status-indicator,
.instructions-button,
.call-in-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    max-width: 250px;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    color: var(--dark-secondary-text);
}
.button-icon {
    width: 16px;
    height: 16px;
}

/* --- Hover & Active States --- */
.instructions-button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.call-in-button.lines-closed {
    cursor: not-allowed;
    opacity: 0.6;
}

/* This is the ORANGE style for the "On Air" indicator */
.live-status-indicator.status-live {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(45deg, var(--accent-hover-color), var(--accent-color));
    animation: pulse-orange 2s infinite;
}
.live-status-indicator.status-live .live-status-dot {
    background-color: #27ae60; /* Green dot */
    animation: pulse-green-dot 1.5s infinite;
}

/* This is the NEW GREEN style for the active "Call the Show" button */
.call-in-button.lines-open {
    color: #fff;
    border-color: transparent;
    background-color: #27ae60; /* Green background */
    animation: pulse-green 2s infinite;
}
/* This makes the phone icon throb when lines are open */
.call-in-button.lines-open .phone-icon {
    animation: throb-icon 1.5s infinite ease-in-out;
}

/* --- Keyframes for Animations --- */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(217, 95, 41, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(217, 95, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 95, 41, 0); } }
@keyframes pulse-green-dot {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); } }
@keyframes throb-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   Homepage Live Studio - Final Audited Version
   ========================================================================== */

.live-studio-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.owncast-iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 2em auto 2em;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 15px 15px rgba(0,0,0,0.05);
    border: none;
}

.studio-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    max-width: 720px; /* Aligns with player width */
    margin-left: auto;
    margin-right: auto;
}

/* Base styles for all three buttons */
.live-status-indicator,
.instructions-button,
.call-in-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 8px 15px; /* Smaller padding */
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem; /* Smaller font size */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    color: var(--dark-secondary-text);
}

/* --- Hover & Active States --- */
.instructions-button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.call-in-button.lines-closed {
    cursor: not-allowed;
    opacity: 0.6;
}
.live-status-indicator.status-live,
.call-in-button.lines-open {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(45deg, var(--accent-hover-color), var(--accent-color));
    animation: pulse-orange 2s infinite;
}
.live-status-indicator.status-live:hover,
.call-in-button.lines-open:hover {
    box-shadow: 0 0 15px rgba(217, 95, 41, 0.7);
}
.live-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #e74c3c; /* Red dot */
}
.live-status-indicator.status-live .live-status-dot {
    background-color: #27ae60; /* Green dot */
    animation: pulse-green-dot 1.5s infinite;
}

/* --- Keyframes --- */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(217, 95, 41, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(217, 95, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 95, 41, 0); } }
@keyframes pulse-green-dot {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
/* ==========================================================================
   Embedded Google Form Styling
   ========================================================================== */

/* This targets the page with the /contact/ URL */
.page-questionnaire .post-full-content {
    background-color: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 2vw 4vw 4vw; /* Adds some nice padding */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* This makes the iframe itself look great */
.page-questionnaire .kg-card iframe {
    width: 100%;
    height: 800px; /* Adjust height as needed */
    border: none;
    border-radius: 8px;
}

/* ==========================================================================
   Live Chat Widget Styling
   ========================================================================== */
.live-chat-widget-container {
    max-width: 600px; /* Optional: Limit width on very large screens for better readability */
    margin: 0 auto; /* Center the container */
    overflow: hidden; /* Hide overflow if content exceeds max-height */
}

.live-chat-widget-container iframe {
    max-height: 700px; /* Double the height */
    height: 100%; /* Ensure it takes full height of its container up to max-height */
    display: block; /* Remove any extra space below iframe */
}

.phone-link-large {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    background-color: var(--dark-bg);
}
.phone-link-large:hover {
    border-color: var(--accent-color);
}

/* Site Banner - Neon Effect */
.site-banner {
    padding: 4rem 1.5rem;
    text-align: center;
}

.site-banner-title {
    font-family: 'Tilt Neon', sans-serif;
    font-size: 5.5rem;
    font-weight: 400;
    color: #E0E0E0;
    margin: 0;
    line-height: 1.1;
    /* The glow is always on */
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.6),
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(64, 196, 255, 0.3),
        0 0 60px rgba(64, 196, 255, 0.2);
}

/* The flicker animation is only applied when the show is live */
.site-banner-title.neon-live {
    animation: flicker 1.5s infinite alternate;
}

/* Style for the new Lines are Open indicator */
#lines-open-indicator {
    font-family: 'Tilt Neon', sans-serif;
    font-size: 2.5rem; /* Adjust as needed */
    font-weight: 400;
    color: #fff;
    margin-top: 10px; /* Space from the main title */
    display: block; /* Ensure it takes its own line */
    text-align: center;
}

/* Apply the neon effect to the indicator when active */
#lines-open-indicator.neon-live {
    text-shadow:
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px #40c4ff,
        0 0 82px #40c4ff,
        0 0 92px #40c4ff,
        0 0 102px #40c4ff,
        0 0 151px #40c4ff;
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 4px #fff,
            0 0 11px #fff,
            0 0 19px #fff,
            0 0 40px #0fa,
            0 0 80px #0fa,
            0 0 90px #0fa,
            0 0 100px #0fa,
            0 0 150px #0fa;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

@media (max-width: 767px) {
    .site-banner-title {
        font-size: 3.2rem;
    }
    #lines-open-indicator {
        font-size: 1.5rem; /* Adjust for smaller screens */
    }
}
/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-color);
    z-index: 9999;
    transition: width 0.1s ease-out;
}
/* ==========================================================================
   Post Content & Typography
   ========================================================================== */

.is-blog-post .post-full-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.is-blog-post .post-full-content h2,
.is-blog-post .post-full-content h3,
.is-blog-post .post-full-content h4,
.is-blog-post .post-full-content h5,
.is-blog-post .post-full-content h6 {
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}

.is-blog-post .post-full-content blockquote {
    margin: 1.5em 0;
    padding: 1.5em;
    border-left: 4px solid var(--accent-color);
    background-color: var(--dark-secondary-bg);
    font-size: 1.1rem;
    font-style: italic;
    border-radius: 5px;
}

.is-blog-post .post-full-content blockquote p {
    margin: 0;
}

/* Ghost Editor Cards */
.is-blog-post .kg-gallery-card {
    margin: 1.5em 0;
}

.is-blog-.post-card {
    margin: 1.5em 0;
    border: 1px solid var(--dark-border);
    background-color: var(--dark-secondary-bg);
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark-text);
    display: flex;
}

.is-blog-post .kg-bookmark-card:hover {
    border-color: var(--accent-color);
}

.is-blog-post .kg-bookmark-content {
    padding: 1.5em;
    flex-grow: 1;
}

.is-blog-post .kg-bookmark-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.is-blog-post .kg-bookmark-description {
    font-size: 0.9rem;
    color: var(--dark-secondary-text);
    margin-top: 0.5em;
}

.is-blog-post .kg-bookmark-metadata {
    font-size: 0.8rem;
    color: var(--dark-secondary-text);
    margin-top: 1em;
    display: flex;
    align-items: center;
}

.is-blog-post .kg-bookmark-icon {
    width: 22px;
    height: 22px;
    margin-right: 0.5em;
}

.is-blog-post .kg-bookmark-thumbnail {
    position: relative;
    min-width: 33%;
    max-height: 100%;
}

.is-blog-post .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.is-blog-post .kg-callout-card {
    margin: 1.5em 0;
    padding: 1.5em;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 1em;
}

.is-blog-post .kg-callout-card-grey {
    background-color: var(--dark-secondary-bg);
}

.is-blog-post .kg-callout-card-blue {
    background-color: #1f2c39;
}

.is-blog-post .kg-callout-card-green {
    background-color: #1c3329;
}

.is-blog-post .kg-callout-card-yellow {
    background-color: #3a301d;
}

.is-blog-post .kg-callout-card-red {
    background-color: #392020;
}

.is-blog-post .kg-callout-card-purple {
    background-color: #2f2439;
}

.is-blog-post .kg-callout-emoji {
    font-size: 1.5rem;
    line-height: 1;
}
/* Editorial Split Header */
.editorial-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: center;
    margin-bottom: 4vw;
    background-color: var(--dark-secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1200px;
}

.editorial-header-image {
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
}

.editorial-header-content {
    padding: 3rem;
}

.editorial-header-content .post-full-title {
    font-size: 3rem;
    margin-bottom: 0.5em;
}

.editorial-header-content .post-full-custom-excerpt {
    font-size: 1.1rem;
    color: var(--dark-secondary-text);
    margin-bottom: 1.5em;
}

.editorial-header-content .post-full-meta {
    font-size: 0.9rem;
    color: var(--dark-secondary-text);
}

@media (max-width: 767px) {
    .editorial-header {
        grid-template-columns: 1fr;
        margin: 1rem auto;
    }
    .editorial-header-image {
        height: 250px;
    }
    .editorial-header-content {
        padding: 2rem;
    }
    .editorial-header-content .post-full-title {
        font-size: 2.5rem;
    }
}
/* ==========================================================================
   Post Feed
   ========================================================================== */

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 4vw;
    padding: 4vw;
}

.post-card {
    background-color: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.post-card-link {
    text-decoration: none;
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.post-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-header {
    margin-bottom: 1rem;
}

.post-card-title {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

.post-card-excerpt {
    font-size: 1rem;
    color: var(--dark-secondary-text);
    line-height: 1.6;
}

/* Author Box */
.author-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--dark-secondary-bg);
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid var(--dark-border);
}

.author-box-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-content {
    flex-grow: 1;
}

.author-box-name {
    margin: 0;
    font-size: 1.5rem;
}

.author-box-name a {
    color: var(--dark-text);
    text-decoration: none;
}

.author-box-name a:hover {
    color: var(--accent-color);
}

.author-box-bio {
    margin: 5px 0 0;
    font-size: 1rem;
    color: var(--dark-secondary-text);
}

@media (max-width: 767px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.bio-dynamic {
  text-align: center;
  padding: 50px 20px;
  max-width: 700px;
  margin: 40px auto;
}

.bio-avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
}

.bio-intro {
    font-size: 1.5rem;
    font-weight: bold;
    height: 2rem; /* Prevents the layout from jumping */
}

#typewriter-text {
    color: var(--accent-color); /* Accent color */
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   Author Bio Box (With Image)
   ========================================================================== */

.author-bio-box {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 450px; /* This makes the box smaller */
    margin-right: auto; /* This aligns it to the left */
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Makes the image a perfect circle */
    object-fit: cover;
}

.author-bio-content h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-secondary-text);
}

.author-bio-content p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6em;
}

/* Live Chat Page Enhancements */
.live-chat-widget-container {
    background-color: var(--dark-secondary-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.live-chat-widget-container iframe {
    border-radius: 8px;
}

.live-chat-actions {
    text-align: center;
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#open-chat-help-modal {
    width: 50%;
}

.call-in-button.lines-closed {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.call-in-button.lines-open {
    background-color: #ff0000; /* Or whatever your desired 'live' color is */
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-body h2 {
    margin-top: 0;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body ul li {
    margin-bottom: 10px;
}

.participation-guide {
    background-color: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 4vw;
    margin: 4vw auto;
    max-width: 800px;
}
.participation-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1em;
    color: var(--accent-color);
}
.participation-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark-secondary-text);
}
.participation-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.method-card {
    background-color: var(--dark-secondary-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--dark-border);
}
.method-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1.5em;
}
.method-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--dark-text);
}
.method-header svg {
    stroke: var(--accent-color);
    width: 28px;
    height: 28px;
}
.method-card h4 {
    font-size: 1.3rem;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: var(--dark-text);
}
.method-card ol, .method-card ul {
    padding-left: 25px;
    line-height: 1.8;
    color: var(--dark-secondary-text);
}
.quick-tips {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid var(--dark-border);
}
.quick-tips ul {
    list-style: none;
    padding-left: 0;
}
.quick-tips li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0.8em;
    color: var(--dark-secondary-text);
}
.quick-tips svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--accent-color);
}
.phone-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}
.phone-link:hover {
    text-decoration: underline;
}
