/* Last-Modified: Sat, 1 Jan 2000 10:00:30 GMT [ver: ] */
/* Current-Time:Thu, 29 Oct 2026 02:38:57 -0500*/
/* Hide RSS link in Works header, keep its space */
.faso-works-label-header-link-feed{
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Works header filters: keep only "All" */
.faso-works-label-header-link-originals,
.faso-works-label-header-link-editions,
.faso-works-label-header-link-open{
  display: none !important;
}

/* Restore click + hover affordance for "All" filter */
.faso-works-label-header-link-all{
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Ensure the Works filter area can receive clicks (parents matter) */
.faso-works-section-header-links,
.faso-works-section-header-links-filters,
.faso-works-section-header-links-filters li{
  pointer-events: auto !important;
}

/* Bring the "All" link above any transparent overlay */
.faso-works-label-header-link-all{
  position: relative !important;
  z-index: 10 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Wyeth mobile: center the "All works" filter */
@media (max-width: 768px){
  .faso-works-section-header .col-3-4.text-right-center{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .faso-works-section-header-links-filters{
    display: inline-flex !important;
    justify-content: center !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Wyeth mobile: make Works filter column full-width so centering is true */
@media (max-width: 768px){
  .faso-works-section-header .col-3-4{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Replace "All" with "All works" in Works header */
.faso-works-label-header-link-all{
  font-size: 0 !important;   /* hide original text */
}

.faso-works-label-header-link-all::after{
  content: "All works";
  font-size: 1rem;           /* adjust if needed */
  cursor: pointer;
}

/* Wyeth mobile: truly center "All works" by neutralizing padding/offsets */
@media (max-width: 768px){
  /* remove any side padding that causes visual left shift */
  .faso-works-section-header .col-3-4.text-right-center{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;  /* keep your intent */
    text-align: center !important;
  }

  /* make the UL occupy full width so centering is based on the viewport */
  .faso-works-section-header-links-filters{
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
  }

  /* some themes add left padding to inline lists */
  .faso-works-section-header-links-filters.inline-list{
    padding-left: 0 !important;
  }

  /* prevent any leftover li spacing from nudging it */
  .faso-works-section-header-links-filters li{
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Hide “Professional Artist Website by FASO” footer credit */
.faso-tagline{
  display: none !important;
}
/* Homepage newsletter widget: change wording only */
.widget_sidebar_newsletter h3{
  visibility: hidden !important;
  position: relative !important;
}

.widget_sidebar_newsletter h3::after{
  visibility: visible !important;
  content: "Receive occasional updates";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
}

/* Hide footer email address */
.faso-contact-tagline{
  display: none !important;
}

/* Hide "Get New Art Alerts" link */
.faso-myic{
  display: none !important;
}

/* Hide the public "Edit My Site" link (most reliable) */
a[href*="cfgeditwebsite.asp"],
a[href*="cfgeditwebsite"]{
  display: none !important;
}

/* Backup: hide wrapper if present */
.edit-site{
  display: none !important;
}

/* Only on the works pages */
body a[href*="page=AllWorks"] {} /* dummy: ensures page context exists in Wyeth */
body:has(a[href*="page=AllWorks"]) h1.page-title{
  visibility: hidden !important;
  position: relative !important;
}

body:has(a[href*="page=AllWorks"]) h1.page-title::after{
  visibility: visible !important;
  content: "Selected Artworks";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

/* Contact page: change "Contact the Artist" -> "Contact Us" */
body:has(form[action*="contact"]) h1.page-title{
  visibility: hidden !important;
  position: relative !important;
}

body:has(form[action*="contact"]) h1.page-title::after{
  visibility: visible !important;
  content: "Contact Us";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

/* Replace "Not For Sale" with "Estate of the Artist" (Wyeth works grid) */
figure.hover-effect img[src*="sold=Not For Sale"] 
  ~ figcaption .details small span:last-of-type{
  visibility: hidden !important;
  position: relative !important;
  display: inline-block !important;
}

figure.hover-effect img[src*="sold=Not For Sale"] 
  ~ figcaption .details small span:last-of-type::after{
  visibility: visible !important;
  content: "Estate of the Artist";
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

/* Replace "Lost" with "Whereabouts Unknown" (Wyeth works grid) */
figure.hover-effect img[src*="sold=Lost"] 
  ~ figcaption .details small span:last-of-type{
  visibility: hidden !important;
  position: relative !important;
  display: inline-block !important;
}

figure.hover-effect img[src*="sold=Lost"] 
  ~ figcaption .details small span:last-of-type::after{
  visibility: visible !important;
  content: "Whereabouts Unknown";
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

/* ===== Portfolio page: remove global navigation affordances ===== */

/* Hide "View all / All works" */
.faso-works-label-header-link-all{
  display: none !important;
}

/* Hide "View archived works" link anywhere on portfolio pages */
a[href*="archived"],
a[href*="archive"]{
  display: none !important;
}

/* Fallback: hide archive CTA text blocks */
.view-archived,
.archived-works,
.archive-link{
  display: none !important;
}

/* Hide "View archived works" link */
a.faso-works-link-archived-works,
a[href*="page=ArchivedWorks"]{
  display: none !important;
}

/* Newsletter page: change "my" to "our" in intro text */
.faso-en-section-info{
  visibility: hidden !important;
  position: relative !important;
}

.faso-en-section-info::after{
  visibility: visible !important;
  content: "To subscribe to our email newsletter, please complete the form.";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

/* Newsletter page: replace heading text */
.faso-en-data-heading{
  visibility: hidden !important;
  position: relative !important;
}

.faso-en-data-heading::after{
  visibility: visible !important;
  content: "Bob Richey Pastels Newsletter";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
}

/* Contact page only: change the title */
body:has(form#cf input[name="type"][value="contact-message"]) h1.page-title{
  visibility: hidden !important;
  position: relative !important;
}

body:has(form#cf input[name="type"][value="contact-message"]) h1.page-title::after{
  visibility: visible !important;
  content: "Contact the Estate";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

/* FORCE line-height + spacing for list items in main content */
html body #wrapper .main ul li{
  line-height: 1.5 !important;
  margin-bottom: 0.35em !important;
}

html body #wrapper .main ul li *{
  line-height: inherit !important;
}

