/*
 Theme Name:   Pawsitive Child
 Theme URI:    http://pawsitive.bold-themes.com
 Description:  Pawsitive child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     pawsitive
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  pawsitive-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */

/* Equal-height pillar cards (Porquê o ExoticsRwithUs?)
   ----------------------------------------------------
   Stretch a row's columns + the .bt_bb_card itself to match the tallest sibling.
   Scoped to .bt_bb_card only — does NOT affect .bt_bb_service rows
   (the "Antes de o deixar connosco" checklist must stay unchanged).
   Uses :has() — Chrome 105+ / Safari 15.4+ / Firefox 121+. */
.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) > .bt_bb_column {
  display: flex;
}

.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) > .bt_bb_column > .bt_bb_column_content {
  display: flex;
  width: 100%;
}

.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) > .bt_bb_column > .bt_bb_column_content > .bt_bb_column_content_inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) > .bt_bb_column .bt_bb_card {
  flex: 1 1 auto;
}

/* Push card content (icon + title + text + button) to fill the stretched height */
.bt_bb_row_holder:has(> .bt_bb_column .bt_bb_card) .bt_bb_card_content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Polylang language switcher
   --------------------------
   Parent menu item (current language): show ONLY the flag (hide the name).
   Dropdown sub-items (the alternatives): keep flag + name (default behaviour).
   Scoped to .pll-parent-menu-item so non-dropdown switchers stay unaffected. */
.pll-parent-menu-item > a > span {
  display: none !important;
}

/* Bridge the visual gap between the parent item and its dropdown so the
   :hover/.on state survives moving the cursor down. Adds an invisible buffer
   above the submenu (padding-top up + equal negative margin keeps the submenu
   visually in the same place). */
.pll-parent-menu-item > ul {
  padding-top: 25px !important;
  margin-top: -25px !important;
}