/* ====== RICHIFYNOW PROFESSIONAL GLOBAL THEME ====== */
:root {
    --primary: #9900fc;
    --primary-light: #b333ff;
    --primary-dark: #7a00cc;
    --secondary: #ff6b6b;
    --accent-blue: #4ecdc4;
    --accent-gold: #f4a261;
    --accent-green: #2ecc71;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #8a8a8a;
    --border-light: #e8e8e8;
    --border-medium: #ddd;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-light);
    }

.main-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

    section:last-child {
        border-bottom: none;
    }

/* ====== HEADER/NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 12px 0;
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

    .navbar-logo img {
        height: 35px;
        width: auto;
    }

.navbar-menu {
    display: flex;
    gap: 45px;
    list-style: none;
}

    .navbar-menu a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
    }

        .navbar-menu a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent-blue));
            transition: width 0.3s ease;
        }

        .navbar-menu a:hover {
            color: var(--primary);
        }

            .navbar-menu a:hover::after {
                width: 100%;
            }

/* ====== BUTTONS ====== */
.btn {
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--primary);
    border: 1px solid var(--border-medium);
}

    .btn-secondary:hover {
        background: var(--bg-secondary);
        border-color: var(--primary);
        transform: translateY(-2px);
    }

/* ====== SECTION HEADERS ====== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-family: 'Playfair Display', 'Sora', Georgia, serif;
        font-size: 44px;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--text-primary);
        letter-spacing: -0.5px;
    }

    .section-header p {
        color: var(--text-secondary);
        font-size: 16px;
        max-width: 500px;
        margin: 0 auto;
    }

/* ====== HERO SECTION ====== */
.hero-section {
    margin-top: 0px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -5%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(153, 0, 252, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 8s ease-in-out infinite reverse;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', 'Sora', Georgia, serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

    .hero-text h1 span {
        background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.hero-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

    .hero-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: zoomIn 1s ease-out 0.4s both;
    }
/* ============ LIGHT THEME ENHANCEMENTS ============ */

/* REFINED CARD DESIGNS */
.post-card {
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

    .post-card:hover {
        box-shadow: 0 12px 32px rgba(153, 0, 252, 0.12);
        border-color: var(--primary);
    }

/* CATEGORY BADGE STYLES */
.post-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

    .post-category:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(153, 0, 252, 0.3);
    }

/* IMAGE OVERLAYS */
.image-overlay {
    position: relative;
    overflow: hidden;
}

    .image-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(153, 0, 252, 0.1) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .image-overlay:hover::before {
        opacity: 1;
    }

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ANIMATED UNDERLINE */
.underline-animate {
    position: relative;
    display: inline-block;
}

    .underline-animate::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent-blue));
        transition: width 0.3s ease;
    }

    .underline-animate:hover::after {
        width: 100%;
    }

/* FLOATING ANIMATION */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-up {
    animation: floatUp 0.6s ease-out;
}

/* PULSE ANIMATION */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* SKELETON LOADING */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ENHANCED BUTTON STYLES */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(153, 0, 252, 0.3);
    }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    font-weight: 500;
}

    .btn-ghost:hover {
        background: var(--bg-tertiary);
        border-color: var(--primary);
    }

/* ADVANCED CARD DESIGN */
.card-elevated {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .card-elevated::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent-blue));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .card-elevated:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-8px);
        border-color: var(--primary);
    }

        .card-elevated:hover::before {
            transform: scaleX(1);
        }

/* TOOLTIP STYLE */
.tooltip {
    position: relative;
}

    .tooltip::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--text-primary);
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        margin-bottom: 10px;
    }

    .tooltip:hover::after {
        opacity: 1;
    }

/* BADGE STYLES */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, var(--accent-green), #27ae60);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, var(--accent-blue), #3498db);
    color: white;
}

/* DIVIDER STYLES */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.divider-primary {
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

/* TEXT EFFECTS */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-hover-color {
    transition: color 0.3s ease;
}

    .text-hover-color:hover {
        color: var(--primary);
    }

/* LINK STYLES */
a.link-primary {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

    a.link-primary::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    a.link-primary:hover {
        color: var(--primary-dark);
    }

        a.link-primary:hover::after {
            width: 100%;
        }

/* INPUT STYLES */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="search"]:focus,
    textarea:focus {
        outline: none;
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(153, 0, 252, 0.1);
    }

textarea {
    resize: vertical;
}

/* PAGINATION STYLES */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 40px 0;
}

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        border: 1px solid var(--border-light);
        border-radius: 4px;
        text-decoration: none;
        color: var(--text-primary);
        transition: all 0.3s ease;
    }

        .pagination a:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

    .pagination .active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* BREADCRUMB STYLES */
.breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

    .breadcrumb a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb a:hover {
            color: var(--primary-dark);
        }

    .breadcrumb ::after {
        content: 'â†’';
        color: var(--text-tertiary);
    }

    .breadcrumb li:last-child::after {
        display: none;
    }

/* SCROLLBAR CUSTOM STYLE */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent-blue));
    border-radius: 5px;
    transition: background 0.3s ease;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, var(--primary-light), var(--accent-blue));
    }

/* HIGHLIGHT EFFECT */
.highlight {
    background: linear-gradient(120deg, rgba(153, 0, 252, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    padding: 2px 4px;
    border-radius: 2px;
}

/* CARD GRID LAYOUT */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rn-roadmap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.rn-roadmap-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .rn-roadmap-card .rn-mt-lg {
        margin-top: auto;
    }

@media (max-width: 980px) {
    .rn-roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .rn-roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE TABLE */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

    table th {
        background: var(--bg-tertiary);
        padding: 16px;
        text-align: left;
        font-weight: 600;
        color: var(--text-primary);
        border-bottom: 2px solid var(--border-light);
    }

    table td {
        padding: 16px;
        border-bottom: 1px solid var(--border-light);
    }

    table tbody tr:hover {
        background: var(--bg-secondary);
    }

/* CODE BLOCK STYLE */
code {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

pre {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-light);
}

    pre code {
        background: transparent;
        color: var(--text-primary);
        padding: 0;
    }

/* QUOTE STYLE */
blockquote {
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    color: var(--text-secondary);
    font-style: italic;
    margin: 20px 0;
}

/* ALERT BOXES */
.alert {
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.alert-info {
    background: rgba(78, 205, 196, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.alert-warning {
    background: rgba(244, 162, 97, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 999;
}

    .back-to-top.show {
        display: flex;
    }

    .back-to-top:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
    }

/* ============ UTILITY CLASSES ============ */

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 40px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 40px;
}

.p-1 {
    padding: 8px;
}

.p-2 {
    padding: 16px;
}

.p-3 {
    padding: 24px;
}

.p-4 {
    padding: 32px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.rounded {
    border-radius: 6px;
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-full {
    border-radius: 9999px;
}

/* ====== BLOG DETAILS PAGE ====== */
.blog-hero {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 0 0 48px 0;
    margin-bottom: 48px;
    overflow: hidden;
}

.blog-featured-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    color: var(--primary);
    margin: 0 0 18px 0;
    padding: 0 48px;
    flex-wrap: wrap;
}

.blog-title {
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 32px 0 18px 0;
    padding: 0 48px;
    line-height: 1.15;
}

.blog-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding: 0 48px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 0 48px;
}

.blog-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.blog-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.blog-author-meta {
    color: var(--primary);
    font-size: 14px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px 0;
    padding: 0 48px;
}

.blog-tag {
    background: rgba(153, 0, 252, 0.08);
    color: var(--primary);
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

    .blog-tag:hover {
        background: var(--primary);
        color: #fff;
    }

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px 0;
    padding: 0 48px;
    flex-wrap: wrap;
}

.blog-content {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.7;
    padding: 0 48px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .blog-title, .blog-excerpt, .blog-author, .blog-meta, .blog-tags, .blog-share, .blog-content {
        padding: 0 18px;
    }
}

@media (max-width: 600px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-featured-img {
        max-height: 220px;
    }
}

/* ====== BLOG DETAILS RELATED POSTS ====== */
.related-section {
    margin: 48px 0 0 0;
    padding: 0 0 32px 0;
}

.related-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 6px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    min-height: 220px;
}

    .related-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px) scale(1.03);
        color: var(--primary);
    }

.related-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: var(--bg-tertiary);
}

.related-card-body {
    padding: 16px 18px 14px 18px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .related-grid {
        gap: 14px;
    }

    .related-card-body {
        padding: 10px 10px 8px 10px;
    }
}
/* ====== RICHIFYNOW PUBLIC DESIGN SYSTEM ====== */
:root {
    --rn-surface: var(--bg-primary);
    --rn-surface-soft: var(--bg-secondary);
    --rn-text: var(--text-primary);
    --rn-muted: var(--text-secondary);
    --rn-border: var(--border-light);
    --rn-primary: var(--primary);
    --rn-primary-dark: var(--primary-dark);
    --rn-accent: var(--accent-green);
    --rn-shadow-soft: var(--shadow-md);
    --rn-shadow-hard: var(--shadow-lg);
}

main {
    min-height: 60vh;
}

/* Header */
.rn-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(153, 0, 252, 0.1);
}

.rn-header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.rn-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--rn-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
}

    .rn-brand img {
        width: auto;
        height: 64px;
    }

.rn-nav {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.rn-nav-group {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.rn-nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .rn-nav a {
        text-decoration: none;
        color: var(--rn-text);
        font-size: 15px;
        font-weight: 600;
        padding: 10px 14px;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

        .rn-nav a:hover,
        .rn-nav a.active {
            color: var(--rn-primary);
            background: rgba(153, 0, 252, 0.08);
        }

.rn-start-cta {
    background: var(--rn-primary);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid color-mix(in srgb, var(--rn-primary) 70%, #fff 30%);
    box-shadow: 0 10px 18px rgba(153, 0, 252, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

    .rn-start-cta:hover {
        color: #fff;
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 14px 26px rgba(153, 0, 252, 0.32);
        filter: brightness(1.05);
    }

    .rn-start-cta:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 8px 16px rgba(153, 0, 252, 0.28);
    }

    .rn-start-cta.active {
        background: var(--rn-primary-dark);
    }

    .rn-nav .rn-nav-cta {
        background: linear-gradient(120deg, var(--rn-primary), var(--primary-light));
        color: #fff;
        box-shadow: 0 10px 22px rgba(153, 0, 252, 0.25);
    }

        .rn-nav .rn-nav-cta:hover {
            color: #fff;
            background: linear-gradient(120deg, var(--rn-primary-dark), var(--rn-primary));
        }

.rn-menu-btn {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    padding: 9px;
    cursor: pointer;
}

    .rn-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        background: var(--rn-text);
    }

        .rn-menu-btn span + span {
            margin-top: 6px;
        }

/* ============================================
   LUXURY FOOTER STYLES
   ============================================ */

.rn-footer {
    background: #0b1220;
    color: #cbd5e1;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

/* Premium animated glow bar */
.rn-footer-glow-bar {
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #f43f5e, #a855f7);
    background-size: 200% auto;
    animation: shimmerMove 4s linear infinite;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

@keyframes shimmerMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* MAIN GRID */
.rn-footer-inner {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding: 100px 20px 60px;
}

/* BRAND SECTION */
.rn-footer-brand {
    padding-top: 10px;
}

.rn-footer-brand-link {
    display: inline-block;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

    .rn-footer-brand-link:hover {
        transform: scale(1.02);
    }

.rn-footer-logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.rn-footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .rn-footer-logo-text svg {
        height: 40px;
        width: auto;
    }

    .rn-footer-logo-text span {
        font-weight: 700;
        font-size: 1.6rem;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, #f0f3ff, #c6b9ff, #a855f7);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

.rn-footer-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e6;
    max-width: 420px;
    margin-bottom: 28px;
    font-weight: 400;
}

/* SOCIALS - Premium glassmorphic badges */
.rn-footer-socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.rn-social-btn {
    width: 46px;
    height: 46px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    font-size: 1.3rem;
}

    .rn-social-btn:hover {
        background: linear-gradient(145deg, #6366f1, #a855f7);
        transform: translateY(-4px) scale(1.05);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 12px 20px -10px rgba(99, 102, 241, 0.5);
    }

/* COLUMN TITLES with luxury underline */
.rn-footer-col-title {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

    .rn-footer-col-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, #a855f7, #ec4899);
        border-radius: 4px;
    }

/* LINKS with hover effects */
.rn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .rn-footer-links li {
        margin-bottom: 12px;
    }

    .rn-footer-links a {
        font-size: 14px;
        font-weight: 450;
        color: #b9c3da;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: relative;
        transition: all 0.25s ease;
        letter-spacing: 0.01em;
    }

        .rn-footer-links a i {
            font-size: 12px;
            opacity: 0.7;
            transition: transform 0.2s ease;
        }

        .rn-footer-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0%;
            height: 1.5px;
            background: linear-gradient(90deg, #a855f7, #ec4899);
            transition: width 0.3s cubic-bezier(0.22, 0.97, 0.36, 1);
            border-radius: 4px;
        }

        .rn-footer-links a:hover {
            color: #ffffff;
            transform: translateX(5px);
        }

            .rn-footer-links a:hover i {
                transform: translateX(3px);
                opacity: 1;
            }

            .rn-footer-links a:hover::after {
                width: 60%;
            }

/* BOTTOM BAR - Glassmorphic luxury */
.rn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 12, 24, 0.85);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 2;
}

.rn-footer-bottom-inner {
    max-width: 1280px;
    margin: auto;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}

.rn-footer-copyright {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rn-footer-credit a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

    .rn-footer-credit a:hover {
        color: #c084fc;
    }

/* Decorative corner glow elements */
.rn-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(11, 18, 32, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.rn-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(11, 18, 32, 0) 70%);
    pointer-events: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .rn-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 80px 20px 50px;
    }

    .rn-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .rn-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 70px 18px 40px;
    }

    .rn-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .rn-footer-links a {
        font-size: 15px;
    }

    .rn-social-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Dark mode enhancement (if user prefers) */
@media (prefers-color-scheme: dark) {
    .rn-footer {
        background: #0a0f1a;
    }
}
/* Shared page system */
.rn-page {
    padding: 64px 0;
    background: transparent;
}

    .rn-page + .rn-page {
        border-top: 1px solid #e8eef8;
    }

.rn-section-heading {
    margin-bottom: 30px;
    text-align: center !important;
}

.rn-section-heading-left {
    text-align: center;
}

.rn-eyebrow {
    margin: 0 0 8px;
    color: var(--rn-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.rn-page-title {
    margin: 0;
    color: var(--rn-text);
    font-family: 'Playfair Display', 'Sora', Georgia, serif;
    font-size: clamp(31px, 4.4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rn-page-subtitle {
    margin: 16px 0 0;
    color: var(--rn-muted);
    font-size: 18px;
    line-height: 1.6;
}

.rn-panel {
    background: var(--rn-surface);
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--rn-shadow-soft);
}

    .rn-panel h3 {
        margin: 0 0 12px;
        color: var(--rn-text);
        font-size: 20px;
    }

.rn-panel-text {
    margin: 0 0 14px;
    color: var(--rn-muted);
    line-height: 1.6;
}

.rn-empty {
    margin: 0;
    color: var(--rn-muted);
    font-size: 16px;
}

.rn-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .rn-link-list li + li {
        margin-top: 8px;
    }

    .rn-link-list a {
        color: var(--rn-text);
        text-decoration: none;
        font-weight: 600;
    }

        .rn-link-list a:hover {
            color: var(--rn-primary);
        }

.rn-page-ad {
    margin-top: 32px;
}

.rn-mt-lg {
    margin-top: 20px;
}

/* Blog and shop cards */
.rn-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 340px);
    gap: 26px;
    align-items: start;
}

.rn-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.rn-post-grid-tight {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.rn-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--rn-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .rn-post-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--rn-shadow-hard);
    }

.rn-post-image-link {
    display: block;
}

.rn-post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rn-post-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rn-post-category {
    align-self: flex-start;
    text-decoration: none;
    color: var(--rn-primary);
    background: rgba(153, 0, 252, 0.08);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.rn-post-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    color: var(--rn-text);
}

    .rn-post-title a {
        color: inherit;
        text-decoration: none;
    }

        .rn-post-title a:hover {
            color: var(--rn-primary);
        }

.rn-post-meta {
    margin: 0;
    color: var(--rn-muted);
    font-size: 14px;
}

.rn-read-more {
    color: var(--rn-primary);
    text-decoration: none;
    font-weight: 700;
}

    .rn-read-more:hover {
        color: var(--rn-primary-dark);
    }

.rn-sidebar-stack {
    display: grid;
    gap: 16px;
}

.rn-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin: 0 0 20px;
}

    .rn-search-form input {
        border: 1px solid var(--rn-border);
        border-radius: 10px;
        padding: 12px 14px;
        background: #fff;
    }

    .rn-search-form button {
        border: 0;
        border-radius: 10px;
        padding: 12px 16px;
        color: #fff;
        font-weight: 700;
        background: linear-gradient(120deg, var(--rn-primary), var(--primary-light));
        cursor: pointer;
    }

/* About and Contact */
.rn-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.4fr);
    gap: 34px;
    align-items: center;
}

.rn-split-media img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--rn-border);
    box-shadow: var(--rn-shadow-soft);
}

.rn-richtext {
    color: var(--rn-muted);
    line-height: 1.8;
    font-size: 17px;
}

    .rn-richtext p {
        margin: 0 0 12px;
    }

.rn-author-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.rn-author-card {
    background: #fff;
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: var(--rn-shadow-soft);
}

    .rn-author-card img {
        width: 88px;
        height: 88px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 12px;
    }

    .rn-author-card h3 {
        margin: 0 0 8px;
        font-size: 20px;
        color: var(--rn-text);
    }

    .rn-author-card p {
        margin: 0 0 12px;
        color: var(--rn-muted);
        line-height: 1.6;
        font-size: 14px;
    }

    .rn-author-card a {
        color: var(--rn-primary);
        font-weight: 700;
        text-decoration: none;
    }

.rn-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.rn-contact-card {
    background: #fff;
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    box-shadow: var(--rn-shadow-soft);
    padding: 22px;
}

.rn-contact-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.rn-contact-card h2 {
    margin: 0 0 12px;
    color: var(--rn-text);
    font-size: 28px;
    line-height: 1.25;
}

.rn-contact-card p {
    margin: 0;
    color: var(--rn-muted);
    line-height: 1.7;
}

.rn-contact-links {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .rn-contact-links a {
        color: var(--rn-primary);
        text-decoration: none;
        font-weight: 700;
    }

.rn-contact-form {
    display: grid;
    gap: 8px;
}

    .rn-contact-form label {
        margin-top: 6px;
        font-size: 14px;
        font-weight: 600;
        color: var(--rn-text);
    }

    .rn-contact-form input,
    .rn-contact-form textarea {
        background: var(--rn-surface-soft);
        border: 1px solid var(--rn-border);
        border-radius: 10px;
        padding: 12px 14px;
        color: var(--rn-text);
    }

    .rn-contact-form textarea {
        resize: vertical;
    }

    .rn-contact-form .btn {
        margin-top: 10px;
    }

/* Categories and Authors */
.rn-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.rn-category-card {
    position: relative;
    min-height: 230px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: var(--rn-shadow-soft);
}

.rn-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rn-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 36, 0.08), rgba(8, 18, 36, 0.7));
}

.rn-category-name {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 14px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.rn-category-card:hover .rn-category-image {
    transform: scale(1.06);
}

.rn-author-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.rn-author-directory-card {
    border: 1px solid var(--rn-border);
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--rn-shadow-soft);
}

    .rn-author-directory-card h3 {
        margin: 0 0 8px;
        color: var(--rn-text);
        font-size: 20px;
    }

    .rn-author-directory-card p {
        margin: 0 0 12px;
        color: var(--rn-muted);
    }

    .rn-author-directory-card a {
        color: var(--rn-primary);
        text-decoration: none;
        font-weight: 700;
    }

/* Legal page */
.rn-legal-panel {
    max-width: 920px;
    margin: 0 auto;
}

.rn-legal-image {
    margin-top: 18px;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--rn-border);
}

/* Helpers used in views */
.text-danger {
    color: #bf2f2f;
}

.small {
    font-size: 12px;
}

.alert-danger {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1100px) {
    .rn-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rn-author-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .main-container {
        padding: 0 16px;
    }

    .rn-menu-btn {
        display: block;
    }

    .rn-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 16px;
        background: #fff;
        border: 1px solid var(--rn-border);
        border-radius: 12px;
        box-shadow: var(--rn-shadow-hard);
        flex-direction: column;
        align-items: stretch;
        width: min(290px, 90vw);
        padding: 10px;
    }

        .rn-nav.active {
            display: flex;
        }

        .rn-nav a {
            width: 100%;
        }

        .rn-nav-group,
        .rn-nav-actions {
            position: static;
            transform: none;
            width: 100%;
            flex-direction: column;
            align-items: stretch;
        }

        .rn-nav-actions {
            margin: 6px 0 0;
        }

        .rn-nav .rn-nav-cta,
        .rn-start-cta {
            text-align: center;
        }

    .rn-brand span {
        display: none;
    }

    .rn-blog-layout,
    .rn-contact-layout,
    .rn-split {
        grid-template-columns: 1fr;
    }

    .rn-post-grid {
        grid-template-columns: 1fr;
    }

    .rn-search-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .rn-footer-grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .rn-page {
        padding: 50px 0;
    }

    .rn-brand img {
        height: 56px;
    }

    .rn-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .rn-author-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== 2026 PROFESSIONAL REFRESH ====== */
.rn-brand img {
    height: 72px;
}

.rn-brand span {
    font-size: 20px;
}

.rn-page-title-sm {
    font-size: clamp(28px, 3.2vw, 36px);
}

.rn-page-subtitle-sm {
    max-width: 640px;
    font-size: 17px;
}

.rn-post-excerpt {
    margin: 0;
    color: var(--rn-muted);
    line-height: 1.7;
    font-size: 15px;
}

.rn-home-hero {
    padding-top: 34px;
}

.rn-home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
    align-items: center;
}

.rn-home-hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rn-home-hero-card {
    display: block;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--rn-border);
    background: #fff;
    box-shadow: var(--rn-shadow-hard);
}

    .rn-home-hero-card img {
        width: 100%;
        height: 340px;
        object-fit: cover;
    }

.rn-home-hero-card-body {
    padding: 16px;
}

    .rn-home-hero-card-body span {
        color: var(--rn-primary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .rn-home-hero-card-body h2 {
        margin: 8px 0;
        color: var(--rn-text);
        font-size: 24px;
        line-height: 1.25;
    }

    .rn-home-hero-card-body p {
        margin: 0;
        color: var(--rn-muted);
        font-size: 14px;
    }

.rn-home-hero-card-empty {
    padding: 28px;
}

    .rn-home-hero-card-empty h2 {
        margin: 0 0 8px;
    }

    .rn-home-hero-card-empty p {
        margin: 0;
        color: var(--rn-muted);
    }

.rn-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.rn-home-view-all {
    white-space: nowrap;
}

.rn-post-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rn-home-featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: start;
}

.rn-home-featured-list {
    display: grid;
    gap: 14px;
}

.rn-home-featured-item {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-decoration: none;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--rn-border);
    box-shadow: var(--rn-shadow-soft);
    padding: 12px;
}

    .rn-home-featured-item img {
        width: 100%;
        height: 94px;
        border-radius: 10px;
        object-fit: cover;
    }

    .rn-home-featured-item span {
        color: var(--rn-primary);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .rn-home-featured-item h3 {
        margin: 6px 0 8px;
        color: var(--rn-text);
        font-size: 18px;
        line-height: 1.35;
    }

    .rn-home-featured-item p {
        margin: 0;
        color: var(--rn-muted);
        font-size: 14px;
    }

.rn-blog-heading {
    margin-bottom: 20px;
}

.rn-blog-result-count {
    margin: 0 0 16px;
    color: var(--rn-muted);
    font-size: 14px;
}

.rn-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rn-page-link {
    text-decoration: none;
    color: var(--rn-text);
    border: 1px solid var(--rn-border);
    border-radius: 10px;
    padding: 8px 13px;
    background: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .rn-page-link:hover {
        border-color: var(--rn-primary);
        color: var(--rn-primary);
    }

    .rn-page-link.is-active {
        background: var(--rn-primary);
        color: #fff;
        border-color: var(--rn-primary);
    }

    .rn-page-link.is-disabled {
        color: #9ba7bb;
        pointer-events: none;
        background: #f8fafe;
    }

.rn-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 340px);
    gap: 24px;
    align-items: start;
}

.rn-article-card {
    background: #fff;
    border: 1px solid var(--rn-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--rn-shadow-soft);
}

.rn-article-featured {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}

.rn-article-body {
    padding: 24px;
}

.rn-article-meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--rn-muted);
    font-size: 14px;
}

    .rn-article-meta-row span::before {
        content: "\2022";
        margin-right: 10px;
    }

    .rn-article-meta-row span:first-of-type::before {
        content: "";
        margin: 0;
    }

.rn-article-category {
    color: var(--rn-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rn-article-title {
    margin: 12px 0 10px;
    color: var(--rn-text);
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rn-article-excerpt {
    margin: 0 0 18px;
    color: var(--rn-muted);
    font-size: 18px;
    line-height: 1.7;
}

.rn-article-author-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--rn-border);
    border-bottom: 1px solid var(--rn-border);
}

.rn-article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .rn-article-author img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
    }

    .rn-article-author strong {
        display: block;
        color: var(--rn-text);
    }

    .rn-article-author span {
        color: var(--rn-muted);
        font-size: 13px;
    }

.rn-article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .rn-article-share span {
        font-size: 14px;
        font-weight: 700;
        color: var(--rn-text);
    }

    .rn-article-share a {
        text-decoration: none;
        border: 1px solid var(--rn-border);
        color: var(--rn-text);
        border-radius: 999px;
        padding: 5px 10px;
        font-size: 13px;
        font-weight: 600;
    }

        .rn-article-share a:hover {
            color: var(--rn-primary);
            border-color: var(--rn-primary);
        }

.rn-article-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .rn-article-tags a {
        text-decoration: none;
        color: var(--primary);
        background: rgba(153, 0, 252, 0.08);
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 700;
    }

.rn-article-content {
    margin-top: 24px;
}

    .rn-article-content > *:first-child {
        margin-top: 0;
    }

    .rn-article-content img {
        max-width: 100%;
        border-radius: 12px;
    }

.rn-article-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.rn-article-related {
    margin-top: 18px;
}

.rn-contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.rn-contact-highlights {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

    .rn-contact-highlights article {
        border: 1px solid var(--rn-border);
        border-radius: 12px;
        background: var(--rn-surface-soft);
        padding: 12px;
    }

    .rn-contact-highlights strong {
        display: block;
        color: var(--rn-text);
        font-size: 17px;
    }

    .rn-contact-highlights span {
        color: var(--rn-muted);
        font-size: 13px;
    }

.rn-contact-address {
    margin-top: 14px;
    color: var(--rn-muted);
    font-size: 14px;
}



@media (max-width: 1100px) {
    .rn-home-hero-layout,
    .rn-home-featured-layout,
    .rn-post-grid-home {
        grid-template-columns: 1fr 1fr;
    }

    .rn-contact-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .rn-brand img {
        height: 60px;
    }

    .rn-brand span {
        display: inline;
        font-size: 17px;
    }

    .rn-home-hero-layout,
    .rn-home-featured-layout,
    .rn-post-grid-home,
    .rn-article-layout,
    .rn-contact-layout {
        grid-template-columns: 1fr;
    }

    .rn-home-hero-card img {
        height: 260px;
    }

    .rn-home-featured-item {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .rn-article-aside {
        position: static;
    }
}

@media (max-width: 700px) {
    .rn-home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rn-home-view-all {
        width: 100%;
        text-align: center;
    }

    .rn-post-grid-home,
    .rn-home-featured-item,
    .rn-contact-highlights {
        grid-template-columns: 1fr;
    }

    .rn-article-body {
        padding: 18px;
    }

    .rn-article-title {
        font-size: 30px;
    }

    .rn-footer-grid {
        gap: 24px;
    }
}

/* ====================================================
   PREMIUM LUXURY UI UPGRADE
   ==================================================== */
/* Glassmorphism & Shadow Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Typography Enhancements */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .rn-page-title, .rn-carousel-title {
    font-family: 'Playfair Display', 'Sora', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Button Upgrades */
.btn {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .btn:hover::before {
        opacity: 1;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(153, 0, 252, 0.3) !important;
}

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 32px rgba(153, 0, 252, 0.4) !important;
    }

.btn-secondary {
    background: rgba(153, 0, 252, 0.05) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(153, 0, 252, 0.2) !important;
}

    .btn-secondary:hover {
        background: rgba(153, 0, 252, 0.1) !important;
        border-color: var(--primary) !important;
        transform: translateY(-3px);
    }

/* Card Hover Lift & Soft Shadows */
.rn-post-card, .rn-category-card, .rn-author-card, .rn-home-featured-item, .card-elevated, .rn-review-card {
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
}

    .rn-post-card:hover, .rn-category-card:hover, .rn-author-card:hover, .rn-home-featured-item:hover, .card-elevated:hover, .rn-review-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(153,0,252,0.1);
        border-color: rgba(153,0,252,0.15);
    }

.rn-post-image-link {
    overflow: hidden;
    display: block;
    border-radius: 20px 20px 0 0;
}

.rn-post-image {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.rn-post-card:hover .rn-post-image {
    transform: scale(1.08);
}

.rn-post-content {
    padding: 28px;
}

.rn-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    background-image: linear-gradient(transparent 90%, var(--primary-light) 90%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.4s ease;
}

.rn-post-card:hover .rn-post-title a {
    background-size: 100% 100%;
    color: var(--primary);
}

/* Categories Overlays */
.rn-category-card {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.rn-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rn-category-card:hover .rn-category-image {
    transform: scale(1.1);
}

.rn-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.rn-category-card:hover .rn-category-overlay {
    opacity: 0.9;
    background: linear-gradient(to top, rgba(153,0,252,0.9) 0%, transparent 100%);
}

.rn-category-name {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Sora', sans-serif;
    z-index: 2;
    transition: transform 0.4s ease;
}

.rn-category-card:hover .rn-category-name {
    transform: translateY(-5px);
}

/* Contact Page Fixes */
.rn-contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.rn-contact-form input, .rn-contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 20px;
}

    .rn-contact-form input:focus, .rn-contact-form textarea:focus {
        background: #fff;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(153, 0, 252, 0.1);
        outline: none;
    }

.rn-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* General Layout Fixes */
.rn-page {
    padding: 100px 0;
}

.rn-section-heading {
    margin-bottom: 60px;
    text-align: center;
}

    .rn-section-heading.rn-section-heading-left {
        text-align: center;
    }

.rn-eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(153, 0, 252, 0.1);
    border-radius: 50px;
}

.rn-page-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    margin-bottom: 24px;
}

.rn-page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

/* Blog List Search Bar */
.rn-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
}

    .rn-search-form input {
        flex: 1;
        padding: 18px 24px;
        border-radius: 50px;
        border: 2px solid var(--border-light);
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .rn-search-form input:focus {
            border-color: var(--primary);
            box-shadow: 0 10px 40px rgba(153, 0, 252, 0.1);
            outline: none;
        }

    .rn-search-form button {
        position: absolute;
        right: 8px;
        top: 8px;
        bottom: 8px;
        padding: 0 28px;
        border-radius: 50px;
        background: var(--primary);
        color: #fff;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .rn-search-form button:hover {
            background: var(--primary-dark);
            transform: scale(1.05);
        }

/* Pagination Buttons */
.rn-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.rn-page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: 0;
}

    .rn-page-link:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }

    .rn-page-link.is-active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        box-shadow: 0 8px 20px rgba(153,0,252,0.3);
    }

    .rn-pagination .rn-page-link:first-child,
    .rn-pagination .rn-page-link:last-child {
        width: auto;
        padding: 0 24px;
        border-radius: 50px;
    }

/* Review Cards */
.rn-review-card {
    padding: 32px;
    text-align: left;
}

.rn-review-stars {
    color: var(--accent-gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.rn-review-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.rn-review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rn-review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* Trending Posts Slider Wrapper */
.rn-trending-slider-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

    .rn-trending-slider-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .rn-trending-slider-wrapper > * {
        flex: 0 0 calc(33.333% - 16px);
        scroll-snap-align: start;
    }

@media (max-width: 991px) {
    .rn-trending-slider-wrapper > * {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .rn-trending-slider-wrapper > * {
        flex: 0 0 90%;
    }
}

/* About Page Enhancements */
.rn-about-page .rn-split-media img {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.rn-author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.rn-author-card {
    padding: 32px;
    text-align: center;
}

    .rn-author-card img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
        border: 4px solid #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .rn-author-card h3 {
        margin-bottom: 10px;
    }

    .rn-author-card p {
        color: var(--text-secondary);
        font-size: 14px;
        margin-bottom: 20px;
    }

    .rn-author-card a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        position: relative;
    }

        .rn-author-card a::after {
            content: '\2192';
            margin-left: 6px;
            transition: margin 0.3s ease;
        }

        .rn-author-card a:hover::after {
            margin-left: 10px;
        }


/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .rn-page-title {
        font-size: 32px;
    }

    .rn-search-form {
        flex-direction: column;
    }

        .rn-search-form button {
            position: static;
            width: 100%;
            padding: 16px;
            border-radius: 12px;
        }

        .rn-search-form input {
            border-radius: 12px;
        }

    .rn-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .rn-footer-socials a {
        margin: 0 5px;
    }
}

/* Hero Carousel Styles */
.rn-hero-carousel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-blue) 100%);
    padding: 100px 0 120px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

    .rn-hero-carousel .rn-blob {
        background: rgba(255,255,255,0.05);
    }

.rn-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.rn-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    z-index: 1;
}

    .rn-carousel-slide.active {
        opacity: 1;
        visibility: visible;
        position: relative;
        z-index: 2;
    }

.rn-carousel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Left Side */
.rn-carousel-content {
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.rn-carousel-slide.active .rn-carousel-content {
    opacity: 1;
    transform: translateY(0);
}

.rn-carousel-eyebrow {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.rn-carousel-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: 'Playfair Display', 'Sora', Georgia, serif;
    color: #fff;
}

.rn-carousel-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 500px;
}

.rn-carousel-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 20px;
    max-width: 500px;
    flex-wrap: wrap;
}

.rn-carousel-meta-tag {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.rn-carousel-meta-time {
    color: rgba(255,255,255,0.7);
    margin-left: auto;
}

.rn-home-hero-actions .btn-primary {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: #fff !important;
}

    .rn-home-hero-actions .btn-primary:hover {
        background: rgba(255,255,255,0.9) !important;
        transform: translateY(-2px);
    }

.rn-home-hero-actions .btn-secondary {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
}

    .rn-home-hero-actions .btn-secondary:hover {
        background: rgba(255,255,255,0.1) !important;
        border-color: #fff !important;
        transform: translateY(-2px);
    }

/* Right Side */
.rn-carousel-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    aspect-ratio: 4/3;
    opacity: 0;
    transform: scale(0.95) translateX(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.rn-carousel-slide.active .rn-carousel-media {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.rn-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease-in-out;
}

.rn-carousel-slide.active .rn-carousel-media img {
    transform: scale(1.05);
}

/* Indicators */
.rn-carousel-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.rn-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 3s ease-in-out;
}

    .rn-carousel-dot.active {
        background: #fff;
        width: 24px;
        border-radius: 10px;
    }

@media (max-width: 991px) {
    .rn-carousel-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .rn-carousel-content {
        order: 1;
    }

    .rn-carousel-media {
        order: 2;
        max-height: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .rn-carousel-excerpt, .rn-carousel-meta {
        margin-left: auto;
        margin-right: auto;
    }

    .rn-carousel-meta-time {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .rn-home-hero-actions {
        justify-content: center;
    }

    .rn-hero-carousel {
        padding: 100px 0 80px;
    }
}

/* ====================================================
   RICHIFYNOW � 2026 PREMIUM UI UPGRADE LAYER
   ==================================================== */
