/* ======================================================
   ROOTS N PERMACULTURE
   Cassiopeia Child Template – Clean & Contemporary
   Font Scheme: Spectral (headings) · Raleway (nav) · Outfit (body)
   Version: 1.9

   HOW TO EDIT:
   - This file lives at: /templates/cassiopeia/css/user.css
   - Changes here override Cassiopeia defaults without
     touching core template files.
   - Google Fonts are loaded in Section 0 below via @import.
   - To swap a font, change the @import URL AND the
     font-family value in the relevant section.
   ====================================================== */


/* ======================================================
   0. GOOGLE FONTS
   Import all three fonts used in this theme:
     · Spectral       — elegant screen serif for headings
     · Raleway        — wide-tracked sans for navigation
     · Outfit         — clean geometric sans for body text
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');


/* ======================================================
   1. BRAND VARIABLES
   Central place to change colours site-wide.
   Edit values here and they cascade everywhere below.
   ====================================================== */
:root {
  /* Header background — deep forest green */
  --rnp-header-dark: #102415;

  /* Gold accent — used for borders, hover highlights, tagline */
  --rnp-gold: #D4952A;

  /* Page background — warm off-white parchment */
  --rnp-parchment: #F5F8F2;

  /* Main body text colour */
  --rnp-text: #202820;

  /* Heading colour — very dark forest green */
  --rnp-heading: #182810;

  /* H2 left-border accent — mid green */
  --rnp-h2-border: #5a9e30;

  /* Subheading (H3) colour — lighter green */
  --rnp-h3-color: #4a7e28;

  /* Link colours */
  --rnp-link: #2C5F2D;
  --rnp-link-hover: #1A3A1C;

  /* Override Cassiopeia's own colour variables */
  --cassiopeia-color-primary: #102415 !important;
  --cassiopeia-color-link: #2C5F2D !important;
  --cassiopeia-color-hover: #D4952A !important;
}


/* ======================================================
   2. GLOBAL BODY
   Sets the page background, default text colour,
   and body font (Outfit — clean geometric sans-serif).
   line-height 1.85 gives comfortable reading spacing.
   ====================================================== */
body {
  background-color: var(--rnp-parchment) !important;
  color: var(--rnp-text);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
}


/* ======================================================
   3. REMOVE ALL CASSIOPEIA GRADIENTS
   Cassiopeia adds gradient backgrounds to the header
   by default. This forces a clean flat colour instead.
   ====================================================== */
.bg-primary,
.header,
.container-header,
.container-header.full-width {
  background: var(--rnp-header-dark) !important;
  background-image: none !important;
  background-color: var(--rnp-header-dark) !important;
}


/* ======================================================
   4. HEADER STYLING
   Gold bottom border gives the header a grounded,
   defined base. Adjust padding to control logo spacing.
   ====================================================== */
.container-header {
  border-bottom: 4px solid var(--rnp-gold) !important;
  padding-top: 6px;
  padding-bottom: 6px;
}


/* ======================================================
   5. LOGO CONTROL
   Prevents the logo from distorting at different
   screen sizes. max-height controls how tall it appears.
   Increase max-height (e.g. 120px) to make it bigger.
   ====================================================== */
.navbar-brand img,
.brand-logo img {
  max-height: 70px !important;
  height: auto !important;
  width: auto !important;
  max-width: 400px !important;
  object-fit: contain;
  display: block;
}


/* ======================================================
   6. NAVIGATION — PRIMARY NAV LINKS
   Cassiopeia's menu module uses ul.mod-menu and
   ul.mod-menu > li.nav-item > a for top-level links.
   Font: Raleway — wide letter-spacing, uppercase.
   Kept compact to fit on one line alongside the logo.
   To adjust spacing between items edit padding values.
   ====================================================== */
ul.mod-menu > li.nav-item > a,
ul.mod-menu > li.nav-item > .nav-link {
  color: #e4dfc8 !important;
  font-family: "Raleway", sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 8px 10px !important;
  transition: color 0.2s ease;
  text-decoration: none;
}

ul.mod-menu > li.nav-item > a:hover,
ul.mod-menu > li.nav-item > a:focus {
  color: var(--rnp-gold) !important;
}

/* Active / current page highlight */
ul.mod-menu > li.nav-item.current > a,
ul.mod-menu > li.nav-item.active > a {
  color: var(--rnp-gold) !important;
}

/* Also keep the .navbar-nav fallback just in case */
.navbar-nav .nav-link {
  color: #e4dfc8 !important;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 10px !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--rnp-gold) !important;
}

/* Active / current page highlight */
.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .current-menu-item > .nav-link {
  color: var(--rnp-gold) !important;
}

/* The toggle button (chevron arrow) next to menu items */
.mod-menu__toggle-sub {
  background: transparent !important;
  border: none !important;
  color: #e4dfc8 !important;
  padding: 8px 4px !important;
  font-size: 10px !important;
}

.mod-menu__toggle-sub:hover {
  color: var(--rnp-gold) !important;
}


/* ======================================================
   6b. NAVIGATION — DROPDOWN MENUS
   Cassiopeia uses its own mod_menu system, NOT Bootstrap
   dropdowns. The actual classes in the HTML are:
     ul.mod-menu__sub        — the dropdown panel
     ul.mod-menu__sub li     — each list item
     ul.mod-menu__sub li a   — each link
   These are what we target here.
   ====================================================== */

/* Dropdown panel — warm dark green, gold top border.
   #162812 is very close to the header but with a subtle
   warm tint. Almost identical to header so feels unified,
   but just perceptibly different. To match header exactly
   use var(--rnp-header-dark) i.e. #102415.               */
ul.mod-menu__sub {
  background-color: #162812 !important;
  background: #162812 !important;
  border-top: 3px solid var(--rnp-gold) !important;
  border-bottom: 2px solid #5a9e30 !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
  min-width: 220px !important;
}

/* Each item in the dropdown — separator line */
ul.mod-menu__sub li {
  border-bottom: 1px solid rgba(90, 158, 48, 0.2) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Dropdown links — light green, Raleway uppercase */
ul.mod-menu__sub li a {
  font-family: "Raleway", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #c8e098 !important;
  padding: 11px 16px !important;
  display: block !important;
  background-color: transparent !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

/* Dropdown link hover — green highlight, gold text */
ul.mod-menu__sub li a:hover,
ul.mod-menu__sub li a:focus {
  background-color: rgba(90, 158, 48, 0.2) !important;
  color: var(--rnp-gold) !important;
  text-decoration: none !important;
}

/* Sub-dropdown (third level) — slightly darker, left border */
ul.mod-menu__sub ul.mod-menu__sub {
  border-top: none !important;
  border-left: 3px solid #5a9e30 !important;
  background-color: #0e1c0c !important;
  background: #0e1c0c !important;
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  min-width: 210px !important;
}

/* ======================================================
   6c. HOVER BEHAVIOUR NOTE
   All menu hover behaviour — both main dropdowns and
   nested sub-menus — is controlled entirely by the
   "RnP Submenu Hover Fix" Custom HTML module (JS).
   Do not add CSS show/hide rules here as they conflict
   with Cassiopeia's menu.min.js.
   ====================================================== */


/* ======================================================
   7. TYPOGRAPHY — HEADINGS
   Font: Spectral — an elegant screen-optimised serif.
   H1: Large, bold, dark green — main page titles.
   H2: Medium serif with a green left border — sections.
   H3: Small Raleway uppercase — sub-section labels.
   H4–H6: Outfit (body font) in semi-bold.

   To increase heading sizes, adjust font-size values.
   To change the H2 border colour, edit --rnp-h2-border.
   ====================================================== */

/* H1 — Main page/article title */
h1, .article-header h1, .page-header h1 {
  font-family: "Spectral", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--rnp-heading);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 0.4rem;
}

/* Gold accent bar sits directly under H1.
   Applied via a bottom border on the heading itself. */
h1 {
  border-bottom: 5px solid var(--rnp-gold);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

/* H2 — Section headings within an article */
h2 {
  font-family: "Spectral", serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #243818;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 14px;
  /* Green left border — the key visual rhythm of this theme */
  border-left: 4px solid var(--rnp-h2-border);
}

/* H3 — Sub-section labels */
h3 {
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rnp-h3-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* H4–H6 — Minor headings, sidebar titles, etc. */
h4, h5, h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--rnp-heading);
  margin-bottom: 0.5rem;
}


/* ======================================================
   8. BODY TEXT & PARAGRAPHS
   Outfit at 16px with 1.85 line-height is very readable.
   max-width on paragraphs keeps long lines comfortable —
   remove or increase if your layout uses wide columns.
   ====================================================== */
p {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--rnp-text);
  margin-bottom: 1rem;
}

/* Strong/bold text — slightly heavier weight */
strong, b {
  font-weight: 600;
}

/* Italic text — Outfit has a clean italic */
em, i {
  font-style: italic;
}


/* ======================================================
   9. LINKS
   Forest green links, darker on hover.
   Underline appears only on hover to keep pages clean.
   ====================================================== */
a {
  color: var(--rnp-link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--rnp-link-hover);
  text-decoration: underline;
}


/* ======================================================
   10. TAGLINE UNDER LOGO
   The site description / tagline text displayed in the
   header beneath the logo. Raleway tracks wide here to
   match the nav tone. Colour uses the gold accent.
   ====================================================== */
.navbar-brand + .navbar-text,
.site-description,
.container-header .site-description {
  display: block;
  width: 100%;
  text-align: left;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rnp-gold) !important;
  margin-top: 6px;
  margin-bottom: 0;
  opacity: 0.9;
}


/* ======================================================
   11. BREADCRUMBS
   Small Raleway uppercase trail above page titles.
   ====================================================== */
.breadcrumb {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 1.2rem;
}

.breadcrumb-item a {
  color: var(--rnp-h3-color);
}

.breadcrumb-item.active {
  color: #888;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #aaa;
}


/* ======================================================
   12. HEADER SOCIAL MEDIA ICONS
   Icons displayed in the header area (if enabled).
   Adjust font-size to resize icons, margin-left for spacing.
   ====================================================== */
.header-social {
  display: flex;
  align-items: center;
}

.header-social a {
  font-size: 20px;
  margin-left: 14px;
  color: #c0dc90;
  text-decoration: none;
  transition: color 0.2s;
}

.header-social a:hover {
  color: var(--rnp-gold);
}


/* ======================================================
   13. ARTICLE / CONTENT AREA
   Slight max-width constraint on article body text
   improves readability on wide screens.
   Remove max-width if your layout handles this elsewhere.
   ====================================================== */
.article-body,
.com-content-article__body,
.item-page .article-body {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--rnp-text);
}


/* ======================================================
   13a. HERO IMAGE — Full Article Image
   The fulltext image set in Joomla's article "Images
   and Links" tab is rendered via the full_image.php
   layout override (template/html/layouts/joomla/content/
   full_image.php). That override applies the class
   .pc-hero-image to the <figure> element, removing
   Cassiopeia's default float behaviour entirely.

   Rules here ensure:
   - The figure spans full content column width
   - No float is inherited from Cassiopeia or the article
   - The image fills its container and scales on mobile
   - 2rem bottom margin separates it cleanly from the
     article body text below
   ====================================================== */
.pc-hero-image {
  width: 100%;
  margin: 0 0 2rem 0;
  float: none !important;
}

.pc-hero-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}


/* ======================================================
   13b. ARTICLE IMAGES
   Hero "Full Article Image" spans 90% of page width and
   is centred. All other in-article images are 70% width
   and centred. Both scale down gracefully on mobile.
   Carousel images are explicitly exempted — the carousel
   manages its own internal image sizing.
   ====================================================== */

/* Full Article Image (hero image) — 90% width, centred */
.full-image,
.article-fullimg,
.com-content-article__image--full,
img.full {
  display: block !important;
  width: 90% !important;
  max-width: 90% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.5rem;
}

/* All other images inside article body — 70% width, centred.
   Excludes images inside .rnp-carousel-slide so the carousel
   internal layout is not overridden. */
.article-body img:not(.rnp-carousel-slide img),
.com-content-article__body img:not(.rnp-carousel-slide img),
.item-page .article-body img:not(.rnp-carousel-slide img) {
  display: block !important;
  width: 70% !important;
  max-width: 70% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.2rem;
}

/* Override: hero image inside article body stays 90% */
.article-body .full-image,
.article-body img.full,
.com-content-article__body .full-image,
.com-content-article__body img.full {
  width: 90% !important;
  max-width: 90% !important;
}

/* Carousel wrapper — 70% wide and centred to sit
   consistently alongside other article images */
.rnp-carousel-wrap {
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
}

/* Carousel slide images fill their cell — do not resize */
.rnp-carousel-slide img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Responsive: on small screens, both go full width */
@media (max-width: 640px) {
  .full-image,
  .article-fullimg,
  .com-content-article__image--full,
  img.full,
  .article-body img:not(.rnp-carousel-slide img),
  .com-content-article__body img:not(.rnp-carousel-slide img),
  .item-page .article-body img:not(.rnp-carousel-slide img) {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rnp-carousel-wrap {
    width: 100%;
    max-width: 100%;
  }

  .pc-hero-image img {
    width: 100% !important;
  }
}


/* ======================================================
   13c. FIGURES & FIGCAPTIONS
   Targets the actual HTML structure in articles:
     <figure class="pc-image-full">
       <a href="..."><img></a>   ← some figures have a link
       <img>                     ← others have img directly
       <figcaption>...</figcaption>
     </figure>
   The figure itself must not have a fixed width — the
   image 70% rule in 13b already handles sizing.
   We use inline-block on the figure so it shrink-wraps
   to its content, then auto margins centre it.
   figcaption then naturally aligns to the image edge.
   ====================================================== */

/* Reset browser figure margins */
figure {
  margin: 1.5rem 0;
  padding: 0;
}

/* Standalone full-width figures: shrink-wrap to image width */
figure.pc-image-full {
  display: block;
  text-align: center;
}

figure.pc-image-full figcaption {
  display: inline-block;
  width: 70%;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--rnp-h3-color, #4a7e28);
  padding: 5px 0 0 0;
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

/* Gallery figures: fill cell, caption flush left */
.pc-gallery figure {
  display: block;
  width: 100%;
  margin: 0;
}

.pc-gallery figcaption {
  display: block;
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--rnp-h3-color, #4a7e28);
  padding: 5px 0 0 0;
  margin: 0;
  text-align: left;
  line-height: 1.4;
}


/* ======================================================
   14. BUTTONS
   Outline-style button using the green/gold palette.
   .btn-primary matches Joomla's default button class.
   ====================================================== */
.btn-primary {
  background-color: var(--rnp-link) !important;
  border-color: var(--rnp-link) !important;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--rnp-link-hover) !important;
  border-color: var(--rnp-gold) !important;
}


/* ======================================================
   15. CATEGORY BLOG — ARTICLE CARDS
   RnP card layout for com_content category blog view.
   Overrides blog.php + blog_item.php template files.
   Uses existing brand variables defined in Section 1.
   ====================================================== */

/* ── Page Hero ─────────────────────────────────────── */
.rnp-blog-hero {
  background: var(--rnp-header-dark);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(212,149,42,.10) 0%, transparent 60%);
  padding: 48px 40px 40px;
  text-align: center;
  border-bottom: 3px solid var(--rnp-gold);
  margin-bottom: 0;
}

.rnp-blog-hero__title {
  font-family: "Spectral", serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 12px;
}

.rnp-blog-hero__title em {
  font-style: italic;
  color: var(--rnp-gold);
}

.rnp-blog-hero__desc {
  color: rgba(255,255,255,.65);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.rnp-blog-hero__desc p {
  color: rgba(255,255,255,.65);
  margin-bottom: 0;
}

/* ── View Toggle Bar ───────────────────────────────── */
.rnp-view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 20px;
  border-bottom: 1px solid #ddd8cc;
  margin-bottom: 28px;
}

.rnp-result-count {
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b7c6b;
  font-weight: 700;
}

.rnp-view-toggle {
  display: flex;
  gap: 6px;
}

.rnp-vt-btn {
  background: none;
  border: 1px solid #ddd8cc;
  border-radius: 3px;
  padding: 6px 10px;
  cursor: pointer;
  color: #6b7c6b;
  display: flex;
  align-items: center;
  transition: all .2s;
  line-height: 1;
}

.rnp-vt-btn.active,
.rnp-vt-btn:hover {
  background: var(--rnp-header-dark);
  border-color: var(--rnp-header-dark);
  color: var(--rnp-gold);
}

/* ── Lead (Featured) Item — full-width split card ──── */
.rnp-lead-items {
  margin-bottom: 32px;
}

.rnp-lead-item .rnp-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid #ddd8cc;
  background: #fff;
  transition: box-shadow .3s;
}

.rnp-lead-item .rnp-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.13);
}

.rnp-lead-item .rnp-card__img-wrap {
  display: block;
  min-height: 320px;
}

.rnp-lead-item .rnp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rnp-lead-item .rnp-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--rnp-header-dark) 0%, #3d6b3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rnp-lead-item .rnp-card__img-placeholder svg {
  width: 120px;
}

.rnp-lead-item .rnp-card__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rnp-lead-item .rnp-card__title {
  font-family: "Spectral", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rnp-heading);
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 14px;
  margin-top: 0;
}

/* ── Intro Items Grid ──────────────────────────────── */
.rnp-view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rnp-view-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Base Card ─────────────────────────────────────── */
.rnp-intro-item .rnp-card {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rnp-intro-item .rnp-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.11);
  transform: translateY(-3px);
}

/* Grid card image */
.rnp-intro-item .rnp-card__img-wrap {
  display: block;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}

.rnp-intro-item .rnp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.rnp-intro-item .rnp-card:hover .rnp-card__img {
  transform: scale(1.04);
}

.rnp-intro-item .rnp-card__img-placeholder {
  width: 100%;
  height: 185px;
  background: linear-gradient(135deg, #2c4a2c 0%, #4a7c59 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rnp-intro-item .rnp-card__img-placeholder svg {
  width: 64px;
}

/* Card body */
.rnp-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Category badge */
.rnp-card__badge {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rnp-gold);
  border: 1px solid var(--rnp-gold);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  width: fit-content;
}

/* Card title */
.rnp-card__title {
  font-family: "Spectral", serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--rnp-heading) !important;
  margin-bottom: 10px !important;
  margin-top: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  border-left: none !important;
  padding-left: 0 !important;
}

.rnp-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.rnp-card__title a:hover {
  color: var(--rnp-gold);
  text-decoration: none;
}

/* Excerpt */
.rnp-card__excerpt {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #6b7c6b;
  margin-bottom: 0;
  flex: 1;
}

.rnp-card__excerpt p {
  font-size: 14px;
  color: #6b7c6b;
  margin-bottom: 0;
}

/* Meta row */
.rnp-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: .5px;
  color: #8a9a8a;
  border-top: 1px solid #ddd8cc;
  padding-top: 14px;
  margin-top: 16px;
}

.rnp-card__meta-sep {
  color: #ddd8cc;
}

/* Read more link */
.rnp-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rnp-heading);
  text-decoration: none;
  transition: color .2s;
}

.rnp-card__readmore svg {
  transition: transform .2s;
  flex-shrink: 0;
}

.rnp-card__readmore:hover {
  color: var(--rnp-gold);
  text-decoration: none;
}

.rnp-card__readmore:hover svg {
  transform: translateX(4px);
}

/* ── List view overrides ───────────────────────────── */
.rnp-view-list .rnp-intro-item .rnp-card {
  flex-direction: row;
  height: auto;
  transform: none !important;
}

.rnp-view-list .rnp-intro-item .rnp-card__img-wrap {
  width: 160px;
  height: auto;
  min-height: 130px;
  flex-shrink: 0;
}

.rnp-view-list .rnp-intro-item .rnp-card__img {
  height: 100%;
}

.rnp-view-list .rnp-intro-item .rnp-card__img-placeholder {
  width: 160px;
  height: 100%;
  min-height: 130px;
}

.rnp-view-list .rnp-intro-item .rnp-card__body {
  padding: 18px 22px;
}

/* Lead list view */
.rnp-lead-list .rnp-lead-item .rnp-card {
  grid-template-columns: 220px 1fr;
}

/* ── Unpublished state ─────────────────────────────── */
.rnp-card--unpublished {
  opacity: .7;
  border-color: #e0c0a0 !important;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 992px) {
  .rnp-view-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rnp-lead-item .rnp-card {
    grid-template-columns: 1fr;
  }

  .rnp-lead-item .rnp-card__img-wrap {
    min-height: 220px;
  }

  .rnp-lead-item .rnp-card__body {
    padding: 28px 30px;
  }

  .rnp-blog-hero {
    padding: 36px 24px 32px;
  }
}

@media (max-width: 640px) {
  .rnp-view-grid {
    grid-template-columns: 1fr;
  }

  .rnp-view-list .rnp-intro-item .rnp-card {
    flex-direction: column;
  }

  .rnp-view-list .rnp-intro-item .rnp-card__img-wrap {
    width: 100%;
    height: 160px;
  }

  .rnp-view-list .rnp-intro-item .rnp-card__img-placeholder {
    width: 100%;
    height: 160px;
  }

  .rnp-blog-hero {
    padding: 28px 16px 24px;
  }
}
