/**
 * Min Thein Kha Platform Custom Styling
 * Theme: Astrological Mystical Deep Indigo & Warm Gold
 */

/* ==========================================================================
   Local Self-Hosted Myanmar Unicode Fonts
   ========================================================================== */
@font-face {
    font-family: 'Pyidaungsu';
    src: url('../fonts/tts/pyidaungsu.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UMOE';
    src: url('../fonts/tts/umoe.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CherryUnicode';
    src: url('../fonts/tts/cherryunicode.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* User-requested Font Utility Classes - All Unified to tts-1 (Pyidaungsu) */
.tts-1, .tts-2, .tts-3 {
    font-family: 'Pyidaungsu', sans-serif !important;
}
.fs-custom {
  font-size: 15px;
}
.fs-custom-10 {
  font-size: 10px;
}
.fs-custom-12 {
  font-size: 12px;
}
.fs-custom-14 {
  font-size: 14px;
}
.fs-custom-16 {
  font-size: 16px;
}
.fs-custom-17 {
  font-size: 17px;
}
.fs-custom-18 {
  font-size: 18px;
}
.fs-custom-19 {
  font-size: 19px;
}
.fs-custom-20 {
  font-size: 20px;
}
.fs-custom-25 {
  font-size: 25px;
}
.fs-custom-30 {
  font-size: 30px;
}
.line-height-1{
	line-height: 1.5;
}
.line-height-2{
	line-height: 2;
}
.line-height-3{
	line-height: 2.5;
}
.line-height-4{
	line-height: 3;
}
.line-height-5{
	line-height: 3.5;
}
.tts-red {
    color: red;
}
.tts-blue {
    color: blue;
}
.tts-teal {
    color: #008080;
}
.tts-green {
    color: #008000;
}
.tts-primary {
	color: #0d6efd;
}
.tts-green1 {
    color: #00FFFF;
}
.tts-black {
    color: black;
}
.tts-orange {
    color: #F56533;
}
.tts-yellow {
    color: yellow;
}
.tts-gold {
    color: gold;
}
.tts-maroon {
    color: #800000;
}

.tts-purple {
    color: #9F27CC;
}
.tts-d-red {
    color: #8B0000;
}
.tts-navy {
    color: #000080;
}
.tts-fuchsia {
    color: #FF00FF;
}
:root {
    --primary-color: #4338ca; /* Royal Indigo */
    --primary-hover: #3730a3;
    --primary-light: #eef2ff;
    --accent-gold: #d97706; /* Rich Burmese Gold */
    --accent-gold-bright: #f59e0b; /* Radiant Amber Gold */
    --accent-gold-hover: #b45309;
    --accent-gold-light: #fef3c7;
    --dark-bg: #090e1a; /* Deep Celestial Midnight */
    --card-bg: #ffffff;
    --body-bg: #ffffff; /* Crisp Pure Canvas */
    --surface-warm: #faf8f5; /* Subtle Warm Pearl Ivory for alternates */
    --surface-indigo: #f8faff; /* Subtle Celestial Indigo tint */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #eef2f6; /* Soft border */
    --border-subtle: rgba(226, 232, 240, 0.7);
    --border-gold: rgba(245, 158, 11, 0.28);
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
    --card-shadow-hover: 0 18px 36px -6px rgba(67, 56, 202, 0.12), 0 6px 16px -3px rgba(245, 158, 11, 0.08);
    --font-mm: 'Pyidaungsu', sans-serif;
}

html, body, button, input, select, textarea, .form-control, h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6, .btn, .navbar, .card, .dropdown-menu, .modal, .badge, .table {
    font-family: 'Pyidaungsu', sans-serif !important;
}

body {
    font-family: 'Pyidaungsu', sans-serif !important;
    background-color: var(--body-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar-brand-custom {
    font-weight: 700;
    font-size: 1.35rem;
    color: #4338ca !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
}

.navbar-brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.justified-text {
    text-align: justify;
}

.navbar-brand-custom:hover .navbar-brand-logo {
    transform: scale(1.05);
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

.navbar-custom .nav-link {
    white-space: nowrap !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px;
    transition: all 0.2s ease-in-out;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus,
.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
}

.navbar-custom .btn {
    white-space: nowrap !important;
    font-size: 0.88rem;
}

.navbar-custom .dropdown-menu {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.1), 0 8px 12px -6px rgba(0, 0, 0, 0.05);
}

.navbar-custom .dropdown-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 50% 25%, #1e1b4b 0%, #090e1a 100%);
    color: #ffffff;
    padding: 70px 0 65px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
                url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.18)"/></svg>') repeat;
    pointer-events: none;
}

.hero-signature-img {
    height: 300px;
    width: auto;
    max-height: 100px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
    transition: transform 0.25s ease, filter 0.25s ease;
    display: inline-block;
}

.hero-signature-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
}

.quote-text-container {
    display: inline-flex;
    flex-direction: column;
    max-width: 100%;
}

.quote-signature-img {
    height: 92px;
    width: auto;
    max-width: min(320px, 100%);
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.quote-signature-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.75));
}

@media (max-width: 576px) {
    .navbar-brand-logo {
        height: 34px;
    }
    .hero-signature-img {
        height: 50px;
    }
    .quote-signature-img {
        height: 68px;
        max-width: min(240px, 100%);
    }
}

/* ==========================================================================
   Professional Astrologer Card (Compact Avatar & Refined Aesthetics)
   ========================================================================== */
.astrologer-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--card-bg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.astrologer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Card Top Decorative Banner */
.astro-card-banner {
    height: 68px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
    position: relative;
    padding: 10px 14px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.astro-card-banner::after {
    content: '✨';
    position: absolute;
    left: 14px;
    top: 10px;
    font-size: 1rem;
    opacity: 0.6;
}

/* Compact Avatar Wrapper */
.astro-avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: -45px auto 0 auto;
    border-radius: 50%;
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.astro-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f59e0b;
    transition: transform 0.3s ease;
}

.astrologer-card:hover .astro-avatar-img {
    transform: scale(1.06);
}

/* Online Badge Attached to Avatar */
.astro-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.astro-status-dot.online {
    background-color: #10b981;
}

.astro-status-dot.offline {
    background-color: #94a3b8;
}

.card-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title-link:hover {
    color: var(--primary-color);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Blog Cards */
.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.blog-thumb {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Chat & Call Widget */
.chat-window {
    height: 420px;
    overflow-y: auto;
    padding: 16px;
    background: #fafaf9;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    position: relative;
    word-break: break-word;
}

.message-incoming {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
}

.message-outgoing {
    align-self: flex-end;
    background: var(--primary-color);
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

.message-time {
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 4px;
    text-align: right;
}

/* Video Call Modal styling */
.video-grid {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.remote-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local-video {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 140px;
    height: 105px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    object-fit: cover;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.call-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    background: rgba(15, 23, 42, 0.85);
    padding: 8px 16px;
    border-radius: 30px;
}

/* Buttons & Badges */
.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    transition: all 0.25s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.25s ease;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(67, 56, 202, 0.25);
}

/* Floating Stats Ribbon (Hero to Canvas Bridge) */
.stats-ribbon-section {
    position: relative;
    z-index: 10;
    margin-top: -38px;
    margin-bottom: 30px;
}

.stats-ribbon-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.22);
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(245, 158, 11, 0.04);
}

.stat-item {
    transition: transform 0.2s ease;
}
.stat-item:hover {
    transform: translateY(-2px);
}

/* Section Header Badges & Decorative Underlines */
.section-pill-badge {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.section-pill-indigo {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

/* Alternating Section Backgrounds */
.section-surface-warm {
    background-color: var(--surface-warm);
    border-top: 1px solid rgba(241, 237, 228, 0.8);
    border-bottom: 1px solid rgba(241, 237, 228, 0.8);
}

.section-surface-indigo {
    background-color: var(--surface-indigo);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* Footer */
footer {
    margin-top: auto;
    background: linear-gradient(180deg, #0d1322 0%, #060911 100%);
    color: #94a3b8;
    padding: 40px 0 25px 0;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
}

/* CKEditor Notification Banner Suppress */
.cke_notifications_area,
.cke_notification,
.cke_notification_warning,
.cke_notification_info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
}

/* ==========================================================================
   Sayar Gyi Min Thein Kha Portal Homepage Styles
   ========================================================================== */
.sayargyi-portrait-box {
    position: relative;
    display: inline-block;
    border-radius: 1.5rem;
    padding: 8px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.8), rgba(99, 102, 241, 0.5));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 28px rgba(245, 158, 11, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sayargyi-portrait-box:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 38px rgba(245, 158, 11, 0.5);
}
.sayargyi-portrait-img {
    border-radius: 1.25rem;
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: cover;
}

.quote-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(15, 23, 42, 0.95));
    border-left: 5px solid var(--accent-gold);
    border-radius: 1.25rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.character-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}
.character-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #4338ca);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.character-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(99, 102, 241, 0.3);
}
.character-card:hover::before {
    opacity: 1;
}

/* Modern Life Timeline Cards */
.timeline-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-gold);
}

.timeline-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-milestone {
    position: relative;
    padding-left: 2rem;
    border-left: 2px dashed rgba(245, 158, 11, 0.4);
    margin-bottom: 2rem;
}
.timeline-milestone::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--accent-gold);
}
.timeline-milestone:last-child {
    border-left: 2px solid transparent;
    margin-bottom: 0;
}

.book-card-mini {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}
.book-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}
.book-card-mini-cover {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: var(--surface-warm);
}

/* Password Visibility Toggle Button */
.toggle-password-btn {
    border-color: var(--border-color);
    color: #64748b;
    background-color: #fafaf9;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
}

.toggle-password-btn:hover,
.toggle-password-btn:focus {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: none !important;
}

.toggle-password-btn i {
    font-size: 1.1rem;
    pointer-events: none;
}

/* Custom Icon Dropdown Grid */
.icon-select-btn {
    border-color: #e2e8f0 !important;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.15s ease;
}

.icon-select-btn:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: var(--primary-color) !important;
    transform: scale(1.08);
}

.icon-select-btn.active {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #b45309 !important;
}

/* Custom Color Swatch Dropdown Grid */
.color-swatch-btn {
    border: 3px solid transparent !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.color-swatch-btn:hover {
    transform: scale(1.18);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.color-swatch-btn.active {
    border-color: #ffffff !important;
    outline: 2.5px solid #0f172a;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* Books Catalog Showcase Cards */
.book-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.12), 0 6px 12px -4px rgba(0, 0, 0, 0.06) !important;
}

.book-cover-container {
    height: 220px;
    background-color: var(--surface-warm);
    position: relative;
    overflow: hidden;
}

.book-cover-img {
    max-height: 195px;
    max-width: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), 0 2px 5px rgba(0, 0, 0, 0.08);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover .book-cover-img {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.1);
}

.hover-primary {
    transition: color 0.2s ease;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Golden Wisdom Section Cards & Pagination
   ========================================================================== */
.wisdom-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    background-color: #ffffff !important;
    border-left: 4px solid var(--accent-gold) !important;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wisdom-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
    border-color: #f59e0b !important;
    background-color: #ffffff !important;
}

.wisdom-fade-in {
    animation: wisdomFadeInAnim 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wisdomFadeInAnim {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wisdom-pagination .page-item .page-link {
    color: #475569;
    background-color: #ffffff;
    border-color: rgba(226, 232, 240, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.wisdom-pagination .page-item .page-link:hover {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
    transform: translateY(-1px);
}

.wisdom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #d97706;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.4);
}

.wisdom-pagination .page-item.disabled .page-link {
    color: #94a3b8 !important;
    background-color: #fafaf9 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ==========================================================================
   Post Detail Article & Featured Thumbnail
   ========================================================================== */
.post-featured-media {
    max-width: 100%;
}

.post-thumb-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 100%;
}

.post-thumb-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.post-detail-thumb {
    max-width: 320px;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .post-detail-thumb {
        max-width: 100%;
        max-height: 250px;
    }
}

.post-thumb-zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.post-thumb-wrapper:hover .post-thumb-zoom-badge {
    opacity: 1;
}

/* Ensure images inside CKEditor article content are responsive and neat */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-content > :last-child {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Content Protection & Anti-Scraping Rules (Selective Option 1)
   ========================================================================== */
/* Keep system navigation, buttons, and UI frames unselectable */
.navbar, footer, .btn, button, .badge, .nav, .dropdown-menu, .modal-header, .modal-footer {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow readers to freely select and copy text in articles, stories, bios, quotes, and content */
article, .article-content, .card-body, p, blockquote, .justified-text, .selectable-text, 
h1, h2, h3, h4, h5, h6, li, span.selectable, input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Disable dragging on all images across the website */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* ==========================================================================
   Global Sticky Header Wrapper (Marquee + Navbar Stay Together On Scroll)
   ========================================================================== */
.site-sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure navbar inside sticky wrapper flows naturally without position conflict */
.site-sticky-header-wrapper .navbar-custom {
    position: relative !important;
    top: auto !important;
}

/* ==========================================================================
   Global Top Marquee Announcement Banner
   ========================================================================== */
.site-top-marquee-bar,
.site-top-marquee-bar.tts-1,
.site-top-marquee-bar .tts-1,
.site-top-marquee-bar span,
.site-top-marquee-bar a,
.site-top-marquee-bar button {
    font-family: 'Pyidaungsu', sans-serif !important;
    letter-spacing: normal !important;
    font-feature-settings: normal !important;
    text-rendering: optimizeLegibility !important;
}

.site-top-marquee-bar {
    width: 100%;
    position: relative;
    z-index: 1035;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.85;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Color Theme Variants */
.site-top-marquee-bar.theme-gold {
    background: linear-gradient(90deg, #92400e 0%, #b45309 25%, #d97706 50%, #b45309 75%, #92400e 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-top-marquee-bar.theme-red {
    background: linear-gradient(90deg, #991b1b 0%, #b91c1c 25%, #dc2626 50%, #b91c1c 75%, #991b1b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-top-marquee-bar.theme-blue {
    background: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 25%, #2563eb 50%, #1d4ed8 75%, #1e3a8a 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-top-marquee-bar.theme-green {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 25%, #059669 50%, #065f46 75%, #064e3b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-top-marquee-bar.theme-dark {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 30%, #312e81 50%, #1e1b4b 70%, #0f172a 100%);
    color: #fef08a;
    border-bottom: 1px solid rgba(254, 240, 138, 0.25);
}

/* Inner Container */
.site-top-marquee-bar .marquee-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    position: relative;
}

/* Left Pinned Badge */
.site-top-marquee-bar .marquee-badge {
    flex-shrink: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: normal !important;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0 50rem 50rem 0;
    margin-right: 12px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

/* Pulse indicator dot */
.site-top-marquee-bar .marquee-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: marqueeDotPulse 1.8s infinite;
}

@keyframes marqueeDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Scrolling Container */
.site-top-marquee-bar .marquee-scroll-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

/* Infinite Track */
.site-top-marquee-bar .marquee-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: continuousMarqueeScroll 30s linear infinite;
}

.site-top-marquee-bar:hover .marquee-track {
    animation-play-state: paused;
}

.site-top-marquee-bar .marquee-item {
    display: inline-flex;
    align-items: center;
    padding-right: 90px;
    white-space: nowrap;
}

.site-top-marquee-bar .marquee-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s, transform 0.2s;
}

.site-top-marquee-bar .marquee-link:hover {
    text-decoration: underline;
    opacity: 0.95;
    transform: scale(1.01);
}

/* Dismiss Button */
.site-top-marquee-bar .marquee-close-btn {
    flex-shrink: 0;
    z-index: 2;
    background: transparent;
    border: none;
    color: inherit;
    padding: 4px 12px;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    line-height: 1;
}

.site-top-marquee-bar .marquee-close-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

@keyframes continuousMarqueeScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .site-top-marquee-bar {
        font-size: 0.86rem;
    }
    .site-top-marquee-bar .marquee-inner {
        min-height: 36px;
    }
    .site-top-marquee-bar .marquee-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
        margin-right: 8px;
    }
    .site-top-marquee-bar .marquee-item {
        padding-right: 60px;
    }
}

/* ==========================================================================
   Astrologer Profile Tab Panes & Seamless AJAX Transitions
   ========================================================================== */
.astrologer-tab-pane {
    transition: opacity 0.2s ease;
}
.astrologer-tab-pane.d-none {
    display: none !important;
    opacity: 0;
}
.astrologer-tab-pane.active {
    display: block !important;
    opacity: 1;
    animation: astrologerTabFadeIn 0.22s ease-out;
}
@keyframes astrologerTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


