/*
 * Jannah Beautiful Enhancement CSS
 * Version: 1.0 | Enhanced by Genspark AI
 * Beautiful, modern redesign for Jannah WordPress Theme
 */

/* =============================================
   1. GOOGLE FONTS IMPORT
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* =============================================
   2. ENHANCED CSS VARIABLES (Root Overrides)
   ============================================= */
:root {
  /* === PRIMARY BRAND COLORS === */
  --brand-color: #4F46E5;
  --dark-brand-color: #4338CA;
  --bright-color: #FFFFFF;
  --base-color: #1E293B;

  /* === GRADIENT SYSTEM === */
  --brand-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(79,70,229,0.08) 0%, rgba(124,58,237,0.08) 100%);
  --hero-gradient: linear-gradient(135deg, #0F0C29 0%, #302B63 50%, #24243E 100%);
  --warm-gradient: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
  --cool-gradient: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);

  /* === BACKGROUND COLORS === */
  --bg-primary: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-dark-card: #1E293B;
  --bg-dark-surface: #334155;

  /* === TEXT COLORS === */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --text-white: #FFFFFF;

  /* === BORDER SYSTEM === */
  --border-color: rgba(226, 232, 240, 0.8);
  --border-color-dark: rgba(51, 65, 85, 0.5);
  --border-radius-sm: 6px;
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* === SHADOW SYSTEM === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.15), 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-brand: 0 4px 20px rgba(79, 70, 229, 0.35);
  --shadow-brand-lg: 0 8px 32px rgba(79, 70, 229, 0.4);

  /* === SPACING === */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* === TRANSITIONS === */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* === TYPOGRAPHY === */
  --font-sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   3. BASE / BODY ENHANCEMENTS
   ============================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans) !important;
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* =============================================
   4. BEAUTIFUL TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(28px, 4vw, 46px) !important; }
h2 { font-size: clamp(22px, 3vw, 34px) !important; }
h3 { font-size: clamp(18px, 2.5vw, 26px) !important; }
h4 { font-size: 18px !important; }
h5 { font-size: 15px !important; }
h6 { font-size: 13px !important; }

/* Post Titles get special treatment */
.post-title,
.entry-title,
.tie-widget-title,
h2.entry-title,
h3.entry-title {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em;
}

p {
  line-height: 1.75;
  color: var(--text-secondary);
}

/* =============================================
   5. BEAUTIFUL LINKS
   ============================================= */
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover, .brand-title {
  color: var(--brand-color) !important;
}

/* =============================================
   6. BEAUTIFUL HEADER
   ============================================= */
#main-nav,
.main-nav,
header#main-nav {
  background: var(--bg-white) !important;
  box-shadow: 0 1px 0 var(--border-color), var(--shadow-sm) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky !important;
  top: 0;
  z-index: 999;
}

#main-nav .logo,
.main-nav .logo {
  padding: 14px 0;
}

/* Nav Links */
#main-nav .nav > li > a,
.main-nav .nav > li > a {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.01em;
  color: var(--text-primary) !important;
  transition: color var(--transition-fast) !important;
  padding: 8px 14px !important;
  border-radius: var(--border-radius-sm);
}

#main-nav .nav > li > a:hover,
.main-nav .nav > li > a:hover {
  color: var(--brand-color) !important;
  background: var(--brand-gradient-soft);
}

#main-nav .nav > li.current-menu-item > a,
#main-nav .nav > li.current_page_item > a {
  color: var(--brand-color) !important;
}

/* Dropdown Menus */
.main-nav .sub-menu,
#main-nav .sub-menu {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-xl) !important;
  padding: 8px !important;
  min-width: 220px;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-nav .sub-menu li a,
#main-nav .sub-menu li a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 9px 14px !important;
  border-radius: var(--border-radius-sm) !important;
  color: var(--text-secondary) !important;
  transition: all var(--transition-fast) !important;
}

.main-nav .sub-menu li a:hover,
#main-nav .sub-menu li a:hover {
  color: var(--brand-color) !important;
  background: var(--brand-gradient-soft) !important;
  padding-left: 18px !important;
}

/* =============================================
   7. BEAUTIFUL TOP BAR
   ============================================= */
#tie-top-bar,
.tie-top-bar,
.top-bar {
  background: var(--bg-dark) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

#tie-top-bar a,
.tie-top-bar a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 12px;
  font-weight: 500;
}

#tie-top-bar a:hover,
.tie-top-bar a:hover {
  color: #fff !important;
}

/* =============================================
   8. BEAUTIFUL POST CARDS
   ============================================= */
.post-block,
.post,
article.post,
.block-inner,
.mag-box,
.tie-posts-grid article,
.tie-posts-list article {
  background: var(--bg-card) !important;
  border-radius: var(--border-radius-lg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  transition: all var(--transition) !important;
}

.post-block:hover,
.tie-posts-grid article:hover,
.tie-posts-list article:hover,
.mag-box:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.2) !important;
}

/* Post Thumbnails */
.post-thumbnail,
.mag-box-thumbnail,
.block-thumbnail {
  overflow: hidden !important;
  border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.post-thumbnail img,
.mag-box-thumbnail img,
.block-thumbnail img {
  transition: transform var(--transition-slow) !important;
}

.post-block:hover .post-thumbnail img,
.mag-box:hover .mag-box-thumbnail img {
  transform: scale(1.05);
}

/* Post Content Area */
.post-content,
.post-body,
.mag-box-body {
  padding: 20px 22px !important;
}

/* =============================================
   9. BEAUTIFUL CATEGORY LABELS
   ============================================= */
.tie-label,
.post-cat,
.cat-label,
.category-label,
a.tie-label,
span.tie-label {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: var(--border-radius-full) !important;
  display: inline-block !important;
  box-shadow: var(--shadow-brand) !important;
}

/* =============================================
   10. BEAUTIFUL BUTTONS
   ============================================= */
.button,
[type="submit"],
input[type="submit"],
button[type="submit"],
.btn,
.generic-button a,
.generic-button button {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--border-radius) !important;
  padding: 12px 28px !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  cursor: pointer !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-brand) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.button:before,
[type="submit"]:before,
input[type="submit"]:before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.button:hover:before,
[type="submit"]:hover:before {
  left: 100%;
}

.button:hover,
[type="submit"]:hover,
input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-brand-lg) !important;
  opacity: 0.95;
  color: #fff !important;
}

.button:active,
[type="submit"]:active {
  transform: translateY(0) !important;
}

/* =============================================
   11. BEAUTIFUL SIDEBAR
   ============================================= */
#sidebar,
.sidebar,
.tie-sidebar {
  background: transparent !important;
}

/* Sidebar Widgets */
.widget,
.sidebar .widget {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  overflow: hidden;
}

/* Widget Titles */
.widget-title,
.tie-widget-title,
h3.widget-title {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-primary) !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  position: relative;
}

.widget-title::after,
.tie-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--brand-gradient);
  border-radius: var(--border-radius-full);
}

/* =============================================
   12. BEAUTIFUL FOOTER
   ============================================= */
#main-footer,
.main-footer,
footer#main-footer {
  background: var(--bg-dark) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.75) !important;
}

.footer-widget-area {
  padding: 64px 0 48px !important;
}

.main-footer .widget-title,
.main-footer .tie-widget-title {
  color: #fff !important;
}

.main-footer .widget-title::after,
.main-footer .tie-widget-title::after {
  background: var(--brand-gradient);
}

#footer-bottom,
.footer-bottom {
  background: rgba(0,0,0,0.3) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: 20px 0 !important;
}

.footer-bottom a,
#footer-bottom a {
  color: rgba(255,255,255,0.6) !important;
  transition: color var(--transition-fast) !important;
}

.footer-bottom a:hover,
#footer-bottom a:hover {
  color: #fff !important;
}

/* =============================================
   13. BEAUTIFUL BREADCRUMB
   ============================================= */
#breadcrumb,
.breadcrumb,
.tie-breadcrumb {
  background: var(--bg-muted) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 12px 0 !important;
}

.tie-breadcrumb a,
#breadcrumb a {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--brand-color) !important;
}

.tie-breadcrumb span,
#breadcrumb span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =============================================
   14. BEAUTIFUL FORMS & INPUTS
   ============================================= */
textarea,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"],
select {
  background: var(--bg-white) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  padding: 11px 16px !important;
  transition: all var(--transition-fast) !important;
  box-shadow: var(--shadow-xs) !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus {
  border-color: var(--brand-color) !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
  background: var(--bg-white) !important;
  outline: none !important;
}

/* Search Form */
.search-form,
.main-nav .search-form {
  background: var(--bg-muted) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--border-radius-full) !important;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.search-form:focus-within {
  border-color: var(--brand-color) !important;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.1) !important;
  background: var(--bg-white) !important;
}

/* =============================================
   15. BEAUTIFUL PAGINATION
   ============================================= */
.pagination,
.tie-pagination,
.page-numbers {
  display: flex !important;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0 !important;
}

.page-numbers li a,
.page-numbers li span,
.pagination a,
.pagination span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px !important;
  border-radius: var(--border-radius) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-secondary) !important;
  background: var(--bg-white) !important;
  border: 1.5px solid var(--border-color) !important;
  transition: all var(--transition-fast) !important;
}

.page-numbers li a:hover,
.pagination a:hover {
  color: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
  background: var(--brand-gradient-soft) !important;
}

.page-numbers li .current,
.page-numbers .current {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border-color: var(--brand-color) !important;
  box-shadow: var(--shadow-brand) !important;
}

/* =============================================
   16. BEAUTIFUL SINGLE POST
   ============================================= */
.single-post .entry-content,
.single .entry-content {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--text-secondary) !important;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  color: var(--text-primary) !important;
  margin: 36px 0 16px !important;
}

.single-post .entry-content p {
  margin-bottom: 22px;
}

.single-post .entry-content blockquote {
  border-left: 4px solid var(--brand-color) !important;
  background: var(--brand-gradient-soft) !important;
  padding: 24px 28px !important;
  border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
  margin: 32px 0 !important;
}

.single-post .entry-content blockquote p {
  color: var(--text-primary) !important;
  font-size: 17px !important;
  font-style: italic;
  margin: 0 !important;
}

/* Post Meta */
.post-meta,
.tie-post-meta,
.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
}

.post-meta a,
.tie-post-meta a,
.entry-meta a {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.post-meta a:hover,
.tie-post-meta a:hover {
  color: var(--brand-color) !important;
}

/* =============================================
   17. BEAUTIFUL BREAKING NEWS TICKER
   ============================================= */
#breaking-news,
.breaking-news {
  background: var(--bg-dark) !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.breaking-news-label {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  padding: 10px 20px !important;
}

/* =============================================
   18. BEAUTIFUL SOCIAL SHARE BUTTONS
   ============================================= */
.post-share,
.tie-share,
.social-share {
  margin: 32px 0 !important;
}

.post-share a,
.tie-share a,
.social-share a {
  border-radius: var(--border-radius) !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  padding: 9px 18px !important;
  transition: all var(--transition) !important;
}

.post-share a:hover,
.tie-share a:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* =============================================
   19. BEAUTIFUL AUTHOR BOX
   ============================================= */
.about-author,
.author-box,
.tie-author-box {
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-white) 100%) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius-xl) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 32px !important;
  margin: 40px 0 !important;
}

.author-box .avatar,
.about-author .author-image img {
  border-radius: var(--border-radius-full) !important;
  border: 3px solid var(--brand-color) !important;
  box-shadow: var(--shadow-brand) !important;
}

/* =============================================
   20. BEAUTIFUL COMMENTS
   ============================================= */
#comments,
.comments-area {
  margin-top: 48px;
}

.comment-body {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--shadow-xs) !important;
  transition: box-shadow var(--transition) !important;
}

.comment-body:hover {
  box-shadow: var(--shadow-sm) !important;
}

.comment-author .fn a {
  font-weight: 700 !important;
  color: var(--text-primary) !important;
}

.comment-author img {
  border-radius: var(--border-radius-full) !important;
  border: 2px solid var(--border-color) !important;
}

.reply a {
  color: var(--brand-color) !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
}

/* =============================================
   21. BEAUTIFUL TAGS
   ============================================= */
.post-tags a,
.tags a,
.tie-tags a {
  background: var(--bg-muted) !important;
  color: var(--text-secondary) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--border-radius-full) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 14px !important;
  display: inline-block !important;
  transition: all var(--transition-fast) !important;
  margin: 3px !important;
  letter-spacing: 0.01em;
}

.post-tags a:hover,
.tags a:hover,
.tie-tags a:hover {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border-color: var(--brand-color) !important;
  box-shadow: var(--shadow-brand) !important;
  transform: translateY(-1px);
}

/* =============================================
   22. BEAUTIFUL RELATED POSTS
   ============================================= */
.related-posts,
.tie-related-posts {
  margin: 48px 0 !important;
}

.related-posts-title,
.tie-related-posts-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid var(--border-color) !important;
  position: relative;
}

/* =============================================
   23. BEAUTIFUL IMAGE OVERLAYS
   ============================================= */
.overlay,
.post-overlay,
.dark-overlay {
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.2) 60%, transparent 100%) !important;
}

/* =============================================
   24. BEAUTIFUL LOADING / PROGRESS
   ============================================= */
.tie-loading,
.loading-bar {
  background: var(--brand-gradient) !important;
}

/* =============================================
   25. BEAUTIFUL NOTIFICATIONS/ALERTS
   ============================================= */
.tie-alert,
.alert,
.notice {
  border-radius: var(--border-radius) !important;
  border: none !important;
  padding: 16px 20px !important;
  font-weight: 500 !important;
}

.tie-alert-success,
.notice-success {
  background: rgba(137, 186, 22, 0.1) !important;
  border-left: 4px solid #89ba16 !important;
  color: #4a6d0a !important;
}

.tie-alert-danger,
.notice-error {
  background: rgba(231, 76, 60, 0.1) !important;
  border-left: 4px solid #e74c3c !important;
  color: #8b2614 !important;
}

.tie-alert-info,
.notice-info {
  background: rgba(52, 152, 219, 0.1) !important;
  border-left: 4px solid #3498db !important;
  color: #1a5276 !important;
}

/* =============================================
   26. BEAUTIFUL SCROLL TO TOP
   ============================================= */
#back-top,
.tie-back-to-top,
#scroll-to-top {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-brand) !important;
  width: 42px !important;
  height: 42px !important;
  transition: all var(--transition) !important;
}

#back-top:hover,
.tie-back-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-brand-lg) !important;
}

/* =============================================
   27. BEAUTIFUL STICKY POSTS
   ============================================= */
.sticky-post-badge,
.sticky-badge {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border-radius: var(--border-radius-full) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
}

/* =============================================
   28. BEAUTIFUL DARK MODE ENHANCEMENTS
   ============================================= */
body.dark-mode,
body.tie-dark {
  background-color: var(--bg-dark) !important;
  color: rgba(255,255,255,0.9) !important;
}

body.dark-mode .widget,
body.tie-dark .widget {
  background: var(--bg-dark-card) !important;
  border-color: var(--border-color-dark) !important;
}

body.dark-mode .post-block,
body.tie-dark article.post {
  background: var(--bg-dark-card) !important;
  border-color: var(--border-color-dark) !important;
}

body.dark-mode #main-nav,
body.tie-dark #main-nav {
  background: var(--bg-dark-card) !important;
  border-bottom-color: var(--border-color-dark) !important;
}

/* =============================================
   29. BEAUTIFUL FEATURED SLIDER
   ============================================= */
.featured-area,
.tie-slider,
.tie-featured {
  border-radius: var(--border-radius-xl) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-xl) !important;
}

/* =============================================
   30. BEAUTIFUL MAGAZINE LAYOUTS
   ============================================= */
.magazine-layout,
.blocks-wrapper {
  gap: 20px !important;
}

/* Block title areas */
.block-title,
.section-title,
.tie-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 2px solid var(--border-color) !important;
}

.block-title h3,
.section-title h3,
.tie-block-title h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text-primary) !important;
}

.block-title::before,
.tie-block-title h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--brand-gradient);
  border-radius: var(--border-radius-full);
  flex-shrink: 0;
}

/* =============================================
   31. UTILITY CLASSES (BONUS)
   ============================================= */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255,255,255,0.7) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5) !important;
}

.card-hover {
  transition: all var(--transition) !important;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl) !important;
}

/* =============================================
   32. RESPONSIVE ENHANCEMENTS
   ============================================= */
@media (max-width: 992px) {
  .widget {
    padding: 18px !important;
  }
  
  .post-content,
  .post-body {
    padding: 16px 18px !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 13.5px !important;
  }
  
  .about-author,
  .author-box {
    padding: 20px !important;
  }
  
  .footer-widget-area {
    padding: 40px 0 32px !important;
  }

  .main-nav .sub-menu {
    border-radius: var(--border-radius) !important;
  }
}

@media (max-width: 480px) {
  .post-block,
  article.post {
    border-radius: var(--border-radius) !important;
  }
}

/* =============================================
   33. PRINT STYLES ENHANCEMENT
   ============================================= */
@media print {
  #main-nav,
  #tie-top-bar,
  .post-share,
  #comments,
  #sidebar {
    display: none !important;
  }
  
  body {
    font-size: 12pt !important;
    color: #000 !important;
  }
}

/* =============================================
   34. FOCUS ACCESSIBILITY IMPROVEMENTS
   ============================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-color) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* =============================================
   35. SMOOTH ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* Skeleton loading effect */
.skeleton {
  background: linear-gradient(90deg, var(--bg-muted) 25%, var(--bg-white) 50%, var(--bg-muted) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius);
}
