/*

 * brand-style.css

 * The official stylesheet for the truelivemodels.com redesign.

 * Color Palette: Light Grey, Maroon Red, Black/Charcoal, White.

 */



/* --- 1. Root Variables & Global Styles --- */

:root {

    --color-background: #f4f4f4;

    --color-surface: #ffffff;

    --color-primary-maroon: #800000;

    --color-primary-maroon-darker: #600000;

    --color-accent-gold: #ffc107;

    --color-text-primary: #333333;

    --color-text-secondary: #666666;

    --color-border: #dddddd;

    --font-primary: 'Helvetica Neue', Arial, sans-serif;

    --font-headings: 'Georgia', 'Times New Roman', serif;

    --container-width: 1200px;

    --border-radius: 4px;

}



body {

    font-family: var(--font-primary);

    background-color: var(--color-background);

    color: var(--color-text-primary);

    line-height: 1.6;

    margin: 0;

    padding: 0;

}



h1, h2, h3, h4, h5, h6 {

    font-family: var(--font-headings);

    color: var(--color-text-primary);

    line-height: 1.3;

}



a {

    color: var(--color-primary-maroon);

    text-decoration: none;

    transition: color 0.2s ease;

}



a:hover {

    color: var(--color-primary-maroon-darker);

    text-decoration: underline;

}



.content-wrapper {

    max-width: var(--container-width);

    margin: 20px auto;

    padding: 0 20px;

}



.page-heading-v2 {

    text-align: center;

    padding: 20px 0;

    border-bottom: 1px solid var(--color-border);

    margin-bottom: 30px;

}



.page-heading-v2 h1 {

    font-size: 2.5rem;

    margin: 0;

}



.page-heading-v2 .page-subtitle {

    font-size: 1.2rem;

    color: var(--color-text-secondary);

    margin-top: 10px;

}



.section-heading {

    text-align: center;

    font-size: 2rem;

    margin: 40px 0 30px;

    position: relative;

}



.section-heading::after {

    content: '';

    display: block;

    width: 60px;

    height: 3px;

    background-color: var(--color-primary-maroon);

    margin: 10px auto 0;

}



/* --- 2. Header & Footer --- */

.site-header-v2 {

    background-color: var(--color-surface);

    padding: 15px 0;

    border-bottom: 3px solid var(--color-primary-maroon);

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

}



.header-container-v2 {

    max-width: var(--container-width);

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 20px;

}



.site-logo-v2 {

    font-size: 1.5rem;

    font-weight: bold;

    color: var(--color-primary-maroon);

    text-decoration: none;

}



.main-navigation a {

    margin: 0 15px;

    color: var(--color-text-primary);

    font-weight: 500;

}



.main-navigation a:hover {

    color: var(--color-primary-maroon);

    text-decoration: none;

}



.site-footer-v2 {

    background-color: #333;

    color: #ccc;

    text-align: center;

    padding: 30px 20px;

    margin-top: 50px;

}



.site-footer-v2 a {

    color: #fff;

}



.site-footer-v2 a:hover {

    color: var(--color-accent-gold);

}



/* --- 3. Streamer Cards & Gallery --- */

.streamer-gallery {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 20px;

}



.streamer-card-v2 {

    background-color: var(--color-surface);

    border-radius: var(--border-radius);

    overflow: hidden;

    position: relative;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.streamer-card-v2:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

}



.streamer-card-v2 img {

    width: 100%;

    height: auto;

    display: block;

}



.card-content-overlay {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);

    padding: 30px 15px 15px;

    color: #fff;

    text-align: center;

}



.streamer-name {

    margin: 0 0 5px 0;

    font-size: 1.2rem;

    color: #fff;

}



.streamer-cta {

    font-size: 0.9rem;

    color: var(--color-accent-gold);

    font-weight: bold;

}



/* Badges (Featured, Live) */

.featured-badge, .live-status-badge {

    position: absolute;

    top: 10px;

    left: 10px;

    background-color: var(--color-primary-maroon);

    color: #fff;

    padding: 5px 10px;

    border-radius: var(--border-radius);

    font-size: 0.8rem;

    font-weight: bold;

    z-index: 2;

}



.live-status-badge {

    animation: pulse 2s infinite;

}



@keyframes pulse {

    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }

    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }

    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }

}





/* --- 4. Model Profile Page --- */

.profile-hero-v2 {

    display: flex;

    gap: 30px;

    align-items: center;

    background: var(--color-surface);

    padding: 30px;

    border-radius: var(--border-radius);

    margin-bottom: 30px;

}



.hero-profile-image {

    width: 200px;

    height: 200px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid var(--color-primary-maroon);

}



.hero-profile-details h1 {

    margin: 0;

    font-size: 3rem;

}



.profile-hero-button {

    display: inline-block;

    background-color: var(--color-primary-maroon);

    color: #fff;

    padding: 12px 25px;

    border-radius: var(--border-radius);

    text-decoration: none;

    font-weight: bold;

    margin-top: 20px;

    transition: background-color 0.2s ease;

}



.profile-hero-button:hover {

    background-color: var(--color-primary-maroon-darker);

    color: #fff;

}



.profile-tabs-section {

    background: var(--color-surface);

    padding: 20px;

    border-radius: var(--border-radius);

}



.profile-tab-nav {

    display: flex;

    border-bottom: 1px solid var(--color-border);

    margin-bottom: 20px;

}



.profile-tab-link {

    border: none;

    background: none;

    padding: 10px 20px;

    cursor: pointer;

    font-size: 1rem;

    font-weight: 500;

    color: var(--color-text-secondary);

    border-bottom: 3px solid transparent;

}



.profile-tab-link.active {

    color: var(--color-primary-maroon);

    border-bottom-color: var(--color-primary-maroon);

}



.profile-tab-pane {

    display: none;

}



.profile-tab-pane.active {

    display: block;

}



.details-grid-v2 {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 15px;

}



.details-grid-v2 > div {

    background: var(--color-background);

    padding: 10px;

    border-radius: var(--border-radius);

}



.details-grid-v2 > div strong {

    color: var(--color-primary-maroon);

}



/* --- 5. Forms & Buttons --- */

.advanced-search-form {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    align-items: flex-end;

    background: var(--color-surface);

    padding: 20px;

    border-radius: var(--border-radius);

}



.form-field {

    flex: 1;

    min-width: 150px;

}



.form-field label {

    display: block;

    margin-bottom: 5px;

    font-weight: bold;

    color: var(--color-text-secondary);

}



.form-field input[type="text"],

.form-field select {

    width: 100%;

    padding: 10px;

    border: 1px solid var(--color-border);

    border-radius: var(--border-radius);

    font-size: 1rem;

}



.form-field button {

    width: 100%;

    background-color: var(--color-primary-maroon);

    color: #fff;

    padding: 10px;

    border: none;

    border-radius: var(--border-radius);

    font-size: 1rem;

    font-weight: bold;

    cursor: pointer;

    transition: background-color 0.2s ease;

}



.form-field button:hover {

    background-color: var(--color-primary-maroon-darker);

}



/* --- 6. Blog --- */

.blog-grid-view {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;

}



.blog-summary-card {

    background: var(--color-surface);

    border-radius: var(--border-radius);

    overflow: hidden;

    display: flex;

    flex-direction: column;

    padding: 20px;

    box-shadow: 0 2px 5px rgba(0,0,0,0.05);

    text-decoration: none;

    color: var(--color-text-primary);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.blog-summary-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}



.article-body {

    background: var(--color-surface);

    padding: 30px;

    border-radius: var(--border-radius);

}



/* --- 7. Pagination --- */

.pagination-v2 {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 40px;

}



.pagination-link, .pagination-ellipsis {

    padding: 8px 15px;

    border: 1px solid var(--color-border);

    background: var(--color-surface);

    color: var(--color-primary-maroon);

    border-radius: var(--border-radius);

    text-decoration: none;

}



.pagination-link:hover {

    background-color: var(--color-primary-maroon);

    color: #fff;

    border-color: var(--color-primary-maroon);

}



.pagination-link.active-page {

    background-color: var(--color-primary-maroon);

    color: #fff;

    border-color: var(--color-primary-maroon);

    font-weight: bold;

}



/* --- 8. Responsive Design --- */

@media (max-width: 768px) {

    .header-container-v2 {

        flex-direction: column;

        gap: 15px;

    }

    

    .profile-hero-v2 {

        flex-direction: column;

        text-align: center;

    }



    .advanced-search-form {

        flex-direction: column;

        align-items: stretch;

    }

}
/* --- 9. Live Feed Highlight Box --- */

.live-feed-highlight-box {
    /* Creates the border box */
    background-color: var(--color-surface);
    border: 2px solid var(--color-primary-maroon);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    
    /* Centers the box itself on the page */
    max-width: 844px; /* 800px for the feed + 20px padding left/right + 2px border left/right */
    margin: 30px auto; /* Adds space above/below and centers horizontally */

    /* This ensures the feed inside is centered if its size changes */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Make it responsive on smaller screens */
@media (max-width: 900px) {
    .live-feed-highlight-box {
        padding: 10px;
        /* The player itself is not responsive, so we hide the box padding on smaller screens */
        /* to prevent the player from overflowing the box */
    }
}
/* --- 10. New Two-Column Profile Layout --- */
.profile-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Main content is twice as wide as the sidebar */
    gap: 30px;
    align-items: start; /* Aligns items to the top of their grid cell */
}

.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-main-image-wrapper {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.profile-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.profile-sidebar h1 {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.1;
}

.profile-sidebar .profile-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.profile-sidebar .sidebar-cta {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
}

.sidebar-widget {
    background: var(--color-surface);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.widget-title {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-maroon);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tags-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list-v2 a {
    display: block;
    padding: 5px 12px;
    background-color: var(--color-background);
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tags-list-v2 a:hover {
    background-color: var(--color-primary-maroon);
    color: #fff;
}

.profile-biography-section {
    margin-top: 40px;
    background: var(--color-surface);
    padding: 30px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
}

/* Responsive adjustments for the new layout */
@media (max-width: 992px) {
    .profile-layout-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets and mobile */
    }
    
    .profile-sidebar {
        /* On smaller screens, the sidebar might appear first, an order property can fix this if needed */
        /* For simplicity, we'll let it stack naturally */
    }
}
/* --- 11. Updated Profile Sidebar & Main Content --- */

/* Remove the old main image wrapper style */
.profile-main-image-wrapper {
    display: none; /* Hide the large image from the main column */
}

/* New header for the sidebar with thumbnail */
.sidebar-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sidebar-profile-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary-maroon);
    flex-shrink: 0; /* Prevents the image from shrinking */
}

.sidebar-header-text h1 {
    font-size: 2.2rem; /* Adjusted size for the new layout */
    margin-bottom: 0;
}

.sidebar-header-text .profile-subtitle {
    margin-top: 0;
    font-size: 1.1rem;
}

/* Ensure both video players look identical */
.live-stream-container,
.profile-video-clips-section {
    width: 100%;
}
/* --- 12. New Homepage Header --- */

.homepage-header {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    background-color: #333; /* Fallback color */
    
    /* IMPORTANT: Replace this URL with your own high-quality background image.
       You can find great, free-to-use images on sites like Unsplash or Pexels.
    */
    background-image: url('/images/live-cam-seduction.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* This creates the dark, semi-transparent overlay */
    background-color: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative; /* Sits on top of the overlay */
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.homepage-header h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.homepage-header .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.header-controls .filter-info-text,
.header-controls .filter-group-v2 label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.header-controls .select-container select {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--color-text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .homepage-header {
        padding: 40px 20px;
    }
    
    .homepage-header h1 {
        font-size: 2.5rem;
    }

    .header-controls {
        flex-direction: column;
        gap: 20px;
        background-color: transparent;
        border-top: none;
    }
}
/* --- 13. New Blog Admin Dashboard --- */

/* Body styles for admin area */
.admin-body {
    background-color: var(--color-background);
}

.admin-login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    background-color: var(--color-surface);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card p {
    color: var(--color-text-secondary);
}

/* Main Dashboard Header */
.admin-header {
    background-color: var(--color-primary-maroon);
    color: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.admin-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.admin-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
}
.logout-btn {
    color: #fff;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
}
.logout-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* Two-column layout */
.admin-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 30px;
}

/* Card styles */
.admin-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.admin-card .card-header {
    padding: 15px 20px;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}
.admin-card .card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}
.admin-card .card-body {
    padding: 20px;
}
.admin-card .card-body.no-padding {
    padding: 0;
}

/* Form styles */
.post-form .form-group {
    margin-bottom: 20px;
}
.post-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--color-text-secondary);
}
.post-form input[type="text"],
.post-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    box-sizing: border-box;
}
.post-form textarea {
    min-height: 250px;
    font-family: inherit;
}
.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

/* Table styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}
.admin-table th {
    background-color: var(--color-background);
    font-family: var(--font-headings);
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover {
    background-color: #f9f9f9;
}
.admin-table .actions-cell {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Action buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}
.action-btn.create {
    background-color: var(--color-primary-maroon);
    color: #fff;
}
.action-btn.create:hover {
    background-color: var(--color-primary-maroon-darker);
}
.action-btn.cancel {
    background: #ccc;
    color: #333;
}
.action-btn.view { font-size: 1.2rem; color: #3498db; }
.action-btn.edit { font-size: 1.2rem; color: #27ae60; }
.action-btn.delete { font-size: 1.2rem; color: var(--color-primary-maroon); }

/* Notices */
.notice {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 500;
}
.notice.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-grid-layout {
        grid-template-columns: 1fr;
    }
}
/* --- 14. New Blog Layout --- */

/* Featured Post Hero Section */
.blog-featured-post {
    position: relative;
    color: #fff;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
}
.featured-post-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}
.featured-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}
.featured-post-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 20px;
}
.featured-post-content h1 a {
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.featured-post-content .article-excerpt {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}
.featured-post-content .article-category.featured {
    background-color: var(--color-primary-maroon);
    color: #fff;
}
.featured-post-content .read-article-link.featured {
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: var(--color-primary-maroon);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* Two-column grid for main content and sidebar */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
}

/* New Blog Card with Image */
.blog-summary-card-v2 {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.blog-summary-card-v2 .card-image-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blog-summary-card-v2:hover .card-image-link img {
    transform: scale(1.05);
}
.blog-summary-card-v2 .blog-card-text {
    padding: 20px;
}
.blog-summary-card-v2 h4 a {
    text-decoration: none;
    color: var(--color-text-primary);
}
.blog-summary-card-v2 h4 a:hover {
    color: var(--color-primary-maroon);
}

/* Sidebar Styles */
.blog-sidebar .sidebar-widget {
    background: var(--color-surface);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.blog-sidebar .widget-title {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-maroon);
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.blog-category-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.blog-category-nav a {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
}
.blog-category-nav a:hover {
    background-color: var(--color-background);
    color: var(--color-primary-maroon);
}
.blog-category-nav a.active {
    background-color: var(--color-primary-maroon);
    color: #fff;
}
.article-category {
    display: inline-block;
    background-color: var(--color-background);
    color: var(--color-primary-maroon);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 10px;
}
.read-article-link {
    font-weight: bold;
    color: var(--color-primary-maroon);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }
}
/* --- 15. New Single Post Layout --- */

/* Wrapper to allow hero image to be full-width */
.content-wrapper-full-width {
    max-width: 100%;
    margin: 20px 0;
    padding: 0;
}

/* Hero section for the single post */
.post-hero-image {
    position: relative;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}
.post-hero-image .featured-post-content h1 {
    font-size: 3.5rem;
    color: #fff;
    text-decoration: none;
}
.post-hero-image .article-meta {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Main article body styling for readability */
.article-body {
    background: var(--color-surface);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    max-width: 800px; /* Constrains line length for easier reading */
    font-size: 1.1rem;
    line-height: 1.7;
}
.article-body h2, .article-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Sharing widget styles */
.article-sharing-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-icon-v2 {
    display: block;
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.social-icon-v2:hover {
    opacity: 0.85;
}
.social-icon-v2.twitter { background-color: #1DA1F2; }
.social-icon-v2.facebook { background-color: #1877F2; }
/* --- 16. Improved Blog Preview Cards --- */

/* The card container now needs a position context */
.blog-summary-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-summary-card h4 a {
    text-decoration: none;
    color: var(--color-text-primary);
}

/* This is the CSS trick that makes the whole card clickable */
.card-main-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits above the card background but below the text */
}

/* Ensure the text and read more link are clickable on top of the overlay */
.blog-card-text > * {
    position: relative;
    z-index: 2;
}
/* --- 17. Homepage Spacing Fix --- */

/* Adds space between the pagination and the blog section on the homepage */
.blog-highlights {
    margin-top: 60px; /* You can change this value to add more or less space */
}
/* --- 18. Profile Page Interaction Bar --- */

.profile-interactions-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--color-background);
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.add-favorite-button {
    background: none;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-favorite-button:hover {
    border-color: var(--color-primary-maroon);
    color: var(--color-primary-maroon);
}

.add-favorite-button.favorited {
    background-color: var(--color-primary-maroon);
    border-color: var(--color-primary-maroon);
    color: #fff;
}

.rating-widget {
    flex-grow: 1;
}

.rating-summary {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}

.star-rating-form {
    cursor: pointer;
}

.star-v2 {
    font-size: 1.5rem;
    color: var(--color-border);
    transition: color 0.2s ease;
}
/* --- 19. Category Description Bar --- */

.category-description-bar {
    background-color: var(--color-surface);
    padding: 20px 25px;
    margin-bottom: 30px; /* Adds space between the box and the model grid */
    border-radius: var(--border-radius);
    border-left: 5px solid var(--color-primary-maroon);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-description-bar p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}