/* =====================================================================
   RichardWing.com - shared design system (RW-WP-2)
   Tokens = dev.productremixer.com :root (Richard 2026-11-22: "use these style/look/feel ... across all of our sites").
   Code only: no Jannah theme options are changed. Loaded after Jannah + child style.css.
   ===================================================================== */
:root{
	--rw-ink:#0f1a2e; --rw-ink2:#1b2a45; --rw-paper:#f7f3ec; --rw-card:#fff; --rw-line:#e7e0d4;
	--rw-mut:#5d6677; --rw-acc:#e8743b; --rw-acc-dark:#c95f2a; --rw-acc2:#f6c65b; --rw-teal:#2bb3a3;
	--rw-r:18px; --rw-r-sm:12px; --rw-max:1120px;
	--rw-font:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	--rw-shadow:0 1px 2px rgba(15,26,46,.05),0 8px 24px rgba(15,26,46,.06);
}

/* ---------- base ---------- */
body, body.boxed-layout, #tie-body{ background:var(--rw-paper)!important; }
body, button, input, select, textarea, .post-title, .entry, h1,h2,h3,h4,h5,h6,
.main-nav, .top-nav, .widget-title, .section-title, .the-subtitle, .mag-box-title, .drts{ font-family:var(--rw-font)!important; }
body{ color:var(--rw-ink); font-size:17px; line-height:1.6; }
#tie-wrapper, .background-overlay{ background:var(--rw-paper)!important; }
a{ color:var(--rw-ink); }
.entry a, .drts-entity-field-value a{ color:var(--rw-acc-dark); text-decoration:underline; text-underline-offset:2px; }
h1,h2,h3,.post-title,.entry-title{ color:var(--rw-ink); letter-spacing:-.02em; }
h1.post-title, h1.entry-title, .page-title{ font-weight:700; letter-spacing:-.03em; line-height:1.1; }
::selection{ background:var(--rw-acc2); color:var(--rw-ink); }

/* ---------- header ---------- */
#theme-header, #theme-header.header-layout-3, .top-nav, #top-nav{ background:var(--rw-paper)!important; border:0!important; box-shadow:none!important; }
#top-nav{ border-bottom:1px solid var(--rw-line)!important; }
#top-nav, #top-nav a, #top-nav .topbar-today-date{ color:var(--rw-mut)!important; }
.main-nav-wrapper .main-nav, #main-nav, #main-nav.main-nav-boxed .main-menu-wrapper,
.main-nav-dark .main-nav, .main-nav-boxed .main-menu-wrapper{ background:rgba(15,26,46,.96)!important; border:0!important; }
#main-nav.main-nav-boxed .main-menu-wrapper, .main-nav-boxed .main-menu-wrapper{ border-radius:var(--rw-r-sm); overflow:visible; }
#main-nav .main-menu > ul > li > a, #main-nav .components a{ color:#e9edf5!important; font-weight:600; letter-spacing:0; text-transform:none; font-size:15px; }
#main-nav .main-menu > ul > li:hover > a, #main-nav .main-menu > ul > li.tie-current-menu > a,
#main-nav .main-menu > ul > li.current-menu-item > a, #main-nav .main-menu > ul > li.current-menu-parent > a{ background:transparent!important; color:var(--rw-acc2)!important; }
#main-nav .main-menu > ul > li.tie-current-menu > a:before, #main-nav .main-menu > ul > li > a:before{ display:none!important; }
#main-nav .menu-sub-content, #main-nav .mega-menu-block, #main-nav .sub-menu{ background:var(--rw-card)!important; border:1px solid var(--rw-line)!important; border-radius:var(--rw-r-sm); box-shadow:var(--rw-shadow)!important; }
#main-nav .sub-menu a, #main-nav .menu-sub-content a{ color:var(--rw-ink)!important; }
#main-nav .sub-menu a:hover{ color:var(--rw-acc-dark)!important; }
#main-nav .search-field, #main-nav input{ background:rgba(255,255,255,.08)!important; border-radius:999px!important; color:#fff!important; border:0!important; }

/* ---------- wordmark (live text, same font as Product Remixer; RW-BRAND-1 weights kept) ---------- */
#logo.image-logo picture.tie-logo-default, #logo .tie-logo-img-default{ display:none!important; }
#logo .rw-wordmark{ display:inline-flex; align-items:center; gap:12px; text-decoration:none; }
#logo .rw-wordmark img{ width:46px; height:46px; border-radius:11px; display:block; }
#logo .rw-wordmark .rw-word{ font-family:var(--rw-font); font-size:40px; line-height:1; letter-spacing:-.035em; color:var(--rw-ink); white-space:nowrap; }
#logo .rw-wordmark .rw-word b{ font-weight:800; }
#logo .rw-wordmark .rw-word span{ font-weight:300; color:#7A7D85; }
#logo .rw-tagline{ font-family:var(--rw-font)!important; font-weight:500!important; font-size:12px!important; letter-spacing:.22em!important; color:var(--rw-mut)!important; margin:8px 0 0 58px!important; }
@media (max-width:991px){ #logo .rw-wordmark img{ width:34px;height:34px;border-radius:8px } #logo .rw-wordmark .rw-word{ font-size:28px } }

/* ---------- content containers / sidebar widgets ---------- */
.container-wrapper, .post-content.container-wrapper, .widget, .mag-box .container-wrapper,
#comments, .about-author, .post-components > div, .share-buttons-bottom{ background:var(--rw-card)!important; border:1px solid var(--rw-line)!important; border-radius:var(--rw-r)!important; box-shadow:var(--rw-shadow)!important; }
.widget-title, .mag-box-title, .block-head-1 .the-global-title{ border-color:var(--rw-line)!important; }
.block-head-1 .the-global-title:after, .block-head-1 .widget-title:after{ background:var(--rw-acc)!important; }
.block-head-1 .the-global-title:before{ border-color:var(--rw-line)!important; }
#breadcrumb, #breadcrumb a{ color:var(--rw-mut)!important; font-size:14px; }

/* ---------- buttons ---------- */
.button, .btn, a.button, input[type="submit"], button[type="submit"], .rwdt-visit-btn,
.drts .drts-bs-btn-primary{ background:var(--rw-acc)!important; border-color:var(--rw-acc)!important; color:#fff!important;
	border-radius:999px!important; font-weight:650!important; font-family:var(--rw-font)!important; box-shadow:none!important; }
.button:hover, .btn:hover, input[type="submit"]:hover, .rwdt-visit-btn:hover, .drts .drts-bs-btn-primary:hover{ background:var(--rw-acc-dark)!important; border-color:var(--rw-acc-dark)!important; opacity:1!important; }
.rwdt-visit-btn{ padding:.7em 1.5em!important; font-size:16px; }
.drts .drts-bs-btn-outline-secondary, .drts .drts-bs-btn-light, .drts .drts-bs-btn-secondary{ border-radius:999px!important; border-color:var(--rw-line)!important; color:var(--rw-ink)!important; background:var(--rw-card)!important; }
.drts .drts-bs-btn-outline-secondary:hover{ border-color:var(--rw-ink)!important; }
.drts .drts-bs-btn-outline-secondary.drts-bs-active, .drts .drts-bs-btn-outline-secondary:active{ background:var(--rw-ink)!important; color:#fff!important; border-color:var(--rw-ink)!important; }

/* ---------- forms ---------- */
input[type=text],input[type=email],input[type=url],input[type=search],input[type=number],input[type=password],select,textarea,
.drts .drts-bs-form-control, .drts .drts-bs-custom-select{ border:1px solid var(--rw-line)!important; border-radius:var(--rw-r-sm)!important; background:#fff!important; color:var(--rw-ink)!important; box-shadow:none!important; }
input:focus,select:focus,textarea:focus,.drts .drts-bs-form-control:focus{ border-color:var(--rw-acc)!important; outline:0; box-shadow:0 0 0 3px rgba(232,116,59,.18)!important; }

/* ---------- Directories Pro: shared ---------- */
.drts{ color:var(--rw-ink); font-size:16px; }
.drts a{ color:var(--rw-ink); }
.drts .drts-bs-badge, .drts .drts-entity-term{ border-radius:999px!important; }
.drts .drts-display-element-entity_field_directory_category-1 a,
.drts .directory-listing-terms a{ display:inline-block; font-size:13px; font-weight:600; color:var(--rw-ink2)!important; background:#f3ede2; border-radius:999px; padding:.2em .75em; text-decoration:none; }
.drts .drts-bs-list-group-item{ background:transparent!important; border-color:var(--rw-line)!important; padding:.6rem 0!important; }
.drts .drts-entity-field-label{ color:var(--rw-mut)!important; font-weight:600; }
.drts .drts-display-element-header, .drts .drts-entity-field-label-type-custom{ font-size:13px!important; letter-spacing:.08em; text-transform:uppercase; color:var(--rw-mut)!important; font-weight:700!important; margin-bottom:.5rem; }

/* ---------- Directories Pro: directory page (cards, sort bar, filters) ---------- */
.drts .drts-view-nav, .drts .drts-view-filters{ background:var(--rw-card); border:1px solid var(--rw-line); border-radius:var(--rw-r); padding:12px 16px; margin-bottom:18px; }
.drts .drts-display--summary{ background:var(--rw-card); border:1px solid var(--rw-line)!important; border-radius:var(--rw-r); box-shadow:var(--rw-shadow); overflow:hidden; transition:transform .15s ease, box-shadow .15s ease; }
.drts .drts-display--summary:hover{ transform:translateY(-2px); box-shadow:0 2px 4px rgba(15,26,46,.06),0 14px 32px rgba(15,26,46,.10); }
/* card picture: show the whole share image (they are ~1.9:1 and often carry text), never tiled */
.drts .drts-display--summary .directory-listing-photo, .drts .drts-display--summary .drts-display-element-entity_field_directory_photos-1{ background-color:#f3ede2!important; background-repeat:no-repeat!important; background-size:contain!important; background-position:center!important; }
.drts .drts-display--summary .drts-display-element-entity_field_post_title-1 a, .drts .drts-display--summary .drts-entity-field-value > a{ font-size:19px; font-weight:700; letter-spacing:-.01em; color:var(--rw-ink)!important; text-decoration:none!important; }
.drts .drts-display--summary .drts-display-element-entity_field_field_rw_summary-1{ color:var(--rw-mut); font-size:15px; line-height:1.5; }
.drts .drts-display--summary .drts-entity-fieldlist{ font-size:14px; }
.drts .drts-view-entities-list-row .drts-display--summary{ margin-bottom:16px; }
.drts .drts-pagination .drts-bs-page-link, .drts .drts-bs-pagination .drts-bs-page-link{ border-radius:999px!important; border-color:var(--rw-line)!important; color:var(--rw-ink)!important; margin:0 2px; }
.drts .drts-bs-pagination .drts-bs-active .drts-bs-page-link{ background:var(--rw-ink)!important; color:#fff!important; }

/* ---------- Directories Pro: listing page ---------- */
.single [class*="_dir_ltg"] .post-title, body[class*="_dir_ltg"] h1.post-title{ font-size:44px; }
.drts .drts-display--detailed .directory-listing-info{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.drts .drts-display--detailed .directory-listing-info .rwdt-logo{ margin:0!important; width:56px; height:56px; border-radius:14px; }
.drts .drts-display--detailed .directory-listing-info .rwdt-logo-img{ width:46px!important; height:46px!important; }
.drts .drts-display--detailed .directory-listing-photos, .drts .drts-slider-photos{ border-radius:var(--rw-r); overflow:hidden; border:1px solid var(--rw-line); background:#fff; }
.drts .drts-display--detailed .directory-listing-contact-info-container, .drts .drts-display--detailed .directory-listing-detailed-info-container{ background:var(--rw-card); border:1px solid var(--rw-line); border-radius:var(--rw-r); padding:20px 22px; margin-bottom:18px; box-shadow:var(--rw-shadow); }
.drts .drts-display-element-entity_field_field_rw_take-1{ background:#fbf8f2; border-left:4px solid var(--rw-acc); border-radius:0 var(--rw-r-sm) var(--rw-r-sm) 0; padding:14px 18px; margin:6px 0 18px; }
.drts .drts-display-element-entity_field_field_rw_take-1 .drts-entity-field-value{ font-size:17px; line-height:1.65; }
.drts .drts-display-element-entity_field_post_content-1{ font-size:17px; line-height:1.65; }
.rwdt-disclosure{ color:var(--rw-mut)!important; font-size:13px!important; }
.rwdt-aff-label{ border-color:var(--rw-line)!important; color:var(--rw-mut)!important; border-radius:999px!important; padding:.05em .6em!important; }
.rwdt-logo{ border-color:var(--rw-line)!important; }

/* ---------- footer ---------- */
#footer, #footer.dark-skin, .site-footer, #site-info{ background:var(--rw-ink)!important; }
#site-info{ background:#0b1424!important; border-top:1px solid rgba(255,255,255,.06); }
#footer .widget, #footer .container-wrapper{ background:transparent!important; border:0!important; box-shadow:none!important; }
#footer .widget-title .the-subtitle{ color:#fff!important; }
#footer a:hover{ color:var(--rw-acc2)!important; }

/* ---------- small screens ---------- */
@media (max-width:767px){
	body{ font-size:16px; }
	body[class*="_dir_ltg"] h1.post-title{ font-size:32px; }
	.drts .drts-display--detailed .directory-listing-contact-info-container, .drts .drts-display--detailed .directory-listing-detailed-info-container{ padding:16px; }
}

/* listing pages: Directories Pro shows the share image in its own photo block, so hide Jannah's featured image
   copy (the featured image stays set - it is what social networks use when the page is shared) */
body[class*="_dir_ltg"] .featured-area{ display:none!important; }

/* mobile fixes from Richard's phone screenshot (2026-11-22 16:26) */
/* sort/count bar: Directories Pro adds .drts-bs-p-0 (padding:0 !important), so the text touched the box edge */
.drts .drts-view-nav.drts-bs-p-0{ padding:12px 16px!important; }
.drts .drts-view-nav .drts-view-nav-item-name-num{ color:var(--rw-mut); font-size:15px; }
/* "New" / "Featured" labels on card pictures: badge had no background (white text on a pale image) */
.drts .drts-display-element-labels .drts-bs-badge{ background:var(--rw-acc)!important; color:#fff!important; font-weight:700; font-size:11px; letter-spacing:.04em; text-transform:uppercase; padding:.35em .7em!important; box-shadow:0 1px 3px rgba(15,26,46,.2); }

/* fixes from Richard's full-page desktop screenshot (2026-11-22 19:49) */
/* Visit button: Jannah's post-link colour (.entry a) turned the button text orange on orange */
.entry a.rwdt-visit-btn, .drts a.rwdt-visit-btn, a.rwdt-visit-btn:hover{ color:#fff!important; text-decoration:none!important; }
/* footer: no white cards inside widgets (about box, newsletter), light text on navy */
#footer .about-author, #footer .container-wrapper, #footer .widget .about-author, #footer .newsletter-widget,
#footer .widget_tie-newsletter, #footer [class*="author-bio"]{ background:transparent!important; border:0!important; box-shadow:none!important; }
#footer, #footer p, #footer .widget, #footer .about-author .author-bio, #footer .about-author p{ color:#c9cfdb!important; }
#footer .post-title, #footer .post-title a, #footer .widget a:not(.button):not(.tag-cloud-link), #footer h3, #footer h4{ color:#e9edf5!important; }
#footer .post-meta, #footer .date, #footer .meta-item{ color:#9aa3b5!important; }
#footer .tagcloud a, #footer .tag-cloud-link{ background:rgba(255,255,255,.06)!important; border-color:rgba(255,255,255,.12)!important; color:#e9edf5!important; border-radius:999px!important; }
#footer input[type=email], #footer input[type=text]{ background:rgba(255,255,255,.08)!important; border-color:rgba(255,255,255,.15)!important; color:#fff!important; }
/* Jannah prints "#the-post .entry-content a:not(.shortc-button){color:<post links colour>!important}" (inline, from
   Theme Options) - it beats class-only rules inside listings, so these carry the same #the-post weight */
#the-post .entry-content .drts a:not(.rwdt-visit-btn){ color:var(--rw-ink)!important; }
#the-post .entry-content .drts .drts-display-element-entity_field_post_content-1 a,
#the-post .entry-content .drts .drts-display-element-entity_field_field_rw_take-1 a{ color:var(--rw-acc-dark)!important; }
#the-post .entry-content .drts .rwdt-visit a.rwdt-visit-btn, #the-post .entry-content a.rwdt-visit-btn{ color:#fff!important; text-decoration:none!important; }
#the-post .entry-content .drts .directory-listing-terms a{ color:var(--rw-ink2)!important; text-decoration:none!important; }
/* footer about widget: the old Poppins logo image -> the same live-text wordmark as the header */
#footer .aboutme-widget .about-author-img[src*="richardwing-logo"]{ display:none!important; }
#footer #author-bio-widget-1 .aboutme-widget-content::before{ content:"Richard"; font:800 38px/1 var(--rw-font); letter-spacing:-.035em; color:#fff; }
#footer #author-bio-widget-1 .aboutme-widget-content::after{ content:"Wing"; font:300 38px/1 var(--rw-font); letter-spacing:-.035em; color:#9aa3b5; }
#footer #author-bio-widget-1 .aboutme-widget-content{ display:block; margin-top:14px; white-space:nowrap; }
