/* ====== 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: 'Lora', 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: 70px;
    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: 'Lora', 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;
}

/* 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;
    gap: 6px;
    margin-left: auto;
}

.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-nav .rn-nav-cta {
    margin-left: 8px;
    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;
}

/* Footer */
.rn-footer {
    margin-top: 52px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
}

.rn-footer-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--rn-primary), var(--rn-accent));
}

.rn-footer-grid {
    padding: 56px 20px 34px;
    display: grid;
    grid-template-columns: minmax(230px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(250px, 1.25fr);
    gap: 30px;
}

.rn-footer-grid-no-newsletter {
    grid-template-columns: minmax(260px, 1.8fr) minmax(190px, 1fr) minmax(190px, 1fr);
}

.rn-footer-brand-link {
    display: inline-block;
    margin-bottom: 16px;
}

.rn-footer-logo {
    height: 52px;
    width: auto;
}

.rn-footer-brand p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.rn-footer-contact {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rn-footer-contact a,
.rn-footer-contact span {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
}

.rn-footer-contact a:hover {
    color: var(--primary);
}

.rn-footer-links-block h4,
.rn-footer-newsletter h4 {
    margin: 0 0 14px;
    color: var(--text-primary);
    font-size: 17px;
}

.rn-footer-links-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rn-footer-links-block li {
    margin: 0 0 10px;
}

.rn-footer-links-block a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rn-footer-links-block a:hover {
    color: var(--primary);
}

.rn-footer-newsletter {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.rn-footer-newsletter p {
    margin: 0 0 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.rn-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rn-newsletter-form input {
    border: 1px solid var(--border-medium);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.rn-newsletter-form input::placeholder {
    color: var(--text-tertiary);
}

.rn-newsletter-form button {
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(120deg, var(--rn-primary), var(--primary-light));
    cursor: pointer;
}

.rn-footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 18px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.rn-footer-bottom p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.rn-footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rn-footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    padding: 7px 12px;
    transition: all 0.2s ease;
}

.rn-footer-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-tertiary);
}

/* 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;
}

.rn-section-heading-left {
    text-align: left;
}

.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: 'Sora', 'Inter', sans-serif;
    font-size: clamp(31px, 4.4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.rn-page-subtitle {
    margin: 14px 0 0;
    max-width: 760px;
    color: var(--rn-muted);
    font-size: clamp(16px, 2.1vw, 20px);
    line-height: 1.7;
}

.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 .rn-nav-cta {
        margin: 4px 0 0;
        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;
}

.rn-footer {
    margin-top: 36px;
}

.rn-footer-grid {
    gap: 34px;
}

.rn-footer-links-block a,
.rn-footer-contact a,
.rn-footer-contact span,
.rn-footer-brand p {
    color: var(--text-secondary);
}

.rn-footer-links-block a:hover,
.rn-footer-contact a:hover,
.rn-footer-socials a:hover {
    color: var(--primary);
}

@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;
    }
}
