/* ============================================================
   RYN DYNAMIC FEATURES - CSS
   Features: Ticker, Cursor, Flip Cards, ROI Calc, Scroll Reveal
   ============================================================ */
/* -- CUSTOM CURSOR OVERLAY -- */
body:not(.wp-admin) { cursor: none !important; }
body:not(.wp-admin) a, body:not(.wp-admin) button, body:not(.wp-admin) [role="button"],
body:not(.wp-admin) input, body:not(.wp-admin) textarea, body:not(.wp-admin) select { cursor: none !important; }
#ryn-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: #e85d26;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease, opacity 0.2s ease;
  opacity: 0;
  mix-blend-mode: normal;
}
#ryn-cursor.ryn-cursor--visible {
  opacity: 1;
}
#ryn-cursor.ryn-cursor--cta {
  width: 48px;
  height: 48px;
  background: rgba(232, 93, 38, 0.7);
}
/* END CUSTOM CURSOR OVERLAY */


/* -- TICKER -- */
#ryn-ticker {
  position: relative;
  z-index: 99998;
  background: #060f1e;
  border-top: 1px solid rgba(78,204,163,0.15);
  border-bottom: 1px solid rgba(78,204,163,0.15);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  width: 100%;
}
#ryn-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ryn-ticker 32s linear infinite;
  gap: 0;
}
#ryn-ticker-track:hover { animation-play-state: paused; }
.ryn-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
  font-size: 12px;
  color: #8892a4;
  letter-spacing: 0.03em;
}
.ryn-ticker-item strong {
  color: #4eccaa;
  margin-right: 4px;
}
@keyframes ryn-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -- SCROLL REVEAL - simple fade-in, no hidden by default -- */
.ryn-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ryn-reveal.ryn-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- FLIP CARDS SECTION -- */
#ryn-flip-section {
  background: #0a1628;
  padding: 72px 40px;
  width: 100%;
  box-sizing: border-box;
}
#ryn-flip-title {
  text-align: center;
  margin-bottom: 48px;
}
#ryn-flip-title p:first-child {
  color: #4eccaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
#ryn-flip-title h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.2;
}
.ryn-flip-sub {
  color: #8892a4;
  font-size: 14px;
  margin: 0;
}
#ryn-flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #ryn-flip-grid { grid-template-columns: 1fr; }
  #ryn-flip-section { padding: 48px 20px; }
}
.ryn-flip-card {
  perspective: 1000px;
  height: 240px;
  cursor: pointer;
}
.ryn-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0.2,0.2,1);
}
.ryn-flip-card:hover .ryn-flip-inner,
.ryn-flip-card.flipped .ryn-flip-inner {
  transform: rotateY(180deg);
}
.ryn-flip-front,
.ryn-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ryn-flip-front {
  background: #0f1e35;
  border: 1px solid rgba(78,204,163,0.2);
  justify-content: flex-start;
}
.ryn-flip-back {
  background: #1a3a5c;
  border: 1px solid rgba(78,204,163,0.4);
  transform: rotateY(180deg);
  justify-content: flex-start;
}
.ryn-flip-badge {
  display: inline-block;
  background: rgba(78,204,163,0.15);
  color: #4eccaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(78,204,163,0.3);
  width: fit-content;
}
.ryn-flip-badge--back {
  background: rgba(232,93,38,0.15);
  color: #e85d26;
  border-color: rgba(232,93,38,0.3);
}
.ryn-flip-front h3,
.ryn-flip-back h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.ryn-flip-label {
  color: #8892a4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.ryn-flip-label--back { color: #e85d26; }
.ryn-flip-front p:not(.ryn-flip-label),
.ryn-flip-back p:not(.ryn-flip-label) {
  color: #c8d0dc;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.ryn-flip-hint {
  font-size: 11px;
  color: #4eccaa;
  opacity: 0.6;
  margin-top: auto;
}

/* -- ROI CALCULATOR -- */
#ryn-roi-calc {
  background: #060f1e;
  padding: 72px 40px;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(78,204,163,0.1);
}
#ryn-roi-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
#ryn-roi-eyebrow {
  color: #4eccaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
#ryn-roi-inner h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
}
#ryn-roi-sub {
  color: #8892a4;
  font-size: 14px;
  margin: 0 0 36px;
}
.ryn-roi-slider-wrap {
  margin-bottom: 24px;
  text-align: left;
}
.ryn-roi-slider-wrap label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c8d0dc;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.ryn-roi-slider-wrap label span {
  color: #4eccaa;
  font-weight: 700;
}
.ryn-roi-slider-wrap input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(78,204,163,0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ryn-roi-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4eccaa;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(78,204,163,0.2);
}
#ryn-roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 28px;
}
@media (max-width: 600px) {
  #ryn-roi-results { grid-template-columns: 1fr; }
  #ryn-roi-calc { padding: 48px 20px; }
}
.ryn-roi-card {
  background: #0f1e35;
  border: 1px solid rgba(78,204,163,0.2);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ryn-roi-num {
  color: #4eccaa;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.ryn-roi-lbl {
  color: #8892a4;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}
.ryn-roi-cta {
  display: inline-block;
  background: #e85d26;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  margin-top: 8px;
}
.ryn-roi-cta:hover { background: #cf4e1f; }

/* Hide theme "All rights reserved" footer bar */
#site-footer {
  display: none !important;
}


/* ============================================================
   RYN BLOG ARCHIVE — Dark branded styling
   ============================================================ */

/* Blog archive page wrapper */
body.blog .site-main,
body.blog main,
body.blog #primary {
  background: #0a0f1a;
  padding: 0 !important;
}

/* Remove default WP blog header */
body.blog .page-header { display: none; }

/* Blog archive hero banner */
body.blog .site-main::before {
  content: '';
  display: block;
  background: linear-gradient(135deg, #0a0f1a 0%, #111c2e 100%);
  padding: 80px 40px 40px;
}

/* Blog posts container */
body.blog .site-content,
body.blog #content {
  background: #0a0f1a;
  max-width: 100%;
}

/* Each post article on blog archive */
body.blog article.post,
body.blog article.type-post {
  background: #111c2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin: 0 0 24px 0;
  padding: 32px 36px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

body.blog article.post:hover,
body.blog article.type-post:hover {
  border-color: #ff5e14;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,94,20,0.12);
}

/* Post title */
body.blog .entry-title,
body.blog article .entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  margin-top: 0;
}

body.blog .entry-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.blog .entry-title a:hover {
  color: #ff5e14;
}

/* Post meta (date, category) */
body.blog .entry-meta,
body.blog .posted-on,
body.blog .post-categories,
body.blog .cat-links,
body.blog .entry-footer {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

body.blog .entry-meta a,
body.blog .cat-links a {
  color: #ff5e14;
  text-decoration: none;
  font-weight: 500;
}

/* Post excerpt */
body.blog .entry-summary p,
body.blog .entry-content p:first-child {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Read More link */
body.blog .more-link,
body.blog a.more-link {
  display: inline-block;
  color: #ff5e14;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 8px;
  padding: 8px 20px;
  border: 1px solid #ff5e14;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

body.blog .more-link:hover {
  background: #ff5e14;
  color: #fff;
}

/* Blog page header — inject a styled hero */
body.blog #primary::before {
  content: 'Google Ads Insights & Guides';
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  padding: 80px 40px 16px;
  background: #0a0f1a;
  letter-spacing: -0.03em;
}

body.blog #primary::after {
  content: 'Strategies, guides, and real-world results for contractors, law firms, healthcare providers, and more.';
  display: block;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 0 40px 48px;
  background: #0a0f1a;
  max-width: 600px;
  margin: 0 auto;
}

/* Posts navigation */
body.blog .navigation.pagination,
body.blog .posts-navigation {
  padding: 32px 0;
  text-align: center;
}

body.blog .nav-links a,
body.blog .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  background: #111c2e;
  color: #ff5e14;
  border: 1px solid rgba(255,94,20,0.3);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
/* Blog hero title color override */
.ryn-blog-hero h2,
.ryn-blog-hero h2 * {
  color: #ffffff !important;
  opacity: 1 !important;
}
.ryn-blog-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f2d 50%, #0a0a0a 100%) !important;
}


body.blog .nav-links a:hover,
body.blog .page-numbers.current {
  background: #ff5e14;
  color: #fff;
  border-color: #ff5e14;
}

/* Single post page styling */
body.single-post .site-main,
body.single-post main,
body.single-post #primary {
  background: #0a0f1a;
}

body.single-post article.post,
body.single-post article.type-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  color: rgba(255,255,255,0.85);
}

body.single-post .entry-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

body.single-post .entry-meta {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.single-post .entry-meta a { color: #ff5e14; text-decoration: none; }

body.single-post .entry-content h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}

body.single-post .entry-content h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
}

body.single-post .entry-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

body.single-post .entry-content a {
  color: #ff5e14;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,94,20,0.4);
  transition: border-color 0.2s ease;
}

body.single-post .entry-content a:hover {
  border-color: #ff5e14;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol {
  color: rgba(255,255,255,0.8);
  padding-left: 24px;
  margin-bottom: 20px;
}

body.single-post .entry-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

body.single-post .entry-content strong {
  color: #fff;
  font-weight: 600;
}

/* Single post back navigation */
body.single-post .post-navigation {
  padding: 40px 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.single-post .nav-previous a,
body.single-post .nav-next a {
  color: #ff5e14;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Remove Hello Elementor theme's default site-main padding on blog */
body.blog .site-main,
body.single-post .site-main {
  max-width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  body.blog article.post,
  body.blog article.type-post {
    padding: 24px 20px;
    margin: 0 16px 20px;
  }
  body.blog #primary::before {
    font-size: 1.8rem;
    padding: 60px 20px 12px;
  }
  body.blog #primary::after {
    padding: 0 20px 36px;
    font-size: 1rem;
  }
  body.single-post article.post {
    padding: 60px 20px;
  }
  body.single-post .entry-title {
    font-size: 1.6rem;
  }
}


/* ============================================================
   RYN BLOG — High-specificity fixes (Hello Elementor theme)
   ============================================================ */

/* Force dark backgrounds on blog pages */
body.blog #content.site-main { background: #0a0f1a !important; }
body.blog #content.site-main .post { background: #111c2e !important; }

/* Force white text for all content on blog */
body.blog #content.site-main .entry-title,
body.blog #content.site-main h2.entry-title,
body.blog #content.site-main .entry-title a { 
  color: #ffffff !important; 
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  display: block !important;
}
body.blog #content.site-main .entry-title a:hover { color: #ff5e14 !important; }

body.blog #content.site-main p,
body.blog #content.site-main .entry-summary p,
body.blog #content.site-main .entry-content p {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.975rem !important;
  line-height: 1.7 !important;
}

/* Read More link */
body.blog #content.site-main a.more-link {
  color: #ff5e14 !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 12px !important;
  padding: 7px 18px !important;
  border: 1px solid #ff5e14 !important;
  border-radius: 6px !important;
}
body.blog #content.site-main a.more-link:hover {
  background: #ff5e14 !important;
  color: #fff !important;
}

/* Post meta date/category */
body.blog #content.site-main .entry-meta,
body.blog #content.site-main .entry-footer {
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.8rem !important;
}
body.blog #content.site-main .entry-meta a { color: #ff5e14 !important; }

/* Fix overall page background */
body.blog { background: #0a0f1a !important; }
body.blog .site { background: #0a0f1a !important; }
body.blog .site-content { background: #0a0f1a !important; }
body.blog .site-content-inner { background: #0a0f1a !important; }

/* Single post high specificity */
body.single-post #content.site-main { background: #0a0f1a !important; }
body.single-post #content.site-main article { background: transparent !important; }
body.single-post #content.site-main h1.entry-title { color: #fff !important; }
body.single-post #content.site-main .entry-content p { color: rgba(255,255,255,0.82) !important; }
body.single-post #content.site-main .entry-content h2 { color: #fff !important; }
body.single-post #content.site-main .entry-content h3 { color: #fff !important; }
body.single-post #content.site-main .entry-content a { color: #ff5e14 !important; }
body.single-post #content.site-main .entry-meta { color: rgba(255,255,255,0.45) !important; }
body.single-post #content.site-main .entry-meta a { color: #ff5e14 !important; }
body.single-post { background: #0a0f1a !important; }
body.single-post .site { background: #0a0f1a !important; }
body.single-post .site-content { background: #0a0f1a !important; }


/* ============================================================
   RYN AUTHORITY PAGES - CSS
   Audit Tool, Case Studies, ROI Calculator, Glossary, Benchmarks
   Results Counter, Schema, Google Partner Badge
   ============================================================ */

/* --- Shared Page Wrap & Hero Styles --- */
.ryn-page-wrap { background: #0a1628; min-height: 100vh; color: #fff; font-family: 'Inter', sans-serif; }
.ryn-audit-badge { display: inline-block; background: #ff5e14; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 4px 12px; border-radius: 3px; margin-bottom: 16px; text-transform: uppercase; }
.ryn-section-title { font-size: clamp(28px,4vw,44px); font-weight: 800; color: #fff; text-align: center; margin-bottom: 12px; }
.ryn-section-sub { font-size: 17px; color: rgba(255,255,255,0.65); text-align: center; max-width: 600px; margin: 0 auto 48px; }
.ryn-section-header { text-align: center; margin-bottom: 40px; }
.ryn-cta-btn { display: inline-block; background: #ff5e14; color: #fff !important; font-weight: 700; font-size: 17px; padding: 16px 36px; border-radius: 6px; text-decoration: none; transition: all 0.25s ease; border: 2px solid #ff5e14; }
.ryn-cta-btn:hover { background: transparent; color: #ff5e14 !important; transform: translateY(-2px); }

/* --- Free Audit Tool --- */
.ryn-audit-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 6%; align-items: start; max-width: 1200px; margin: 0 auto; }
@media(max-width:768px){ .ryn-audit-hero { grid-template-columns: 1fr; padding: 40px 5%; } }
.ryn-audit-title { font-size: clamp(32px,4.5vw,52px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.ryn-audit-sub { font-size: 18px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 32px; }
.ryn-audit-bullets { display: flex; flex-direction: column; gap: 12px; }
.ryn-audit-bullet { display: flex; align-items: center; gap: 10px; font-size: 16px; color: rgba(255,255,255,0.85); }
.ryn-bullet-icon { color: #ff5e14; font-weight: 700; font-size: 18px; }
.ryn-audit-form-wrap { background: #0d1b2a; border: 1px solid rgba(255,94,20,0.3); border-radius: 16px; padding: 36px; }
.ryn-audit-form-header { text-align: center; margin-bottom: 28px; }
.ryn-audit-grade-preview { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ryn-grade-circle { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #ff5e14; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: #ff5e14; background: rgba(255,94,20,0.1); }
.ryn-grade-label { font-size: 13px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.ryn-audit-form { display: flex; flex-direction: column; gap: 18px; }
.ryn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:480px){ .ryn-form-row { grid-template-columns: 1fr; } }
.ryn-form-group { display: flex; flex-direction: column; gap: 6px; }
.ryn-form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }
.ryn-form-group input, .ryn-form-group select { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 12px 16px; color: #fff; font-size: 15px; transition: border-color 0.2s; outline: none; width: 100%; box-sizing: border-box; }
.ryn-form-group input::placeholder { color: rgba(255,255,255,0.35); }
.ryn-form-group input:focus, .ryn-form-group select:focus { border-color: #ff5e14; background: rgba(255,94,20,0.05); }
.ryn-form-group select option { background: #0d1b2a; color: #fff; }
.ryn-audit-submit { background: #ff5e14; color: #fff; border: none; padding: 16px 32px; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer; width: 100%; transition: all 0.25s ease; margin-top: 8px; }
.ryn-audit-submit:hover { background: #e05510; transform: translateY(-1px); }
.ryn-audit-result { text-align: center; padding: 24px 0; }
.ryn-result-grade-wrap { margin-bottom: 24px; }
.ryn-result-grade { font-size: 72px; font-weight: 900; color: #ff5e14; line-height: 1; }
.ryn-result-grade-label { font-size: 16px; color: rgba(255,255,255,0.92); margin-top: 8px; }
.ryn-result-findings { background: rgba(255,94,20,0.08); border: 1px solid rgba(255,94,20,0.2); border-radius: 10px; padding: 20px; margin-bottom: 24px; text-align: left; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.8); }
.ryn-result-cta p { color: rgba(255,255,255,0.7); margin-bottom: 16px; font-size: 15px; }
.ryn-result-btn { display: inline-block; background: #ff5e14; color: #fff !important; font-weight: 700; padding: 14px 28px; border-radius: 6px; text-decoration: none; font-size: 16px; }
.ryn-audit-proof { padding: 80px 6%; max-width: 1200px; margin: 0 auto; }
.ryn-audit-criteria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 48px; }
.ryn-criteria-card { background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.ryn-criteria-card:hover { border-color: rgba(255,94,20,0.4); transform: translateY(-4px); }
.ryn-criteria-icon { font-size: 32px; margin-bottom: 14px; }
.ryn-criteria-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ryn-criteria-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* --- Case Studies --- */
.ryn-cs-hero { padding: 80px 6% 60px; text-align: center; max-width: 1200px; margin: 0 auto; }
.ryn-cs-title { font-size: clamp(36px,5vw,60px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.ryn-cs-sub { font-size: 19px; color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto 48px; }
.ryn-cs-stats-bar { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; background: #0d1b2a; border: 1px solid rgba(255,94,20,0.2); border-radius: 16px; padding: 36px 48px; }
.ryn-cs-stat { text-align: center; }
.ryn-cs-stat-num { font-size: 52px; font-weight: 900; color: #ff5e14; line-height: 1; }
.ryn-cs-stat-suffix { font-size: 32px; font-weight: 900; color: #ff5e14; }
.ryn-cs-stat-label { display: block; font-size: 14px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.ryn-cs-grid-section { padding: 60px 6%; max-width: 1300px; margin: 0 auto; }
.ryn-cs-filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.ryn-cs-filter { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 100px; padding: 8px 20px; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.ryn-cs-filter.active, .ryn-cs-filter:hover { background: #ff5e14; border-color: #ff5e14; color: #fff; }
.ryn-cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); gap: 28px; }
.ryn-cs-card { background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; transition: transform 0.25s, border-color 0.25s; }
.ryn-cs-card:hover { transform: translateY(-6px); border-color: rgba(255,94,20,0.4); }
.ryn-cs-card[style*="display: none"] { display: none !important; }
.ryn-cs-card-tag { padding: 8px 16px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hvac-tag { background: rgba(255,94,20,0.2); color: #ff5e14; }
.legal-tag { background: rgba(100,149,237,0.2); color: #6495ed; }
.health-tag { background: rgba(50,205,50,0.15); color: #50c878; }
.pet-tag { background: rgba(255,165,0,0.15); color: #ffa500; }
.fin-tag { background: rgba(147,112,219,0.2); color: #9370db; }
.ryn-cs-before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; padding: 24px; align-items: center; }
.ryn-cs-before, .ryn-cs-after { display: flex; flex-direction: column; gap: 12px; }
.ryn-ba-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.after-label { color: #ff5e14; }
.ryn-ba-metric { display: flex; flex-direction: column; }
.ryn-ba-num { font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.5); }
.after-metric .ryn-ba-num { color: #ff5e14; }
.ryn-ba-desc { font-size: 11px; color: rgba(255,255,255,0.4); }
.ryn-cs-arrow { font-size: 24px; color: #ff5e14; padding: 0 12px; }
.ryn-cs-card-footer { padding: 20px 24px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.ryn-cs-card-footer h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ryn-cs-card-footer p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 14px; }
.ryn-cs-result-badge { display: inline-block; background: rgba(255,94,20,0.15); border: 1px solid rgba(255,94,20,0.3); color: #ff5e14; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 100px; }
.ryn-cs-cta-section { text-align: center; padding: 80px 6%; background: #0d1b2a; border-top: 1px solid rgba(255,255,255,0.06); }
.ryn-cs-cta-section h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.ryn-cs-cta-section p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* --- ROI Calculator Page --- */
.ryn-roi-hero { text-align: center; padding: 80px 6% 40px; max-width: 900px; margin: 0 auto; }
.ryn-roi-title { font-size: clamp(36px,5vw,58px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.ryn-roi-sub { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ryn-roi-main { padding: 40px 6% 60px; max-width: 1200px; margin: 0 auto; }
.ryn-roi-calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:768px){ .ryn-roi-calculator { grid-template-columns: 1fr; } }
.ryn-roi-inputs, .ryn-roi-results { background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 36px; }
.ryn-roi-inputs-title, .ryn-roi-results-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 28px; }
.ryn-roi-field { margin-bottom: 28px; }
.ryn-roi-field label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.ryn-roi-slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.ryn-roi-slider { width: 100%; -webkit-appearance: none; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); outline: none; }
.ryn-roi-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #ff5e14; cursor: pointer; box-shadow: 0 0 0 3px rgba(255,94,20,0.2); }
.ryn-roi-slider-val { font-size: 22px; font-weight: 700; color: #ff5e14; }
.ryn-roi-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.ryn-roi-result-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 20px 16px; text-align: center; }
.ryn-roi-result-card.highlight-card { background: rgba(255,94,20,0.1); border-color: rgba(255,94,20,0.3); }
.ryn-roi-result-card.roas-card { background: rgba(255,255,255,0.04); }
.ryn-roi-result-num { font-size: 30px; font-weight: 900; color: #ff5e14; line-height: 1; margin-bottom: 6px; }
.ryn-roi-result-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.ryn-roi-verdict { background: rgba(255,94,20,0.08); border: 1px solid rgba(255,94,20,0.2); border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; }
.ryn-verdict-text { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; }
.ryn-roi-cta { text-align: center; }
.ryn-roi-cta-text { color: rgba(255,255,255,0.6); margin-bottom: 16px; font-size: 15px; }
.ryn-roi-embed-section { margin-top: 40px; background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px; }
.ryn-roi-embed-section h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ryn-roi-embed-section p { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.ryn-embed-code-wrap { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
#ryn-embed-code { display: block; flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 14px 16px; font-size: 13px; color: rgba(255,255,255,0.7); font-family: monospace; word-break: break-all; min-width: 200px; }
.ryn-copy-embed { background: #ff5e14; color: #fff; border: none; padding: 12px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.ryn-copy-embed:hover { background: #e05510; }
.ryn-roi-benchmarks { padding: 60px 6% 80px; max-width: 1000px; margin: 0 auto; }
.ryn-bench-table-wrap { overflow-x: auto; margin-top: 40px; }
.ryn-bench-table { width: 100%; border-collapse: collapse; }
.ryn-bench-table th { background: #0d1b2a; color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 14px 20px; text-align: left; border-bottom: 2px solid rgba(255,94,20,0.3); }
.ryn-bench-table td { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); font-size: 15px; }
.ryn-bench-table tr:hover td { background: rgba(255,255,255,0.03); }
.ryn-bench-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 3px 10px; border-radius: 3px; text-transform: uppercase; }

/* --- Google Ads Glossary --- */
.ryn-gloss-hero { text-align: center; padding: 80px 6% 40px; max-width: 900px; margin: 0 auto; }
.ryn-gloss-title { font-size: clamp(36px,5vw,58px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.ryn-gloss-sub { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; }
.ryn-gloss-search-wrap { position: relative; max-width: 560px; margin: 0 auto 24px; }
.ryn-gloss-search { width: 100%; background: #0d1b2a; border: 2px solid rgba(255,94,20,0.3); border-radius: 100px; padding: 14px 50px 14px 24px; font-size: 16px; color: #fff; outline: none; box-sizing: border-box; transition: border-color 0.2s; }
.ryn-gloss-search:focus { border-color: #ff5e14; }
.ryn-gloss-search::placeholder { color: rgba(255,255,255,0.35); }
.ryn-gloss-search-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.ryn-gloss-alpha-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; max-width: 700px; margin: 0 auto; }
.ryn-alpha-btn { background: rgba(255,255,255,0.07); border: none; color: rgba(255,255,255,0.55); width: 32px; height: 32px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.ryn-alpha-btn:hover, .ryn-alpha-btn.active { background: #ff5e14; color: #fff; }
.ryn-gloss-body { padding: 40px 6% 80px; max-width: 900px; margin: 0 auto; }
.ryn-gloss-terms { display: flex; flex-direction: column; gap: 0; }
.ryn-gloss-letter-group { margin-bottom: 8px; }
.ryn-gloss-letter { font-size: 48px; font-weight: 900; color: rgba(255,94,20,0.25); border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 8px; margin-bottom: 4px; line-height: 1; }
.ryn-gloss-term { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ryn-gloss-term h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ryn-gloss-term p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 10px; }
.ryn-gloss-term[style*="display: none"] { display: none !important; }
.ryn-gloss-link { font-size: 13px; color: #ff5e14; text-decoration: none; font-weight: 600; }
.ryn-gloss-link:hover { text-decoration: underline; }
.ryn-gloss-cta { text-align: center; padding: 80px 6%; background: #0d1b2a; border-top: 1px solid rgba(255,255,255,0.06); }
.ryn-gloss-cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.ryn-gloss-cta p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* --- Benchmark Reports --- */
.ryn-bench-hero { text-align: center; padding: 80px 6% 0; max-width: 1000px; margin: 0 auto; }
.ryn-bench-title { font-size: clamp(36px,5vw,58px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.ryn-bench-sub { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 40px; line-height: 1.7; }
.ryn-bench-tabs { display: flex; justify-content: center; gap: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; overflow: hidden; max-width: 700px; margin: 0 auto; }
.ryn-bench-tab { background: transparent; border: none; border-right: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 600; padding: 14px 24px; cursor: pointer; transition: all 0.2s; flex: 1; }
.ryn-bench-tab:last-child { border-right: none; }
.ryn-bench-tab.active, .ryn-bench-tab:hover { background: #ff5e14; color: #fff; }
.ryn-bench-content { padding: 0 6% 80px; max-width: 1100px; margin: 0 auto; }
.ryn-bench-panel { display: none; padding-top: 48px; }
.ryn-bench-panel.active { display: block; }
.ryn-bench-panel-inner { background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 48px; }
.ryn-bench-panel-header { margin-bottom: 36px; }
.ryn-bench-panel-header h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ryn-bench-panel-header p { font-size: 15px; color: rgba(255,255,255,0.55); }
.ryn-bench-metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; }
@media(max-width:768px){ .ryn-bench-metrics-grid { grid-template-columns: 1fr 1fr; } }
.ryn-bench-metric-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 24px 16px; text-align: center; }
.ryn-bench-metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.ryn-bench-metric-range { font-size: 26px; font-weight: 800; color: #ff5e14; margin-bottom: 8px; }
.ryn-bench-metric-best { font-size: 12px; color: rgba(255,255,255,0.45); }
.ryn-bench-insights { background: rgba(255,255,255,0.03); border-left: 3px solid #ff5e14; border-radius: 0 8px 8px 0; padding: 24px 28px; margin-bottom: 28px; }
.ryn-bench-insights h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.ryn-bench-insights ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.ryn-bench-insights li { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.ryn-bench-page-link { display: inline-block; color: #ff5e14; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid rgba(255,94,20,0.3); padding: 10px 22px; border-radius: 6px; transition: all 0.2s; }
.ryn-bench-page-link:hover { background: rgba(255,94,20,0.1); }
.ryn-bench-cta { text-align: center; padding: 80px 6%; background: #0d1b2a; border-top: 1px solid rgba(255,255,255,0.06); }
.ryn-bench-cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.ryn-bench-cta p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* --- Results Counter on Homepage --- */
.ryn-counter-section { background: linear-gradient(135deg, #0d1b2a 0%, #0a2540 100%); padding: 80px 6%; text-align: center; border-top: 1px solid rgba(255,94,20,0.15); border-bottom: 1px solid rgba(255,94,20,0.15); }
.ryn-counter-section h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.ryn-counter-section .ryn-counter-sub { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 56px; }
.ryn-counters-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 48px; }
.ryn-counter-item { text-align: center; }
.ryn-counter-num { font-size: 64px; font-weight: 900; color: #ff5e14; line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.ryn-counter-prefix { font-size: 32px; font-weight: 700; color: #ff5e14; }
.ryn-counter-suffix { font-size: 36px; font-weight: 700; color: #ff5e14; }
.ryn-counter-label { font-size: 15px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 10px; }
.ryn-counter-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.1); align-self: center; display: block; }
@media(max-width:600px){ .ryn-counter-divider { display: none; } .ryn-counters-grid { gap: 36px; } }
.ryn-counter-section .ryn-trust-logos { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.ryn-trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ryn-trust-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 20px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); white-space: nowrap; }
.ryn-gp-badge { display: flex; align-items: center; gap: 10px; background: rgba(66,133,244,0.1); border: 1px solid rgba(66,133,244,0.3); border-radius: 8px; padding: 12px 20px; }
.ryn-gp-badge-icon { font-size: 24px; }
.ryn-gp-badge-text { display: flex; flex-direction: column; }
.ryn-gp-badge-title { font-size: 13px; font-weight: 700; color: #fff; }
.ryn-gp-badge-sub { font-size: 11px; color: rgba(255,255,255,0.5); }

/* --- FAQ / Ask an Expert --- */
.ryn-faq-section { padding: 80px 6%; max-width: 860px; margin: 0 auto; }
.ryn-faq-section h2 { font-size: clamp(28px,4vw,42px); font-weight: 800; color: #fff; text-align: center; margin-bottom: 12px; }
.ryn-faq-section .ryn-faq-sub { font-size: 17px; color: rgba(255,255,255,0.55); text-align: center; margin-bottom: 48px; }
.ryn-faq-list { display: flex; flex-direction: column; gap: 12px; }
.ryn-faq-item { background: #0d1b2a; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; transition: border-color 0.2s; }
.ryn-faq-item.open { border-color: rgba(255,94,20,0.35); }
.ryn-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; user-select: none; }
.ryn-faq-question span { font-size: 16px; font-weight: 600; color: #fff; }
.ryn-faq-icon { font-size: 22px; color: #ff5e14; transition: transform 0.25s; font-weight: 300; }
.ryn-faq-item.open .ryn-faq-icon { transform: rotate(45deg); }
.ryn-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; padding: 0 24px; }
.ryn-faq-item.open .ryn-faq-answer { max-height: 400px; padding: 0 24px 24px; }
.ryn-faq-answer p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* Google Partner badge in footer area */
.ryn-gp-footer-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(66,133,244,0.08); border: 1px solid rgba(66,133,244,0.25); border-radius: 8px; padding: 10px 16px; margin-top: 12px; }
.ryn-gp-footer-badge img { height: 28px; width: auto; }
.ryn-gp-footer-badge span { font-size: 12px; color: rgba(255,255,255,0.6); }


/* ============================================================
   FOOTER POSITIONING FIX
   Ensure footer always appears at bottom of all pages
   ============================================================ */

/* When no Elementor footer, show the site footer styled */
body.ryn-no-elementor-footer #site-footer {
  display: block !important;
  background: #0d1b2a !important;
  padding: 40px 6% !important;
  border-top: 1px solid rgba(255,94,20,0.2) !important;
}

body.ryn-no-elementor-footer #site-footer .footer-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

body.ryn-no-elementor-footer #site-footer .copyright p,
body.ryn-no-elementor-footer #site-footer p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  margin: 0 !important;
}


/* ============================================
   2-LEVEL DROPDOWN: industries + resources
   ============================================ */

/* Compact top-level nav links to fit 7 items */
.ryn-sticky-menu > li > a {
  padding: 6px 9px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.01em;
}

/* Dropdown panel */
.ryn-sticky-menu .ryn-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-top: 2px solid #ff6b35;
  min-width: 190px;
  padding: 6px 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 9999;
  list-style: none;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
}

/* Show on hover */
.ryn-sticky-menu > li:hover .ryn-dropdown,
.ryn-sticky-menu > li:focus-within .ryn-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown links */
.ryn-sticky-menu .ryn-dropdown li a {
  display: block;
  padding: 9px 16px;
  color: #ccc;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  border-left: 3px solid transparent;
}
.ryn-sticky-menu .ryn-dropdown li a:hover {
  background: #1a1a1a;
  color: #ff6b35;
  border-left-color: #ff6b35;
  padding-left: 20px;
}

/* Caret on top-level items with dropdowns */
.ryn-sticky-menu > li.menu-item-has-children > a::after {
  content: ' \25BE';
  font-size: 9px;
  opacity: 0.65;
  margin-left: 2px;
}

/* Mobile: show dropdowns inline */
@media (max-width: 960px) {
  .ryn-sticky-menu > li > a {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  .ryn-sticky-menu .ryn-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #ff6b35;
    margin-left: 16px;
    padding: 2px 0;
    background: transparent;
    pointer-events: auto;
    white-space: normal;
  }
  .ryn-sticky-menu .ryn-dropdown li a {
    padding: 7px 12px;
    font-size: 13px;
  }
}


/* ============================================
   GOOGLE ADS LOGO - prevent cutoff at all sizes
   ============================================ */
/* Google Ads logo - single definitive rule */
.elementor-element-gads_logo1,
.elementor-element-gads_logo1 .elementor-widget-container {
  overflow: visible !important;
}
.elementor-element-gads_logo1 img {
  width: 80px !important;
  height: auto !important;
  max-width: none !important;
  clip-path: none !important;
  display: block !important;
  object-fit: contain !important;
}




/* ================================================================
   RYN DIGITAL — BLOG REDESIGN
   Covers: Archive page, single post, sidebar, TOC, author box
   ================================================================ */

/* ---- BLOG ARCHIVE PAGE ---- */
body.blog #ryn-sticky-header + * { margin-top: 0; }

.ryn-blog-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f2d 50%, #0a0a0a 100%);
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ryn-blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,107,53,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.ryn-blog-hero h1, .ryn-blog-hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.ryn-blog-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.ryn-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 0;
}
.ryn-blog-cat-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ryn-blog-cat-btn:hover,
.ryn-blog-cat-btn.active {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}

/* ---- BLOG GRID ---- */
.ryn-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
}
@media (max-width: 1024px) { .ryn-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ryn-blog-grid { grid-template-columns: 1fr; padding: 40px 20px; } }

/* Featured post — spans full width */
.ryn-blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 360px;
}
@media (max-width: 768px) {
  .ryn-blog-card.featured { grid-column: 1; grid-template-columns: 1fr; }
}

/* ---- CARD BASE ---- */
.ryn-blog-card {
  background: #0f1923;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.ryn-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,107,53,0.3);
  border-color: rgba(255,107,53,0.3);
}

/* Card image area */
.ryn-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d1f2d 0%, #1a2a3a 100%);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ryn-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ryn-blog-card:hover .ryn-card-img img { transform: scale(1.04); }

/* Card image placeholder (no image) */
.ryn-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1f2d 0%, #1a3a2d 50%, #2d1a0d 100%);
  font-size: 3.5rem;
  position: relative;
}
.ryn-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(255,107,53,0.12) 0%, transparent 60%);
}

/* Category tag on card */
.ryn-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

/* Card body */
.ryn-card-body {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ryn-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.ryn-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.25); flex-shrink: 0; }
.ryn-card-read-time { color: #ff6b35; font-weight: 600; }

.ryn-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.ryn-blog-card:hover .ryn-card-title { color: #ff6b35; }

.ryn-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Featured card override */
.ryn-blog-card.featured .ryn-card-img {
  aspect-ratio: unset;
  min-height: 360px;
  height: 100%;
}
.ryn-blog-card.featured .ryn-card-body {
  padding: 40px 36px;
  justify-content: center;
}
.ryn-blog-card.featured .ryn-card-title {
  font-size: 1.6rem;
  -webkit-line-clamp: 4;
}
.ryn-blog-card.featured .ryn-card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 0.95rem;
}

/* Read more arrow */
.ryn-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6b35;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}
.ryn-blog-card:hover .ryn-card-cta { gap: 10px; }
.ryn-card-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.ryn-blog-card:hover .ryn-card-cta svg { transform: translateX(3px); }

/* ---- BLOG STATS BAR ---- */
.ryn-blog-stats {
  background: rgba(255,107,53,0.06);
  border-top: 1px solid rgba(255,107,53,0.12);
  border-bottom: 1px solid rgba(255,107,53,0.12);
  padding: 20px 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.ryn-blog-stat {
  text-align: center;
}
.ryn-blog-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff6b35;
  line-height: 1;
  display: block;
}
.ryn-blog-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* ---- SINGLE POST PAGE ---- */
body.single-post {
  background: #080d12;
}
body.single-post .entry-content,
body.single-post .post-content,
body.single-post article.post {
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
}

/* Full post wrapper */
.ryn-post-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) { .ryn-post-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ryn-post-wrap { padding: 0 20px 60px; gap: 40px; } }

/* Post hero */
.ryn-post-hero {
  background: linear-gradient(180deg, #0a0e14 0%, #080d12 100%);
  padding: 60px 32px 50px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0;
}
.ryn-post-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.ryn-post-hero-tag {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: #ff6b35;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.ryn-post-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin: 0 0 20px !important;
  letter-spacing: -0.5px !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}
.ryn-post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}
.ryn-post-meta-bar .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.ryn-post-meta-bar strong { color: rgba(255,255,255,0.75); }
.ryn-post-read-time-badge {
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  color: #ff6b35;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Hero divider line */
.ryn-post-hero-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff9a6c);
  border-radius: 2px;
  margin: 24px auto 0;
}

/* ---- POST CONTENT TYPOGRAPHY ---- */
.ryn-post-content {
  min-width: 0;
}
.ryn-post-content .entry-content,
.ryn-post-content .post-content,
.ryn-post-content > .wp-block-group,
.ryn-post-body {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: rgba(255,255,255,0.78) !important;
}

/* Headings in post */
.ryn-post-body h2,
.entry-content h2,
.post-content h2 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 48px 0 18px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  line-height: 1.3 !important;
}
.ryn-post-body h3,
.entry-content h3,
.post-content h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #ff9a6c !important;
  margin: 36px 0 14px !important;
  line-height: 1.3 !important;
}
.ryn-post-body h4,
.entry-content h4 {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.9) !important;
  margin: 28px 0 10px !important;
}

/* Paragraphs */
.ryn-post-body p,
.entry-content p,
.post-content p {
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.85 !important;
  margin-bottom: 20px !important;
  font-size: 1.02rem !important;
}

/* Lists */
.ryn-post-body ul,
.entry-content ul,
.post-content ul {
  padding-left: 0 !important;
  list-style: none !important;
  margin: 20px 0 28px !important;
}
.ryn-post-body ul li,
.entry-content ul li,
.post-content ul li {
  padding: 8px 0 8px 28px !important;
  position: relative !important;
  color: rgba(255,255,255,0.72) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.ryn-post-body ul li::before,
.entry-content ul li::before,
.post-content ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 17px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #ff6b35 !important;
  box-shadow: 0 0 8px rgba(255,107,53,0.5) !important;
}

/* Ordered lists */
.ryn-post-body ol,
.entry-content ol,
.post-content ol {
  padding-left: 24px !important;
  margin: 20px 0 28px !important;
}
.ryn-post-body ol li,
.entry-content ol li,
.post-content ol li {
  color: rgba(255,255,255,0.72) !important;
  margin-bottom: 10px !important;
  padding-left: 8px !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.ryn-post-body ol li::marker { color: #ff6b35 !important; font-weight: 700 !important; }

/* Strong / bold */
.entry-content strong, .post-content strong { color: #fff !important; font-weight: 700 !important; }

/* Links in content */
.entry-content a, .post-content a {
  color: #ff6b35 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,107,53,0.3) !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.entry-content a:hover, .post-content a:hover {
  color: #ff9a6c !important;
  border-bottom-color: #ff9a6c !important;
}

/* Blockquotes */
.entry-content blockquote,
.post-content blockquote {
  border-left: 3px solid #ff6b35 !important;
  background: rgba(255,107,53,0.05) !important;
  margin: 32px 0 !important;
  padding: 20px 24px !important;
  border-radius: 0 12px 12px 0 !important;
  font-size: 1.05rem !important;
  font-style: italic !important;
  color: rgba(255,255,255,0.8) !important;
}

/* Tables in content */
.entry-content table,
.post-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 28px 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  font-size: 0.95rem !important;
}
.entry-content table thead,
.post-content table thead {
  background: rgba(255,107,53,0.12) !important;
}
.entry-content table th,
.post-content table th {
  padding: 14px 18px !important;
  text-align: left !important;
  color: #ff9a6c !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border: none !important;
}
.entry-content table td,
.post-content table td {
  padding: 13px 18px !important;
  color: rgba(255,255,255,0.75) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  border-left: none !important;
  border-right: none !important;
}
.entry-content table tr:nth-child(even) td,
.post-content table tr:nth-child(even) td {
  background: rgba(255,255,255,0.025) !important;
}
.entry-content table tr:hover td,
.post-content table tr:hover td {
  background: rgba(255,107,53,0.05) !important;
}

/* Key stat callout boxes */
.ryn-stat-box {
  background: linear-gradient(135deg, rgba(255,107,53,0.08) 0%, rgba(255,107,53,0.03) 100%);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ryn-stat-box-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.ryn-stat-box-num { font-size: 2rem; font-weight: 800; color: #ff6b35; line-height: 1; }
.ryn-stat-box-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ---- TABLE OF CONTENTS ---- */
.ryn-toc {
  background: #0f1923;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #ff6b35;
  border-radius: 0 14px 14px 0;
  padding: 22px 24px;
  margin: 0 0 40px;
}
.ryn-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff6b35;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ryn-toc ol {
  padding-left: 20px !important;
  margin: 0 !important;
  list-style: decimal !important;
}
.ryn-toc ol li {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.88rem !important;
  padding: 3px 0 !important;
  border: none !important;
}
.ryn-toc ol li::before { display: none !important; }
.ryn-toc ol li a {
  color: rgba(255,255,255,0.6) !important;
  border: none !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.ryn-toc ol li a:hover { color: #ff6b35 !important; }

/* ---- SIDEBAR ---- */
.ryn-post-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1024px) { .ryn-post-sidebar { position: static; } }

.ryn-sidebar-widget {
  background: #0f1923;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}
.ryn-sidebar-widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* CTA widget */
.ryn-sidebar-cta {
  background: linear-gradient(135deg, #0d1f2d 0%, #1a0d06 100%);
  border-color: rgba(255,107,53,0.2);
  text-align: center;
  padding: 28px 24px;
}
.ryn-sidebar-cta .ryn-sidebar-widget-title { border-color: rgba(255,107,53,0.1); }
.ryn-sidebar-cta-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 10px;
}
.ryn-sidebar-cta-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
  line-height: 1.5;
}
.ryn-sidebar-cta-btn {
  display: block;
  background: #ff6b35;
  color: #fff !important;
  border: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.ryn-sidebar-cta-btn:hover {
  background: #ff9a6c;
  transform: translateY(-2px);
}

/* Related posts widget */
.ryn-sidebar-related-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
}
.ryn-sidebar-related-post:last-child { border-bottom: none; padding-bottom: 0; }
.ryn-sidebar-related-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b35;
  flex-shrink: 0;
  margin-top: 7px;
}
.ryn-sidebar-related-title {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  transition: color 0.2s;
}
.ryn-sidebar-related-post:hover .ryn-sidebar-related-title { color: #ff6b35; }

/* Progress bar */
.ryn-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff9a6c);
  z-index: 99999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- AUTHOR BOX ---- */
.ryn-author-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #0f1923;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  margin: 56px 0 0;
}
.ryn-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff9a6c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -1px;
}
.ryn-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.ryn-author-role {
  font-size: 0.8rem;
  color: #ff6b35;
  font-weight: 600;
  margin: 0 0 10px;
}
.ryn-author-bio {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 480px) { .ryn-author-box { flex-direction: column; } }

/* ---- POST CTA BOX ---- */
.ryn-post-cta-box {
  background: linear-gradient(135deg, #0d1f2d 0%, #1a0d06 100%);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 48px 0;
  text-align: center;
}
.ryn-post-cta-box h3 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 10px !important;
  border: none !important;
}
.ryn-post-cta-box p {
  color: rgba(255,255,255,0.55) !important;
  margin: 0 0 24px !important;
  font-size: 0.95rem !important;
}
.ryn-post-cta-box a {
  display: inline-block;
  background: #ff6b35 !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s !important;
}
.ryn-post-cta-box a:hover {
  background: #ff9a6c !important;
  transform: translateY(-2px) !important;
}

/* ---- RELATED POSTS SECTION ---- */
.ryn-related-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ryn-related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 32px;
}
.ryn-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .ryn-related-grid { grid-template-columns: 1fr; } }

/* ---- SCROLL TO TOP ---- */
.ryn-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #ff6b35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
}
.ryn-scroll-top.visible { opacity: 1; transform: translateY(0); }
.ryn-scroll-top:hover { background: #ff9a6c; transform: translateY(-2px); }
.ryn-scroll-top svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.5; }

/* ---- EXISTING DARK THEME OVERRIDES for blog ---- */
body.blog .site-main,
body.single-post .site-main,
body.archive .site-main {
  background: #080d12 !important;
  min-height: 60vh;
}
body.blog,
body.single-post,
body.archive {
  background: #080d12 !important;
}


/* ===== SEO: Hide duplicate entry-title H1 ===== */
h1.entry-title {
  display: none !important;
  visibility: hidden !important;
}


/* ===== CORE WEB VITALS - CLS FIXES ===== */
/* Font display optimization */
@font-face {
  font-display: swap;
}

/* Prevent image-related CLS */
img, video {
  max-width: 100%;
  height: auto;
}

/* Reserve space for lazy-loaded elements */
.elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Fix nav height to prevent CLS */
#ryn-sticky-header {
  min-height: 70px !important;
}

/* Reserve space for counter animations */
.ryn-counter-value, .ryn-counter {
  min-width: 60px;
  display: inline-block;
}

/* Prevent layout shifts from dynamic content */
.elementor-section {
  contain: layout;
}

/* Hero section stability */
.elementor-section.elementor-top-section:first-of-type {
  min-height: 60vh;
}

/* Mobile viewport fixes */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden !important;
}

/* Hide Google Site Kit admin bar notifications on frontend */
#googlesitekit-notices, .googlesitekit-noscript {
  display: none !important;
}


/* ===== MOBILE FRIENDLINESS IMPROVEMENTS ===== */
/* Ensure minimum tap target sizes (48x48px) */
a, button, input[type="submit"], input[type="button"],
.elementor-button, .ryn-cta-btn, .ryn-btn,
.elementor-button-wrapper a, .elementor-cta-btn {
  min-height: 44px !important;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Nav tap targets */
#ryn-sticky-header a, #ryn-sticky-header button {
  min-height: 44px;
  padding: 8px 12px;
}

@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  * { max-width: 100%; box-sizing: border-box; }
  body { overflow-x: hidden !important; }

  /* Minimum font sizes for readability */
  p, li, span, div {
    font-size: max(14px, 1em);
    line-height: 1.6;
  }

  /* Ensure buttons are large enough */
  a, button {
    min-height: 44px;
    padding: 10px 16px;
  }

  /* Ensure CTA button is properly sized */
  .elementor-button {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }

  /* Images responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Tables responsive */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Form inputs - minimum 16px to prevent iOS zoom */
  input, select, textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 1024px) {
  body { overflow-x: hidden !important; }
}

/* --- NAV VERTICAL CENTERING --- */
#ryn-sticky-header {
  display: flex !important;
  align-items: stretch !important;
}
.ryn-sticky-inner {
  display: flex !important;
  align-items: center !important;
  height: 70px !important;
  min-height: 70px !important;
  width: 100% !important;
  padding: 0 32px !important;
  box-sizing: border-box !important;
}
.ryn-sticky-logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ryn-sticky-logo img {
  height: 36px !important;
  width: auto !important;
  display: block !important;
  filter: brightness(0) invert(1) !important; /* RYN: logo art is near-black on a dark header, render it white */
}
.ryn-sticky-menu {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.ryn-sticky-menu > li {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}
.ryn-sticky-menu > li > a {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 14px !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.ryn-sticky-cta {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  align-self: center !important;
}
/* END NAV VERTICAL CENTERING */

/* --- FOOTER ALWAYS AT BOTTOM --- */
/* Safe approach: ensure the main content expands to fill space */
#content.site-main,
.site-main {
  min-height: calc(100vh - 180px) !important;
}
/* The JS-injected Elementor footer */
#ryn-elementor-footer {
  margin-top: 0 !important;
  position: relative !important;
  bottom: 0 !important;
  width: 100% !important;
}
/* The social links bar */
.ryn-social-footer {
  margin-top: 0 !important;
}
/* END FOOTER AT BOTTOM */


/* Fix Elementor entrance animations getting stuck on first load */
/* This ensures elements are always visible even if animation does not fire */
.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}
