/* ==========================================================================
   Search Page Styles
   ========================================================================== */
/* Search page uses the same posts-section and post-card styles as home page */

/* Reduce spacing after search header */
.search-header-section {
    padding-bottom: 20px;
}

/* Section title and content spacing */
.section-title-only {
    padding-bottom: 0;
}

.section-content-only {
    padding-top: 20px;
}

/* Add brand tag styling similar to posts */
.post-brand-section {
    padding: 0 24px 16px 24px;
}

.post-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #F3F4F6;
    border-radius: 9999px;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.post-brand-tag:hover {
    background: #E9D5FF;
    color: var(--primary-color);
}


.search-form-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
}

.search-button {
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* User Search Cards */
.user-search-card .user-search-header {
    align-items: center;
}

.user-search-card .user-search-info {
    flex: 1;
    min-width: 0;
}

.user-stats-badges {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.user-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.08);
    color: #8B5CF6;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.user-stat-badge i {
    font-size: 14px;
}

.post-card-action {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.btn-profile-view {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.25);
}

.btn-profile-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.35);
    color: white;
}

.btn-profile-view i {
    font-size: 18px;
}

/* Dark mode styles for user search */
body.dark .user-stat-badge {
    background: rgba(168, 85, 247, 0.15);
    color: #A78BFA;
    border-color: rgba(168, 85, 247, 0.25);
}

/* Search Responsive */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }

    /* Mobile-specific user card layout */
    .user-search-card .user-search-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px;
    }

    .user-search-card .post-card-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 16px;
        flex-shrink: 0;
    }

    .user-search-card .user-search-info {
        width: 100%;
        margin-bottom: 16px;
    }

    .user-search-card .post-card-name-text-name {
        font-size: 18px;
        display: block;
        margin-bottom: 8px;
    }

    .user-search-card .post-card-tags {
        justify-content: center;
        flex-wrap: wrap;
    }

    .user-search-card .user-stats-badges {
        justify-content: center;
        margin-top: 12px;
    }

    .user-search-card .post-card-action {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

    .user-search-card .btn-profile-view {
        width: 100%;
        height: 44px;
        border-radius: 12px;
    }

    .user-search-card .btn-profile-view i {
        display: none;
    }

    .user-search-card .btn-profile-view::after {
        content: 'View Profile';
        font-size: 15px;
        font-weight: 600;
    }
}

@media (max-width: 576px) {
    .user-search-card .post-card-avatar {
        width: 70px;
        height: 70px;
    }

    .user-search-card .post-card-name-text-name {
        font-size: 16px;
    }

    .user-stat-badge {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ===========================
   Brand Page Styles
   =========================== */
.brand-logo-large {
    margin: 2rem 0;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.brand-logo-large img {
    max-height: 100px;
    width: auto;
}

.brand-description-section {
    margin: 1.5rem 0;
    padding: 0 2rem;
    text-align: center;
    color: var(--color-gray-500);
    font-size: 1.1rem;
    line-height: 1.6;
}

.brand-cta-section {
    margin: 2rem 0;
    text-align: center;
}

.brand-cta-section .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Brand page now uses posts-section and post-card styles for consistency */

/* ===============================
   Dark Mode Enhancements - Cookie Consent, Offcanvas
   =============================== */

/* Offcanvas (mobile menu) */
body.dark .offcanvas {
    background-color: #0f172a;
    /* Slate-900 */
    color: rgba(255, 255, 255, 0.85);
}

body.dark .offcanvas .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body.dark .offcanvas .nav-link:hover,
body.dark .offcanvas .nav-link.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

body.dark .menu-separator {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
body.dark .cookie-consent {
    background: #1e293b;
    /* Slate-800 */
    color: #e2e8f0;
    /* Gray-200 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body.dark .cookie-consent h2 {
    color: #ffffff;
}

body.dark .cookie-consent p,
body.dark .cookie-consent label {
    color: #e2e8f0;
}

body.dark .cookie-consent .cookieButtons .btn:not(.btn-link) {
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark .cookie-consent .cookieButtons .btn:not(.btn-link):hover {
    background-color: rgba(255, 255, 255, 0.15);
}

body.dark .cookie-consent .cookieButtons .btn-primary {
    background: linear-gradient(90deg, #A855F7 0%, #EC4899 100%);
    border: none;
}

/* End Dark Mode Enhancements */

/* ===============================
   Dark Mode Enhancements - Auth Pages & Buttons
   =============================== */
body.dark .auth-welcome-title {
    color: #ffffff;
}

body.dark .auth-welcome-subtitle {
    color: #cbd5e1;
    /* gray-300 */
}

body.dark .auth-feature-item {
    color: #cbd5e1;
}

body.dark .auth-form-card {
    background: #1e293b;
    /* slate-800 */
    color: #f1f5f9;
    /* gray-100 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

body.dark .auth-form-card h2,
body.dark .auth-form-card p {
    color: #f1f5f9;
}

body.dark .auth-form-card .form-control-lg {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    /* slate-700 */
    color: #f1f5f9;
}

body.dark .auth-form-card .form-control-lg::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark .auth-form-card .form-floating>label {
    color: rgba(255, 255, 255, 0.6);
}

/*
  Final Fix for Floating Label Background in Dark Mode.
  The input has a semi-transparent background. The label's ::after pseudo-element
  must use a solid, opaque color that visually matches the input's rendered color
  to prevent transparency stacking issues and to hide the placeholder text underneath.
*/
body.dark .auth-form-card .form-floating>label::after,
body.dark .auth-form-card .form-floating>.form-control:focus~label::after,
body.dark .auth-form-card .form-floating>.form-control:not(:placeholder-shown)~label::after {
    background-color: #293445 !important;
    /* This is the calculated solid color of the transparent input on the dark card */
}


/* Auth divider in offcanvas menu */
body.dark .offcanvas .auth-divider span {
    background: #0f172a;
    /* Match offcanvas background */
    color: #94a3b8;
    /* gray-400 */
}

/* Auth divider in login card */
body.dark .auth-form-card .auth-divider span {
    background: #1e293b;
    /* Match card background */
    color: #94a3b8;
    /* gray-400 */
}

body.dark .auth-divider::before {
    background: #334155;
    /* Change existing gray-200 line to darker gray */
}

/* Off-canvas auth buttons */
body.dark .btn-auth {
    color: #ffffff !important;
    /* Force white text on all auth buttons */
}

body.dark .btn-auth.btn-outline-secondary {
    border-color: #475569;
    /* slate-600 */
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
}

body.dark .btn-auth.btn-outline-secondary:hover {
    background: #334155;
    border-color: #334155;
    color: #ffffff !important;
}

body.dark .btn-auth.btn-primary {
    color: #ffffff !important;
}

/* End Dark Mode Auth Enhancements */

/* ===============================
   Dark Mode - Toast Notifications
   =============================== */
body.dark .toast {
    background: #1e293b;
    /* slate-800 */
    color: #f1f5f9;
    /* gray-100 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark .toast-title {
    color: #ffffff;
}

body.dark .toast-message {
    color: #cbd5e1;
    /* gray-300 */
}

body.dark .toast-close {
    color: #94a3b8;
    /* gray-400 */
}

body.dark .toast-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Toast type specific colors for dark mode */
body.dark .toast-success .toast-icon {
    color: #10b981;
    /* emerald-500 */
}

body.dark .toast-error .toast-icon {
    color: #ef4444;
    /* red-500 */
}

body.dark .toast-warning .toast-icon {
    color: #f59e0b;
    /* amber-500 */
}

body.dark .toast-info .toast-icon {
    color: #3b82f6;
    /* blue-500 */
}

/* Progress bars for dark mode */
body.dark .toast-success .toast-progress {
    background: #10b981;
}

body.dark .toast-error .toast-progress {
    background: #ef4444;
}

body.dark .toast-warning .toast-progress {
    background: #f59e0b;
}

body.dark .toast-info .toast-progress {
    background: #3b82f6;
}

/* End Dark Mode Toast Notifications */

/* ===============================
   Dark Mode - Logged In Components
   =============================== */

/* Offcanvas User Card */
body.dark .user-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    /* slate-800 to slate-900 */
    color: #f1f5f9;
    /* gray-100 */
}

body.dark .user-details h6 {
    color: #ffffff;
}

body.dark .user-details p {
    color: #cbd5e1;
    /* gray-300 */
}

body.dark .avatar-wrapper .avatar-status {
    border-color: #1e293b;
    /* Match dark card background */
}

body.dark .action-link {
    color: #cbd5e1;
    /* gray-300 */
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark .action-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark .action-link-danger {
    color: #f87171;
    /* red-400 */
}

body.dark .action-link-danger:hover {
    color: #ef4444;
    /* red-500 */
}

/* My Profile Page */
body.dark .profile-header-modern {
    background: #1e293b;
    /* slate-800 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

body.dark .profile-header-bg {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    /* slate-700 to slate-800 */
}

body.dark .profile-avatar-img,
body.dark .profile-avatar-placeholder {
    border-color: #1e293b;
    /* slate-800 */
}

body.dark .profile-name {
    color: #ffffff;
}

body.dark .profile-email {
    color: #cbd5e1;
    /* gray-300 */
}

body.dark .profile-meta-info {
    color: #94a3b8;
    /* gray-400 */
}

body.dark .meta-separator {
    color: #475569;
    /* slate-600 */
}

/* Search Page */
body.dark .search-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    /* slate-700 */
    color: #f1f5f9;
    /* gray-100 */
}

body.dark .search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ===============================
   Dark Mode - General Typography & Elements
   =============================== */
body.dark {
    color: #cbd5e1;
    /* slate-300 */
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
    color: #f1f5f9;
    /* slate-100 */
}

body.dark .text-muted {
    color: #94a3b8 !important;
    /* slate-400 */
}

body.dark hr {
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}





/* Q&A Image Carousel Styles */
.qa-image {
    position: relative;
    overflow: hidden;
    height: 600px;
    touch-action: pan-y; /* Allow vertical scrolling, JS handles horizontal swipes */
}

@media (max-width: 768px) {
    .qa-image {
        height: 400px;
        width: 100%;
        display: block;
    }
}

.qa-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qa-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qa-carousel-slide.active {
    transform: translateY(0);
}

.qa-carousel-slide.prev {
    transform: translateY(-100%);
}

.qa-carousel-slide.next {
    transform: translateY(100%);
}

.qa-carousel-image {
    /* Combined with qa-carousel-slide, inherits positioning from that class */
    object-fit: cover;
}

.qa-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    pointer-events: none;
}

.qa-image-overlay-text {
    color: white;
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.carousel-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 10051.14px;
    border: 1.005px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 20.104px 25.13px -5.026px rgba(0, 0, 0, 0.10), 0 8.042px 10.052px -6.031px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12.062573432922363px);
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-arrow-left {
    top: 15px;
    transform: translateX(-50%) rotate(90deg);
}

.carousel-arrow-left:hover {
    transform: translateX(-50%) rotate(90deg) scale(1.05);
}

.carousel-arrow-right {
    bottom: 15px;
    transform: translateX(-50%) rotate(90deg);
}

.carousel-arrow-right:hover {
    transform: translateX(-50%) rotate(90deg) scale(1.05);
}

.qa-image-counter {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 12px;
    border-radius: 16.083px;
    border: 1.005px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 20.104px 25.13px -5.026px rgba(0, 0, 0, 0.10), 0 8.042px 10.052px -6.031px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12.062573432922363px);
    color: #000;
    font-family: Inter;
    font-size: 14.073px;
    font-style: normal;
    font-weight: 700;
    line-height: 20.104px;
    z-index: 10;
}

.qa-image-cta-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12.063px;
    border: 1.005px solid rgba(168, 85, 247, 0.50);
    background: rgba(168, 85, 247, 0.90);
    backdrop-filter: blur(21.11081314087px);
    color: #FFF !important;
    font-size: 13.069px;
    font-weight: 600;
    line-height: 20.104px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.qa-image-cta-button:hover {
    background: rgba(168, 85, 247, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    color: #FFF !important;
    text-decoration: none;
}

.qa-image-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    gap: 0px;
    z-index: 10;
}

.qa-image-description {
    flex: 1;
    max-width: 240px;
    padding: 10px;
    border-radius: 12.063px;
    border: 1.005px solid rgba(216, 180, 254, 0.50);
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.90) 0%, rgba(236, 72, 153, 0.90) 100%);
    box-shadow: 0 10.052px 15.078px -3.016px rgba(0, 0, 0, 0.10), 0 4.021px 6.031px -4.021px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12.062573432922363px);
    color: #FFF;
    font-family: Inter;
    font-size: 12.063px;
    font-style: normal;
    font-weight: 700;
    line-height: 16.083px;
    letter-spacing: 0.302px;
    text-transform: uppercase;
    z-index: 10;
}


.qa-image-nav {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 11;
}

.qa-image-nav-item {
    width: 8.042px;
    height: 16.083px;
    flex-shrink: 0;
    border-radius: 10051.14px;
    background: rgba(0, 0, 0, 0.30);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qa-image-nav-item:hover:not(.active) {
    background: rgba(0, 0, 0, 0.50);
    transform: scale(1.1);
}

.qa-image-nav-item.active {
    height: 32.167px;
    background: linear-gradient(180deg, #A855F7 0%, #EC4899 100%);
    box-shadow: 0 10.052px 15.078px -3.016px rgba(0, 0, 0, 0.10), 0 4.021px 6.031px -4.021px rgba(0, 0, 0, 0.10);
}

/* Markdown Content Styles */
.markdown-content {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.85);
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.9);
}

.markdown-content h1 { font-size: 2rem; }
.markdown-content h2 { font-size: 1.75rem; }
.markdown-content h3 { font-size: 1.5rem; }
.markdown-content h4 { font-size: 1.25rem; }
.markdown-content h5 { font-size: 1.1rem; }
.markdown-content h6 { font-size: 1rem; }

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #A855F7;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 0 8px 8px 0;
}

.markdown-content blockquote p:last-child {
    margin-bottom: 0;
}

.markdown-content code {
    padding: 0.2rem 0.4rem;
    font-size: 0.875rem;
    color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
}

.markdown-content pre {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f6f8fa;
    border-radius: 8px;
    overflow-x: auto;
}

.markdown-content pre code {
    padding: 0;
    background: none;
    color: inherit;
    font-size: 0.875rem;
}

.markdown-content a {
    color: #A855F7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.markdown-content a:hover {
    color: #9333EA;
    border-bottom-color: #9333EA;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.markdown-content hr {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.markdown-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.markdown-content th,
.markdown-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.markdown-content th {
    background: rgba(168, 85, 247, 0.05);
    font-weight: 600;
}

.markdown-content tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.markdown-content strong {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
}

.markdown-content em {
    font-style: italic;
}

/* Dark mode support for markdown */
body.dark .markdown-content {
    color: rgba(255, 255, 255, 0.85);
}

body.dark .markdown-content h1,
body.dark .markdown-content h2,
body.dark .markdown-content h3,
body.dark .markdown-content h4,
body.dark .markdown-content h5,
body.dark .markdown-content h6 {
    color: rgba(255, 255, 255, 0.95);
}

body.dark .markdown-content blockquote {
    background: rgba(168, 85, 247, 0.1);
    border-left-color: #A855F7;
}

body.dark .markdown-content code {
    background: rgba(168, 85, 247, 0.15);
}

body.dark .markdown-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
}

body.dark .markdown-content th {
    background: rgba(168, 85, 247, 0.1);
}

body.dark .markdown-content th,
body.dark .markdown-content td {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark .markdown-content tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

body.dark .markdown-content strong {
    color: #e8e8e8;
}

/* Ad Placeholder Styles */
.ad-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.ad-placeholder .ad-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.ad-placeholder .ad-label {
    position: absolute;
    top: 10px;
    left: 15px;
    background-color: rgba(108, 117, 125, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-placeholder-content {
    text-align: center;
    padding: 40px 20px;
}

.ad-placeholder-icon {
    margin-bottom: 20px;
    color: #6c757d;
    opacity: 0.5;
}

.ad-placeholder-text {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.ad-placeholder-subtext {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Responsive adjustments for ad placeholders */
@media (max-width: 768px) {
    .ad-placeholder {
        min-height: 250px;
    }
    
    .ad-placeholder .ad-content {
        min-height: 230px;
    }
    
    .ad-placeholder-text {
        font-size: 18px;
    }
}

body.dark .markdown-content strong {
    color: rgba(255, 255, 255, 0.95);
}

/* Question & Answer Search Results - Read More Button */
.qa-read-more {
    margin-top: 1rem;
}

.qa-read-more .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}