/* ===== Mobile/Tablet Figma-like layout ===== */

/* Dark background + base typography */
body.figma-mobile {
    background: #000 !important;
    color: #e8e8e8;
    font-family: 'Gotham', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400; /* Book as Regular */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body.figma-mobile h1,
  body.figma-mobile h2,
  body.figma-mobile h3,
  body.figma-mobile h4,
  body.figma-mobile h5,
  body.figma-mobile h6 {
    font-family: 'Gotham', sans-serif;
    color: #fff;
    letter-spacing: 0.3px;
  }
  
  /* Container that mimics the device viewport padding */
  .fg-shell {
    max-width: 420px;
    margin: 0 auto;
    padding: 24px 20px 48px;
  }
  
  /* Eyebrow (small subtitle, condensed look) */
  .fg-eyebrow {
    text-align: center;
    font-family: 'Gotham Narrow', 'Gotham', sans-serif;
    color: #bdbdbd;
    font-weight: 400; /* Narrow Book */
    font-size: 11px;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin: 4px 0 8px;
  }
  
  /* Main title */
  .fg-title {
    text-align: center;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 22px;
    margin: 8px 0 16px;
    text-transform: uppercase;
    letter-spacing: .3px;
  }
  
  /* Vertical hero image 335x542, rounded corners */
  .fg-hero {
    width: 335px;
    max-width: 100%;
    aspect-ratio: 335 / 542;
    display: block;
    margin: 0 auto 18px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    overflow: hidden;
  }
  
  /* Section title (e.g. BIOGRAFIA) */
  .fg-section-title {
    font-family: 'Gotham', sans-serif;
    color: #fff;
    font-weight: 700; /* Bold */
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin: 18px 0 8px;
  }
  
  /* Copy text */
  .fg-copy {
    font-family: 'Gotham', sans-serif;
    font-weight: 400; /* Book */
    color: #d6d6d6;
    font-size: 15px;
    line-height: 1.7;
	text-align:center;
  }
  
  /* Responsive video wrapper (added by filter) */
  .fg-embed {
    position: relative;
    width: 100%;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0 24px;
  }
  .fg-embed iframe,
  .fg-embed video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    display: block;
  }
  
  /* Quote / poem */
  .fg-quote {
    text-align: center;
    font-family: 'Gotham Narrow', 'Gotham', sans-serif;
    font-weight: 300; /* Narrow Light */
    color: #eeeeee;
    font-size: 14px;
    line-height: 1.9;
    margin: 24px 0;
  }
  .fg-quote .fg-quote-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700; /* Bold */
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .8px;
    margin-bottom: 8px;
    color: #ffffff;
  }
  .fg-quote .fg-quote-author {
    font-family: 'Gotham', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 11px;
    letter-spacing: .6px;
    color: #cfcfcf;
    margin-bottom: 12px;
  }
  
  /* Footer tag (e.g., VILAGALE.COM) */
  .fg-footer {
    text-align: center;
    font-family: 'Gotham', sans-serif;
    font-weight: 600; /* Medium between Book and Bold */
    color: #000;
	background-color:#fff;
    font-size: 12px;
    letter-spacing: .9px;
    margin-top: 28px;
    opacity: .9;
  }
  
  /* Neutralize parent containers when needed */
  body.figma-mobile .site,
  body.figma-mobile #page,
  body.figma-mobile .container {
    background: transparent !important;
    box-shadow: none !important;
  }


  /* ==== HARD OVERRIDES against parent theme when viewing CPT "content" ==== */

/* Kill white wrapper and shadows from parent */
body.figma-mobile .wikilogy-wrapper,
body.figma-mobile .site,
body.figma-mobile #page,
body.figma-mobile .container {
  background: transparent !important;
  box-shadow: none !important;
}

/* Remove big top padding the parent injects */
body.figma-mobile .site-sub-content-wrapper {
  padding-top: 0 !important;
}

/* Headings & links must be light on dark */
body.figma-mobile h1,
body.figma-mobile h2,
body.figma-mobile h3,
body.figma-mobile h4,
body.figma-mobile h5,
body.figma-mobile h6 {
  color: #fff !important;
}

body.figma-mobile a,
body.figma-mobile a:visited {
  color: #e6e6e6 !important;
}

body.figma-mobile a:hover,
body.figma-mobile a:focus {
  color: #ffffff !important;
  text-decoration: none;
}

/* Captions on dark */
body.figma-mobile .wp-caption {
  background: transparent !important;
  border: 0 !important;
}

body.figma-mobile .wp-caption p.wp-caption-text {
  color: #bdbdbd !important;
}

/* Horizontal rule on dark */
body.figma-mobile hr {
  border-top-color: #222 !important;
}

/* Tables on dark */
body.figma-mobile table {
  background: #0a0a0a !important;
  border-color: #222 !important;
  color: #ddd !important;
}

body.figma-mobile table thead th {
  background: #111 !important;
  color: #fff !important;
  border-color: #222 !important;
}

body.figma-mobile table td,
body.figma-mobile table th {
  border-color: #222 !important;
}

/* Blockquotes: match our .fg-quote instead of parent’s huge decorative quote */
body.figma-mobile blockquote {
  color: #ddd !important;
  font-style: normal !important;
  border: 0 !important;
  margin: 24px 0 !important;
  padding: 0 !important;
}

body.figma-mobile blockquote:before {
  display: none !important;
}

/* Forms on dark (in case any appear in content) */
body.figma-mobile input[type="email"],
body.figma-mobile input[type="number"],
body.figma-mobile input[type="password"],
body.figma-mobile input[type="tel"],
body.figma-mobile input[type="url"],
body.figma-mobile input[type="text"],
body.figma-mobile input[type="time"],
body.figma-mobile input[type="week"],
body.figma-mobile input[type="search"],
body.figma-mobile input[type="month"],
body.figma-mobile input[type="datetime"],
body.figma-mobile input[type="date"],
body.figma-mobile textarea,
body.figma-mobile select,
body.figma-mobile .form-control {
  background: #111 !important;
  color: #e6e6e6 !important;
  border: 1px solid #222 !important;
  font-style: normal !important;
}

body.figma-mobile ::placeholder {
  color: #9a9a9a !important;
}

body.figma-mobile button,
body.figma-mobile input[type="submit"] {
  background: #222 !important;
  color: #fff !important;
  border: 0 !important;
}

/* Ensure any parent “title” widgets don’t inject dark-on-light styles */
body.figma-mobile .wikilogy-title .title,
body.figma-mobile .wikilogy-title .shadow-title,
body.figma-mobile .category-list.style-2 li a {
  color: #fff !important;
}

/* Prevent fixed/boxed layouts from constraining our narrow mobile shell */
body.figma-mobile .fluid-container {
  padding-left: 20px !important;
  padding-right: 20px !important;
}


/* Gutenberg embed blocks on dark + responsive */
body.figma-mobile .wp-block-embed,
body.figma-mobile figure.wp-block-video {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 24px;
}
body.figma-mobile .wp-block-embed iframe,
body.figma-mobile figure.wp-block-video video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  display: block;
}

/* Images inside post content */
body.figma-mobile .entry-content img {
  border-radius: 12px;
  display: block;
  margin: 12px auto;
}

  