/*
 Theme Name:   Foxiz Child - DIVEIN
 Theme URI:    https://themeruby.com/foxiz
 Description:  Foxiz child theme with DIVEIN Design System integration
 Author:       DIVEIN
 Author URI:   https://divein.com
 Template:     foxiz
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  foxiz-child
*/

/*
 * DIVEIN Design System CSS tokens are loaded via divein-design-tokens.php.
 * Elementor bridge CSS is also loaded from the child theme.
 * This child theme provides theme.json for Gutenberg integration
 * and registers custom DIVEIN blocks and Elementor widgets.
 *
 * All CSS variables are available:
 * - var(--color-primary)
 * - var(--space-lg)
 * - var(--font-display)
 * etc.
 */

/* Override Foxiz default hyperlink weight (700 → 500) */
:root {
    --hyperlink-weight: 500;
}

/* Base styling for headlines with icons */
h2.green-thumbs-up,
h3.green-thumbs-up,
h2.red-thumbs-down,
h3.red-thumbs-down {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

/* Common icon styling for pseudo-elements */
h2.green-thumbs-up::before,
h3.green-thumbs-up::before,
h2.red-thumbs-down::before,
h3.red-thumbs-down::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* Green Thumbs-Up Icon */
h2.green-thumbs-up::before,
h3.green-thumbs-up::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><defs><linearGradient id='greenGradient' x1='0' x2='100%' y1='0' y2='0'><stop offset='0%' style='stop-color:rgba(90,156,138,0.72)'/><stop offset='100%' style='stop-color:%235A9B8A'/></linearGradient></defs><path fill='url(%23greenGradient)' d='M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 18.5-10.5 34.6-25.9 42.6C497 275.4 504 288.9 504 304c0 23.4-16.8 42.9-38.9 47.1c4.4 7.3 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z'/></svg>");
}

/* Red Thumbs-Down Icon */
h2.red-thumbs-down::before,
h3.red-thumbs-down::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><defs><linearGradient id='redGradient' x1='0' x2='100%' y1='0' y2='0'><stop offset='0%' style='stop-color:%23e49e9e'/><stop offset='100%' style='stop-color:%23D46B6B'/></linearGradient></defs><path fill='url(%23redGradient)' d='M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-18.5-10.5-34.6-25.9-42.6C497 236.6 504 223.1 504 208c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 384H96c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H32C14.3 96 0 110.3 0 128V352c0 17.7 14.3 32 32 32z'/></svg>");
}
