h1 a, 
h2 a, 
h3 a, 
h4 a, 
h5 a, 
h6 a {
	text-decoration: underline;
}

/* =====================================================================
   Ringgit Oh Ringgit — Additional CSS for the Kadence theme
   Matches the "Ringgit Oh Ringgit" design system · 24 Nov 2026
   Fonts (Nunito Sans, Poppins) and the 9 palette colours are set in the
   Customizer. This only adds what Kadence's settings can't do.
   ===================================================================== */

/* ---------- 1. Brand colours as variables ---------- */
:root {
  --ror-pink-500: #E7717D;   /* candy pink: fills only, never text */
  --ror-pink-700: #A93A46;   /* readable pink: links, buttons */
  --ror-pink-100: #FBE5E7;
  --ror-green-400: #AFD275;  /* green-yellow: fills only, ink text on it */
  --ror-green-700: #4E6B2A;  /* readable green: gains */
  --ror-green-100: #EEF6E3;
  --ror-brown-500: #7E685A;
  --ror-brown-900: #3B2F28;  /* text */
  --ror-lavender-300: #C2CAD0;
  --ror-lavender-100: #EDF0F2;
  --ror-taupe-300: #C2B9B0;  /* hairlines */
  --ror-taupe-100: #F3EFEA;
  --ror-cream: #FBF8F4;
  --ror-muted: #6E5A4D;
  --ror-font-display: Poppins, "Segoe UI", system-ui, sans-serif;
  --ror-font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --ror-radius-sm: 6px;
  --ror-radius-md: 12px;
  --ror-radius-lg: 20px;
  --ror-shadow-card: 0 1px 2px rgba(59,47,40,.06), 0 4px 12px rgba(59,47,40,.06);
  --ror-shadow-lift: 0 8px 24px rgba(59,47,40,.12);
}

/* ---------- 2. Text details ---------- */
::selection { background: var(--ror-green-400); color: var(--ror-brown-900); }

.entry-content a:not(.button):not(.wp-block-button__link):not(.ror-tag) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Money and numbers line up in columns */
.ror-stat__value, .ror-table, .entry-content table { font-variant-numeric: tabular-nums; }

/* Meta lines (date, author, read time) in Poppins */
.entry-meta, .entry-meta a, .wp-caption-text, figcaption {
  font-family: var(--ror-font-display);
  font-size: 13px;
  color: var(--ror-muted);
}

/* Blockquotes and pull quotes */
.entry-content blockquote, .wp-block-quote, .wp-block-pullquote blockquote {
  border-left: 0;
  margin: 2em 0;
  padding: 1.5em 1.75em;
  background: var(--ror-taupe-100);
  border-radius: var(--ror-radius-md);
  font-family: var(--ror-font-body);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
}
.entry-content blockquote cite, .wp-block-quote cite {
  display: block; margin-top: .75em;
  font-family: var(--ror-font-display); font-style: normal;
  font-size: 13px; color: var(--ror-muted);
}

/* Screenshots: rounded, with a hairline so white images don't melt into the page */
.entry-content img:not(.ror-no-frame) {
  border-radius: var(--ror-radius-sm);
}
.entry-content .wp-block-image.is-style-default img,
.entry-content figure.ror-screenshot img {
  border: 1px solid var(--ror-taupe-300);
}

/* ---------- 3. Buttons and forms ---------- */
.button, button, input[type="submit"], .wp-block-button__link {
  min-height: 44px;
  font-family: var(--ror-font-display);
  font-weight: 600;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--ror-brown-900);
  border: 2px solid var(--ror-brown-500);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--ror-taupe-100);
}
input[type="text"], input[type="email"], input[type="number"], input[type="search"],
input[type="tel"], input[type="url"], select, textarea {
  border: 1.5px solid var(--ror-brown-500);
  border-radius: var(--ror-radius-sm);
  background: #fff;
  min-height: 44px;
  font-family: var(--ror-font-display);
}
a:focus-visible, button:focus-visible, .button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ror-brown-900);
  outline-offset: 2px;
}

/* ---------- 4. Blog listing cards (archive, home, related posts) ---------- */
.loop-entry.content-bg, .entry.loop-entry {
  background: #fff;
  border: 1px solid var(--ror-taupe-300);
  border-radius: var(--ror-radius-md);
  box-shadow: var(--ror-shadow-card);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.loop-entry.content-bg:hover, .entry.loop-entry:hover { box-shadow: var(--ror-shadow-lift); }
.loop-entry .entry-title { font-size: 20px; line-height: 1.4; font-weight: 600; }

/* Category links shown above titles → pill tags */
.entry-taxonomies a, .loop-entry .category-links a {
  display: inline-block;
  font-family: var(--ror-font-display);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ror-pink-100);
  color: var(--ror-pink-700);
  text-decoration: none;
}

/* ---------- 5. Tables (all tables in posts) ---------- */
.entry-content table, .ror-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--ror-taupe-300);
  border-radius: var(--ror-radius-sm);
  overflow: hidden;
  background: #fff;
  font-family: var(--ror-font-display);
  font-size: 15px; line-height: 1.45;
}
.entry-content table th, .ror-table th,
.entry-content table thead td {
  background: var(--ror-lavender-100);
  font-weight: 600; text-align: left;
  padding: 12px 16px;
  border: 0;
}
.entry-content table td, .ror-table td {
  padding: 12px 16px;
  border: 0; border-top: 1px solid var(--ror-taupe-300);
}
.entry-content table tbody tr:nth-child(even) td,
.ror-table tbody tr:nth-child(even) td { background: var(--ror-taupe-100); }
.ror-table .num, .entry-content table .num { text-align: right; }
.ror-best { color: var(--ror-green-700); font-weight: 700; }
/* Let wide tables scroll sideways on phones instead of squashing */
.wp-block-table { overflow-x: auto; }

/* ---------- 6. Callouts ----------
   Usage: Group or Paragraph block › Advanced › Additional CSS class:
   ror-callout ror-callout--note | --important | --tip | --disclaimer   */
.ror-callout {
  border-radius: var(--ror-radius-md);
  padding: 16px 24px;
  margin: 1.75em 0;
  font-size: 16px; line-height: 1.65;
  color: var(--ror-brown-900);
}
.ror-callout > *:first-child { margin-top: 0; }
.ror-callout > *:last-child { margin-bottom: 0; }
.ror-callout strong:first-child { font-family: var(--ror-font-display); font-weight: 700; }
.ror-callout--note { background: var(--ror-lavender-100); }
.ror-callout--important { background: var(--ror-pink-100); }
.ror-callout--important strong:first-child { color: var(--ror-pink-700); }
.ror-callout--tip { background: var(--ror-green-100); }
.ror-callout--tip strong:first-child { color: var(--ror-green-700); }
.ror-callout--disclaimer { background: var(--ror-taupe-100); }
.ror-callout h3, .ror-callout h4 { font-size: 16px; margin: 0 0 .25em; }

/* ---------- 7. Disclosure line (right after the hook) ----------
   Usage: Paragraph › Additional CSS class: ror-disclosure ror-disclosure--sponsored
   (or --independent). Start the text with the label in bold.            */
.ror-disclosure {
  font-family: var(--ror-font-display);
  font-size: 13px; line-height: 1.5;
  color: var(--ror-muted);
  padding: 8px 0;
  border-top: 1px solid var(--ror-taupe-300);
  border-bottom: 1px solid var(--ror-taupe-300);
  margin: 1.5em 0;
}
.ror-disclosure strong:first-child {
  display: inline-block; margin-right: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--ror-radius-sm);
}
.ror-disclosure--sponsored strong:first-child { background: var(--ror-pink-100); color: var(--ror-pink-700); }
.ror-disclosure--independent strong:first-child { background: var(--ror-green-100); color: var(--ror-green-700); }

/* ---------- 8. Category tag (manual use) ----------
   Usage: a link with class ror-tag ror-tag--fire | --investing | --money
   | --saving | --earning | --personal                                   */
.ror-tag {
  display: inline-block;
  font-family: var(--ror-font-display);
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  color: var(--ror-brown-900); text-decoration: none;
}
.ror-tag--fire { background: var(--ror-pink-100); color: var(--ror-pink-700); }
.ror-tag--investing { background: var(--ror-green-100); }
.ror-tag--money { background: var(--ror-lavender-100); }
.ror-tag--saving { background: var(--ror-pink-100); }
.ror-tag--earning { background: var(--ror-taupe-100); }
.ror-tag--personal { background: var(--ror-brown-900); color: var(--ror-cream); }

/* ---------- 9. Stat block ----------
   Usage: Group block with class ror-stat, containing three paragraphs with
   classes ror-stat__label, ror-stat__value (add ror-stat__value--up for gains),
   ror-stat__note. Put up to 3 in a Columns block.                         */
.ror-stat {
  background: #fff;
  border: 1px solid var(--ror-taupe-300);
  border-radius: var(--ror-radius-md);
  padding: 24px;
}
.ror-stat p { margin: 0; }
.ror-stat__label {
  font-family: var(--ror-font-display);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ror-muted);
}
.ror-stat__value {
  font-family: var(--ror-font-display);
  font-size: 40px; line-height: 1.1; font-weight: 700;
  color: var(--ror-pink-700);
  margin: 8px 0 !important;
}
.ror-stat__value--up { color: var(--ror-green-700); }
.ror-stat__note { font-family: var(--ror-font-display); font-size: 13px; color: var(--ror-muted); }

/* ---------- 10. Bergaji & Pokai book box ----------
   Usage: Media & Text block with class ror-book. Max one per post.        */
.ror-book {
  background: var(--ror-pink-100);
  border-radius: var(--ror-radius-lg);
  padding: 24px;
  margin: 2.5em 0;
}
.ror-book img { border-radius: var(--ror-radius-sm); box-shadow: var(--ror-shadow-card); }
.ror-book .ror-eyebrow, .ror-eyebrow {
  font-family: var(--ror-font-display);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ror-pink-700);
  margin: 0;
}
.ror-book h2, .ror-book h3 { font-size: 22px; line-height: 1.36; margin: 4px 0 8px; }
.ror-book p { font-size: 16px; line-height: 1.65; }

/* ---------- 11. Newsletter panel ----------
   Usage: Group block with class ror-news around the form.                */
.ror-news {
  background: var(--ror-green-100);
  border-radius: var(--ror-radius-lg);
  padding: 32px;
  margin: 2.5em 0;
}
.ror-news h2, .ror-news h3 { font-size: 22px; margin-top: 0; }
.ror-news button, .ror-news input[type="submit"] {
  background: var(--ror-green-400) !important;
  color: var(--ror-brown-900) !important;
  border-radius: var(--ror-radius-md);
}
.ror-news button:hover, .ror-news input[type="submit"]:hover {
  background: var(--ror-brown-900) !important;
  color: var(--ror-cream) !important;
}

/* ---------- 12. Author box (Kadence "Author Box" on single posts) ---------- */
.entry-author {
  border-top: 1px solid var(--ror-taupe-300);
  padding-top: 24px;
}
.entry-author-avatar img, .entry-author .avatar {
  border-radius: 50%;
  border: 3px solid var(--ror-pink-500);
}
.entry-author-name { font-family: var(--ror-font-display); font-weight: 600; }

/* ---------- 13. Footer logo spacing ---------- */
.site-footer .widget_media_image img { max-width: 180px; height: auto; }
