/* ==========================================
   Femdoo — Article Content Images + Lightbox
   ========================================== */


/* Femdoo article lightbox – use full viewport height */

.fdmwpuf-lb-img {
  max-height: 100vh !important;
  height: auto !important;
}



/* ============================
   Femdoo Article Lightbox Overlay
   ============================ */


/* Base overlay container */

.fdmwpuf-lb {
}


/* Actual overlay box */

.fdmwpuf-lb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  pointer-events: none;
}


/* Keep image, arrows and close button above overlay */

.fdmwpuf-lb-stage {
  position: absolute;
  inset: 0;
}



/* ============================
   Femdoo Article Lightbox Controls
   ============================ */


/* Round button container */

.fdmwpuf-lb-btn {
  position: absolute;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
  background: #fff;
  padding: 0;
  line-height: 1;
  z-index: 2147483640;

  font-size: 0 !important;
  color: transparent !important;
}


/* Prev/Next arrows */

.fdmwpuf-lb-btn.fdmwpuf-lb-prev::before,
.fdmwpuf-lb-btn.fdmwpuf-lb-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #111;
}


/* Left arrow */

.fdmwpuf-lb-btn.fdmwpuf-lb-prev::before {
  border-left: 2px solid #111;
  transform: rotate(45deg);
}


/* Right arrow */

.fdmwpuf-lb-btn.fdmwpuf-lb-next::before {
  border-right: 2px solid #111;
  transform: rotate(-45deg);
}


/* Position previous */

.fdmwpuf-lb-btn.fdmwpuf-lb-prev {
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}


/* Position next */

.fdmwpuf-lb-btn.fdmwpuf-lb-next {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}


/* Close button */

.fdmwpuf-lb-btn.fdmwpuf-lb-close {
  top: 14px;
  right: 16px;
}


/* Draw X */

.fdmwpuf-lb-btn.fdmwpuf-lb-close::before,
.fdmwpuf-lb-btn.fdmwpuf-lb-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #111;
  border-radius: 999px;
}

.fdmwpuf-lb-btn.fdmwpuf-lb-close::before {
  transform: rotate(45deg);
}

.fdmwpuf-lb-btn.fdmwpuf-lb-close::after {
  transform: rotate(-45deg);
}


/* Smaller white circles */

.fdmwpuf-lb .fdmwpuf-lb-btn {
  width: 32px !important;
  height: 32px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35) !important;
}



/* ========================================
   Femdoo — Published Article Content Images
   ======================================== */


/* Single images: responsive */

[data-femdoo-key="femdoo_article_content"] img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}


/* Kill pasted/old left and right alignment */

[data-femdoo-key="femdoo_article_content"] img.alignleft,
[data-femdoo-key="femdoo_article_content"] img.alignright,
[data-femdoo-key="femdoo_article_content"] .alignleft,
[data-femdoo-key="femdoo_article_content"] .alignright {
  float: none !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Center common image wrappers */

[data-femdoo-key="femdoo_article_content"] figure,
[data-femdoo-key="femdoo_article_content"] .wp-caption,
[data-femdoo-key="femdoo_article_content"] a:has(> img) {
  float: none !important;
  clear: both !important;
  margin: 12px auto !important;
  max-width: 100% !important;
}


/* 2 / 3 / 4 image grids */

[data-femdoo-key="femdoo_article_content"] .fdm-imgmunity.fdm-c2,
[data-femdoo-key="femdoo_article_content"] .fdm-imgmunity.fdm-c3,
[data-femdoo-key="femdoo_article_content"] .fdm-imgmunity.fdm-c4 {
  width: 100% !important;
  max-width: 600px !important;
  margin: 12px auto !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
}


/* Grid tile buttons */

[data-femdoo-key="femdoo_article_content"] .fdm-imgmunity .fdm-tile button {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}


/* Grid images */

[data-femdoo-key="femdoo_article_content"] .fdm-imgmunity .fdm-img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}



/* ========================================
   Center inline/content article images
   ======================================== */

[data-femdoo-key="femdoo_article_content"] figure,
[data-femdoo-key="femdoo_article_content"] figure.fdwf-media,
[data-femdoo-key="femdoo_article_content"] figure.wp-block-image,
[data-femdoo-key="femdoo_article_content"] .wp-caption {
  float: none !important;
  clear: both;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}


/* Kill WordPress alignment */

[data-femdoo-key="femdoo_article_content"] .alignleft,
[data-femdoo-key="femdoo_article_content"] .alignright,
[data-femdoo-key="femdoo_article_content"] .aligncenter {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Center actual images */

[data-femdoo-key="femdoo_article_content"] figure > img,
[data-femdoo-key="femdoo_article_content"] img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100%;
  height: auto;
}


/* Center captions */

[data-femdoo-key="femdoo_article_content"] figcaption,
[data-femdoo-key="femdoo_article_content"] .wp-caption-text {
  text-align: center;
}










.fd-article-title {
  color: #222222 !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 52px !important;
}







.fd-article-excerpt {
  color: #6B6B6B !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 27px !important;

  margin-top: -8px !important;
}











/* =========================================
   FEMDOO — ARTICLE AUTHOR
   Match old Elementor layout
   ========================================= */

.fd-article-author {
  position: relative !important;
  display: block !important;

  /* 56px avatar + 16px space */
  padding-left: 54px !important;

  margin-top: 26px !important;
}


/* Avatar — centered across both text lines */
.fd-article-author-avatar {
  position: absolute !important;

  left: 0 !important;
  top: 6px !important;

  width: 56px !important;
  height: 56px !important;
}

.fd-article-author-avatar a {
  display: block !important;
}

.fd-article-avatar-image {
  display: block !important;
  width: 56px !important;
  height: 56px !important;

  border-radius: 50% !important;
  object-fit: cover !important;
}


/* Username */
.fd-article-author-name {
  display: inline-block !important;

  color: #494954 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 26px !important;

  margin: 0 !important;
  padding: 0 !important;

  text-decoration: none !important;
}

a.fd-article-author-name:hover {
  color: #494954 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}


/* =========================================
   PUBLISHED INFO + READ TIME
   ========================================= */

.fd-article-info {
  color: #888A94 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;

  /* Same left edge as username */
  margin-left: 55px !important;

  /* Small natural gap under username */
  margin-top: 4px !important;
}

.fd-article-published,
.fd-article-read-time,
.fd-article-info-separator {
  color: #888A94 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}


/* =========================================
   FEATURED IMAGE SPACING
   ========================================= */

.fd-article-featured {
  margin-top: 70px !important;
}




















/* =========================================
   FEMDOO — ARTICLE CONTENT
   ========================================= */

/* Headings inside published article content */
.fd-article-content h2 {
  font-size: 30px !important;
  line-height: 39px !important;
  font-weight: 600 !important;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

.fd-article-content h3 {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 600 !important;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

.fd-article-content h4 {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

/* Paragraphs inside published article content */
.fd-article-content p {
  color: #333333 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  margin-bottom: 1.2em;
}

/* Images inside article content */
.fd-article-content img {
  border-radius: 12px !important;
}

/* Article links */
.fd-article-content a {
  color: #0066ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fd-article-content a:hover {
  color: #3366cc;
  text-decoration: underline;
}

/* =========================================
   FEMDOO — RELATED POSTS GRID
   ========================================= */

.femdoo-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.femdoo-related-post-card {
  background: #fff;
  overflow: hidden;
}

.femdoo-thumb {
  margin-bottom: 12px;
}

.femdoo-thumb img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.femdoo-post-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 5px;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.femdoo-post-title:hover {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}

.femdoo-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.femdoo-excerpt {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.read-more-wrapper {
  margin-top: 10px;
  font-size: 15px;
}

.read-more-link {
  color: #0085ff;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.read-more-link .dots {
  color: #000;
  margin-right: 4px;
}

.read-more-link:hover {
  color: #2187f8;
}

/* =========================================
   FEMDOO — ARTICLE FEATURED IMAGE SOFT LINE
   ========================================= */

img[src*="/article-featureimage/"] {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07) !important;
  outline: 0 !important;
  box-sizing: border-box !important;
}

/* =========================================
   FEMDOO — ARTICLE GRID IMAGE SOFT LINE
   ========================================= */

.fd-article-content .fdm-imgmunity .fdm-tile > button > img.fdm-img {
  outline: 1px solid rgba(0, 0, 0, 0.07) !important;
  outline-offset: -1px !important;
  box-sizing: border-box !important;
}

















/* ========================================
   FEMDOO — ARTICLE IMAGE GRID LAYOUT
   2 / 3 / 4 images
   ======================================== */

.fd-article-content .fdm-imgmunity {
  position: relative !important;
  display: grid !important;

  gap: 6px !important;

  width: 100% !important;
  max-width: 600px !important;

  aspect-ratio: 3 / 2 !important;

  margin: 12px auto !important;

  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;

  border-radius: 12px !important;
  overflow: hidden !important;
  background: transparent !important;

  box-sizing: border-box !important;
}


/* Grid tiles */
.fd-article-content .fdm-imgmunity .fdm-tile {
  position: relative !important;

  width: 100% !important;
  height: 100% !important;

  overflow: hidden !important;
  border-radius: inherit !important;
  background: transparent !important;
}


/* Tile buttons */
.fd-article-content .fdm-imgmunity .fdm-tile > button {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  background: transparent !important;

  cursor: pointer !important;
}


/* Images inside grid tiles */
.fd-article-content .fdm-imgmunity .fdm-img {
  position: absolute !important;
  inset: 0 !important;

  display: block !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center center !important;

  border-radius: inherit !important;
}


/* ========================================
   2 IMAGES
   ======================================== */

.fd-article-content .fdm-imgmunity.fdm-c2 {
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr !important;
  aspect-ratio: 3 / 2 !important;
}


/* ========================================
   3 IMAGES
   Large image left
   Two stacked images right
   ======================================== */

.fd-article-content .fdm-imgmunity.fdm-c3 {
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
}

.fd-article-content .fdm-imgmunity.fdm-c3 .fdm-tile:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

.fd-article-content .fdm-imgmunity.fdm-c3 .fdm-tile:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.fd-article-content .fdm-imgmunity.fdm-c3 .fdm-tile:nth-child(3) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}


/* ========================================
   4 IMAGES
   2 × 2 grid
   ======================================== */

.fd-article-content .fdm-imgmunity.fdm-c4 {
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
}


/* ========================================
   +N OVERLAY
   ======================================== */

.fd-article-content .fdm-more {
  position: absolute !important;

  right: 10px !important;
  bottom: 10px !important;

  z-index: 2 !important;

  min-width: 40px !important;
  height: 30px !important;
  padding: 0 10px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;

  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;

  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
}








.femdoo-about-writer-title {
  color: #333333 !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 39px !important;
}










.femdoo-about-writer {
  border-top: 1px solid #E2E2E2;
  padding-top: 1px;
  margin-top: 50px;
}
















.femdoo-writer-name a {
  color: #494954 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 26px !important;
  text-decoration: none !important;
}




/* Writer layout */
.femdoo-writer {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* Name + bio area beside avatar */
.femdoo-writer-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Username above */
.femdoo-writer-name {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
}

/* Bio directly below username */
.femdoo-writer-bio {
  margin: 0 !important;
  padding: 0 !important;
}





.femdoo-writer-name a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}


.femdoo-writer-avatar {
  position: relative !important;
  top: 4px !important;
}



.femdoo-writer-bio {
  margin-top: -4px !important;
}















/* =========================================
   FEMDOO — MORE ARTICLES / READ BY
   ========================================= */

.femdoo-about-writer + .content_linksblue {
  width: 100% !important;

  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;

  gap: 4px !important;

  margin-top: 125px !important;
  margin-bottom: 45px !important;

  text-align: right !important;
}








/* What Everyone's Writing */
.femdoo-related-posts-title {
  color: #333333 !important;
  font-size: 30px !important;
  font-weight: 500 !important;
}












/* PeepSo comments — separation from About the Writer */
.femdoo-peepso-comments {
  margin-top: 55px !important;
  padding-top: 30px !important;
  border-top: 1px solid #E2E2E2 !important;
}









/* =========================================
   FEMDOO — ARTICLE CONTENT PROPORTIONS
   Parent container is NOT touched
   ========================================= */


/* Everything centered at 60%
   = 20% space left + 20% space right */
.fd-article-title,
.fd-article-excerpt,
.fd-article-author,
.fd-article-info,
.fd-article-content,
.femdoo-about-writer,
.femdoo-peepso-comments,
.content_linksblue,
.femdoo-related-posts-title,
.femdoo-related-posts-grid {
  width: 60% !important;
  max-width: 60% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}









/* FEATURED IMAGE AREA — 80% CENTERED */
[data-femdoo-key="femdoo_article_featured_image"] {
  width: 80% !important;
  max-width: 80% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ACTUAL FEATURED IMAGE — NATURAL PROPORTION */
[data-femdoo-key="femdoo_article_featured_image"] img {
  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 500px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 12px !important;
}







/* Keep Published / Read Time aligned with username */
.fd-article-info {
  padding-left: 55px !important;
}























/* Whole row stays black */
.femdoo-peepso-comments ~ .content_linksblue {
  color: #000000 !important;
}


/* Links themselves */
.femdoo-peepso-comments ~ .content_linksblue a {
  color: #000000 !important;
  text-decoration: none !important;
}


/* ONLY username + Section are blue + blue underline */
.femdoo-peepso-comments ~ .content_linksblue .femdoo-author-name {
  color: #0066ff !important;

  text-decoration-line: underline !important;
  text-decoration-color: #0066ff !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}


/* Hover — slightly lighter blue */
.femdoo-peepso-comments ~ .content_linksblue a:hover .femdoo-author-name {
  color: #3388ff !important;
  text-decoration-color: #3388ff !important;
}


/* What Everyone's Writing */
.femdoo-related-posts-title {
  color: #333333 !important;
  font-size: 30px !important;
  font-weight: 500 !important;
}
















/* =========================================
   FEMDOO — MORE ARTICLES / READ BY
   ========================================= */

.femdoo-peepso-comments ~ .content_linksblue {
  width: 100% !important;

  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;

  gap: 4px !important;

  margin-top: 125px !important;
  margin-bottom: 45px !important;

  text-align: right !important;

  color: #000000 !important;
}


/* Links themselves */
.femdoo-peepso-comments ~ .content_linksblue a {
  color: #000000 !important;
  text-decoration: none !important;
}


/* ONLY username + Section are blue + blue underline */
.femdoo-peepso-comments ~ .content_linksblue .femdoo-author-name {
  color: #0066ff !important;

  text-decoration-line: underline !important;
  text-decoration-color: #0066ff !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}


/* Hover — slightly lighter blue */
.femdoo-peepso-comments ~ .content_linksblue a:hover .femdoo-author-name {
  color: #3388ff !important;
  text-decoration-color: #3388ff !important;
}










/* PeepSo article comments spinner — WHITE in dark mode */
:root:not(.femdoo-lightmode)
.femdoo-peepso-comments.femdoo-peepso-loading::after {
  border-color: rgba(255, 255, 255, 0.20) !important;
  border-top-color: #ffffff !important;

  /* Cancel Femdoo's global page inversion */
  filter: invert(1) hue-rotate(180deg) !important;
}