/*
Theme Name: Mentorea
Theme URI: https://weblish.io
Author: Weblish
Author URI: https://weblish.io
Description: Mentorea is a modern, professional WordPress blogging theme. Features include beautiful animations, responsive design, blog listing with pagination, single blog post display, and contact form integration with Weblish API.
Version: 1779192054
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mentorea
Tags: blog, one-column, custom-menu, featured-images, theme-options, translation-ready

Mentorea WordPress Blogging Theme - Converted from Webflow template for Weblish
*/

/* Theme styles are loaded from css/ directory via functions.php */

body {
  background-color: var(--wl-background);
  color: var(--wl-text);
  font-family: var(--wl-body-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wl-text);
  font-family: var(--wl-heading-font);
}

a {
  color: var(--wl-primary);
}

a:hover {
  color: var(--wl-primary-hover);
}

::selection {
  background: var(--wl-highlight-bg);
  color: var(--wl-highlight-text);
}

.text-color-secondary,
.blog-meta-label,
.contact_info-title,
.pagination-label {
  color: var(--wl-muted-text) !important;
}

.button,
.button.w-button,
.button.w-inline-block {
  border-color: var(--wl-primary);
  padding: 0.75rem 1.5rem !important;
  min-height: 3rem;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.button.is-primary,
.button.is-tertiary {
  background-color: var(--wl-primary);
  color: var(--wl-surface);
}

.button.is-primary {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  align-items: center;
}

.button.is-primary:where(.w-variant-0430e78c-6198-4121-8bff-0731d31f0de9) {
  padding-right: 1.5rem !important;
}

.button.is-primary:hover,
.button.is-tertiary:hover {
  background-color: var(--wl-primary-hover);
  color: var(--wl-surface);
}

.button.is-outline,
.button.is-secondary {
  border: 1px solid var(--wl-border);
  background-color: var(--wl-surface);
  color: var(--wl-secondary);
}

.button.is-outline:hover,
.button.is-secondary:hover {
  border-color: var(--wl-primary);
  background-color: var(--wl-pill-bg);
  color: var(--wl-pill-text);
}

.link-underline {
  background-color: var(--wl-accent);
}

.navbar,
.footer,
.blog-sidebar-meta,
.contact_data-card,
.blog-detail-article {
  border-color: var(--wl-border);
}

.navbar {
  background-color: var(--wl-surface);
}

.nav_links,
.footer_link,
.footer_links-title .text-base {
  color: var(--wl-text);
}

.nav_links:hover,
.footer_link:hover {
  color: var(--wl-primary);
}

.footer {
  background-color: var(--wl-secondary);
}

.footer .text-5xl,
.footer .text-base,
.footer .text-sm,
.footer .footer_link,
.footer .footer_links-title .text-base {
  color: var(--wl-surface);
}

.footer-brand-logo-wrap img {
  filter: brightness(0) invert(1);
}

.footer_input,
.form_input {
  border-color: var(--wl-border);
  color: var(--wl-text);
  background-color: var(--wl-surface);
}

.footer_input::placeholder,
.form_input::placeholder {
  color: var(--wl-muted-text);
}

.footer_input:focus,
.form_input:focus {
  border-color: var(--wl-primary);
  box-shadow: 0 0 0 3px var(--wl-focus-ring);
}

.footer_media-link,
.contact_social-link.is-tertiary {
  border: 1px solid var(--wl-border);
  background-color: var(--wl-primary);
  color: var(--wl-surface);
}

.footer_media-link:hover,
.contact_social-link.is-tertiary:hover {
  background-color: var(--wl-primary-hover);
}

.section_contact.is-secondary .contact_title .text-5xl {
  color: var(--wl-surface);
}

.contact_data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.contact_data .contact_data-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  align-items: flex-start;
}

.contact_data .cotact_data-card-content {
  min-width: 0;
  flex: 1;
}

.contact_data .contact_info-title,
.contact_data .contact_info-description {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact_data .contact_social-link {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.badge-pill {
  display: inline-flex;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  padding: 0.375rem 0.85rem;
  background: var(--wl-pill-bg);
  color: var(--wl-pill-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.blog-empty-state {
  padding: 3rem;
  text-align: center;
}

.blog-empty-state .text-base {
  margin-top: 1rem;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  overflow: visible;
}

.blog-detail-content {
  min-width: 0;
}

.blog-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
  min-width: 0;
  overflow: visible;
}

.blog-sidebar-meta {
  border: 1px solid var(--wl-border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: var(--wl-surface);
}

.blog-author-profile {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.blog-author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--wl-border);
}

.blog-meta-list {
  display: grid;
  gap: 0.75rem;
}

.blog-meta-item {
  display: grid;
  gap: 0.2rem;
}

.blog-sidebar-sticky {
  position: sticky;
  top: var(--weblish-sticky-offset, 96px);
  z-index: 1;
  align-self: start;
}

.blog-sticky-cta-banner,
.blog-end-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--wl-border);
  background-color: var(--wl-secondary);
  background-size: cover;
  background-position: center;
  color: var(--wl-surface);
}

.blog-sticky-cta-banner {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.blog-end-cta-banner {
  margin-top: 2rem;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-cta-content h2,
.blog-cta-content p {
  color: var(--wl-surface);
}

.blog-cta-content p {
  margin-top: 0.4rem;
}

.blog-detail-featured {
  margin-bottom: 2rem;
}

.blog-detail-richtext {
  color: var(--wl-text);
}

.blog-back-button {
  margin-top: 2rem;
}

.blog-detail-header {
  margin-bottom: 1.5rem;
}

.section_articles,
.section_articles .padding-global,
.section_articles .container-large,
.section_articles .content-wrap,
.blog-detail-layout,
.blog-detail-sidebar {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  contain: none !important;
}

@media (max-width: 900px) {
  .contact_data {
    grid-template-columns: 1fr;
  }

  .blog-detail-layout {
    display: block;
  }

  .blog-detail-sidebar {
    margin-top: 1.5rem;
  }

  .blog-sidebar-sticky {
    position: static;
  }

  .blog-end-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes mentorea-mobile-nav-fade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .w-nav-menu[data-nav-menu-open] {
    animation: mentorea-mobile-nav-fade 0.22s ease;
  }
}
