/*
Theme Name: Sereniti Blog
Theme URI: https://weblish.io
Author: Weblish
Author URI: https://weblish.io
Description: A clean and modern WordPress blogging theme with beautiful design. Features responsive layouts, blog listings with pagination, and integrated contact functionality.
Version: 1777901757
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: sereniti
Tags: blog, blogging, custom-menu, featured-images, theme-options, responsive-layout

This theme converts Webflow designs to WordPress while preserving all original styling and animations.
*/

/* ==========================================================================
   Global Italic Text Styling - Use Arapey Font
   ========================================================================== */

/*
 * All italic text throughout the theme uses the Arapey font family.
 * This includes <em>, <i> tags, and the .text-style-italic class.
 */

em,
i,
.text-style-italic,
*[style*="font-style: italic"],
*[style*="font-style:italic"] {
  font-family: "Arapey", serif !important;
  font-style: italic;
}

/* Ensure all headings with em/i tags use Arapey */
h1 em, h1 i,
h2 em, h2 i,
h3 em, h3 i,
h4 em, h4 i,
h5 em, h5 i,
h6 em, h6 i,
.heading-style-h1 em, .heading-style-h1 i,
.heading-style-h2 em, .heading-style-h2 i,
.heading-style-h3 em, .heading-style-h3 i,
.text-5xl em, .text-5xl i,
.text-6xl em, .text-6xl i,
.text-7xl em, .text-7xl i {
  font-family: "Arapey", serif !important;
  font-style: italic;
}

/* ==========================================================================
   Hero Section Font Styling - Use Project Fonts
   ========================================================================== */

/* Ensure hero section uses the project's primary font family */
.section_hero,
.section_hero * {
  font-family: var(--font--primary, "Instrument Sans", sans-serif);
}

.section_hero .heading-style-h1 {
  font-family: var(--font--primary, "Instrument Sans", sans-serif);
}

.section_hero .heading-style-h1 em,
.section_hero .heading-style-h1 i {
  font-family: "Arapey", serif !important;
  font-style: italic;
}

.section_hero .hero_text-description,
.section_hero .hero_text-description * {
  font-family: var(--font--primary, "Instrument Sans", sans-serif);
}

.section_hero .button,
.section_hero .button-text {
  font-family: var(--font--primary, "Instrument Sans", sans-serif);
}

/* ==========================================================================
   Disable All Webflow Scroll Animations
   ========================================================================== */

/*
 * Remove all Webflow scroll-based animations across the entire theme.
 * All elements should be immediately visible without any animation effects.
 */

/* Global animation disable */
* {
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

/* Override all inline opacity:0 styles */
[data-w-id],
[style*="opacity: 0"],
[style*="opacity:0"],
[style*="transform"],
[style*="Transform"] {
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  visibility: visible !important;
}

/* Ensure all section elements are visible */
.section_hero,
.section_hero *,
.section_statistics,
.section_statistics *,
.section_services,
.section_services *,
.section_team,
.section_team *,
.section_testimonials,
.section_testimonials *,
.section_app,
.section_app *,
.section_pricing,
.section_pricing *,
.section_contact,
.section_contact *,
.section_faq,
.section_faq *,
.section_why,
.section_why *,
.section_trainers,
.section_trainers *,
.section_blog,
.section_blog *,
.section_offer,
.section_offer * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
}

/* Hero specific visibility */
.hero_content,
.hero_left,
.hero_right,
.hero_text-wrapper,
.hero_text-description,
.hero_img-wrapper,
.heading-style-h1,
.button_wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Team section visibility */
.team_content,
.team_component,
.team_card,
.team_list-wrap,
.team_list,
.team_item,
.team_item-card,
.top_component,
.top_content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Pricing section visibility */
.pricing_content,
.pricing_grid,
.pricing_card,
.pricing_plan-price,
.pricing_plan-features,
.title_component,
.title_description-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* FAQ section visibility */
.faq_component,
.faq_title,
.faq_list,
.faq_item,
.faq_top,
.faq_bottom,
.faq_bottom-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Contact section visibility */
.contact_content,
.contact_visual,
.contact_form,
.contact_top,
.form_component,
.form_form {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* App section visibility */
.app_content-wrapper,
.app_content,
.app_visual,
.app_content-information,
.app_content-information-wrapper,
.app_text-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Services section visibility */
.services_content,
.services_card,
.services_card-wrapper,
.services_card-description {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Why section visibility */
.why_component,
.why_card,
.why_card-content,
.why_item-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Statistics section visibility */
.statistics_cotent,
.stats_wrapper,
.stats_item,
.description_wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Testimonials visibility */
.testimonials_content,
.review_list,
.review_item,
.review_card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Trainers visibility */
.trainers_content,
.trainers_title,
.trainers_grid-group,
.trainer_detail-layout,
.trainer_detail-media,
.trainer_detail-content,
.trainers_service,
.trainers_service-content,
.trainers_service-grid,
.trainers_service-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Blog visibility */
.blog_content,
.blog_list,
.blog_card,
.blog_detail {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Offer section visibility */
.offer_content,
.offer_card,
.offer_visual {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ==========================================================================
   FAQ Accordion - Interactive Component with State Management
   ========================================================================== */

/* FAQ Item Container */
.faq_item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  overflow: hidden !important;
}

/* FAQ Question Header - MUST be clickable */
.faq_top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
  padding: 0.5rem 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Hover effect for better UX */
.faq_top:hover {
  opacity: 0.8;
}

/* Make sure faq_top children don't block clicks */
.faq_top > * {
  pointer-events: none !important;
}

/* FAQ Answer Wrapper - HIDDEN by default with smooth transition */
.faq_bottom-wrap {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.35s ease-out, opacity 0.25s ease-out, padding 0.35s ease-out !important;
}

/* FAQ Answer when EXPANDED */
.faq_item.is-open .faq_bottom-wrap {
  max-height: 500px !important;
  opacity: 1 !important;
  padding-top: 1rem !important;
  padding-bottom: 0.5rem !important;
}

/* FAQ Icon - Rotates when expanded */
.faq_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.35s ease !important;
  pointer-events: none !important;
}

/* Icon rotation when item is OPEN */
.faq_item.is-open .faq_icon {
  transform: rotate(180deg) !important;
}

/* Ensure SVG inside icon doesn't block interactions */
.faq_icon svg {
  pointer-events: none !important;
}

/* Focus state for accessibility */
.faq_top:focus {
  outline: 2px solid #004AB0 !important;
  outline-offset: 2px !important;
}

/* FAQ Answer Content */
.faq_bottom {
  padding-right: 3rem !important;
}

/* ==========================================================================
   Online Sales Jobs Brand Color Overrides
   Primary: #004AB0 (Blue)
   Secondary: #00BC80 (Green)
   Neutral: #131313 (Dark)
   ========================================================================== */

:root {
  --brand--pink: #004AB0;
  --brand--pink-hover: #003A8C;
  --brand--orange: #00BC80;
  --brand--yellow: #00BC80;
  --brand--green-soft-2: #CCE1F5;
  --brand--green-soft-3: #99C3EB;
}

.button.is-pink {
  background-color: #004AB0 !important;
  color: #fff !important;
}

.button.is-pink:hover {
  background-color: #003A8C !important;
}

.button-bg {
  background-color: #CCE1F5 !important;
}

.button.is-secondary {
  background-color: #fff !important;
  color: #131313 !important;
}

.button.is-secondary:hover {
  background-color: #004AB0 !important;
  color: #fff !important;
}

.pricing_card.is-alternative {
  background-color: #004AB0 !important;
}

.pricing_card.is-alternative .button.is-secondary {
  background-color: #fff !important;
  color: #004AB0 !important;
}

.pricing_card.is-alternative .button.is-secondary:hover {
  background-color: #00BC80 !important;
  color: #fff !important;
}

.why_card {
  background-color: #004AB0 !important;
}

.why_card .button.is-white {
  color: #004AB0 !important;
}

.why_card.is-secondary {
  background-color: #CCE1F5 !important;
}

.why_card.is-secondary .button.is-pink {
  background-color: #004AB0 !important;
  color: #fff !important;
}

.faq_icon svg rect {
  fill: #CCE1F5 !important;
}

.faq_top:focus {
  outline: 2px solid #004AB0 !important;
  outline-offset: 2px !important;
}

.text-tag {
  background-color: #CCE1F5 !important;
  color: #004AB0 !important;
}

.section_app .app_content-wrapper {
  background-color: #004AB0 !important;
}

.icon-wrap_medium {
  background-color: #CCE1F5 !important;
}

.navbar_logo {
  max-height: 90px !important;
  width: auto !important;
}

.footer_logo {
  max-height: 90px !important;
  width: auto !important;
  filter: brightness(1.6) !important;
}

.section_footer {
  background-color: #131313 !important;
}

.arrow_link svg rect {
  fill: #CCE1F5 !important;
}

a.button-icon .button-text {
  color: #004AB0 !important;
}

a.button-icon:hover .button-text {
  color: #003A8C !important;
}
