/*
Theme Name: Pender Ventures
Theme URI: https://penderventures.com/
Description: Child theme of Hello Elementor for Pender Ventures.
Author: Pender Ventures
Author URI: https://penderventures.com/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pender-ventures
Tags: elementor
*/

/* Custom styles go here.
   Larger chunks of CSS belong in assets/css/child.css, which is enqueued
   after this file. */

/* Layout */
.pv-container {
  padding-left: 16px;
  padding-right: 16px;
}

/* Utilities */

.text__mb0 p {
  margin-bottom: 0;
}

body:not(.elementor-editor-active) .pv-random .e-loop-item:not(.is-active) {
  display: none;
}

/* Form */

form.elementor-form .elementor-field-group {
  margin-bottom: 16px !important;
  gap: 8px;
}

form.elementor-form .elementor-button[type="submit"] {
  flex-basis: auto !important;
  padding: 8px 24px !important;
  color: var(--neutral-white, #fff);
  font-size: 12px;
  font-weight: 600;
  line-height: 166.667%;
}

form.elementor-form .elementor-field-group input:focus,
form.elementor-form .elementor-field-group textarea:focus,
form.elementor-form .elementor-field-group select:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Contact form spacing */
.pv-contact-form form.elementor-form .elementor-field-group {
  margin-bottom: 24px !important;
}

/* Contact form: tighten field text to underline */
.pv-contact-form input:not([type="button"]):not([type="submit"]),
.pv-contact-form textarea,
.pv-contact-form .elementor-field-textual {
  padding: 12px 0 4px 0 !important;
}

/* Portfolio & Teams */

.pv-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--active-brand-primary, #ef4123);
  font-size: 16px;
  font-weight: var(--body-font-weight, 360);
  line-height: 26px;
  letter-spacing: -0.16px;
  text-decoration: none;
}

.pv-external-link:hover .pv-external-link__label,
.pv-external-link:focus-visible .pv-external-link__label {
  text-decoration: underline;
}

.pv-external-link__icon {
  flex: none;
}

.pv-external-link__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Portfolio */

.pv-badge .elementor-post-info__terms-list,
.pv-badge:not(.elementor-widget-post-info) {
  display: flex;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px; /* 100% */
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.pv-badge__primary:not(.elementor-widget-post-info) {
  background: #ef4123;
  color: #fff;
}

.pv-badge__outline:not(.elementor-widget-post-info) {
  border: 0.5px solid var(--neutral-dusk, #3d3c39);
}

/* Podcasts */

.pv-podcast-takeaways {
  margin: 0;
  padding: 0;
}

.pv-podcast-takeaway {
  margin: 0;
  padding: 0;
  border: 0;
}

.pv-podcast-takeaway + .pv-podcast-takeaway {
  margin-top: 24px;
}

.pv-podcast-takeaway-time,
.pv-podcast-takeaway-summary {
  font: inherit;
}

.pv-podcast-takeaway-separator {
  display: inline;
}

/* Podcast Cards */

.pv-podcast-participants,
.pv-podcast-mentioned {
  background: #eae9e2;
  border-radius: 8px;
  padding: 22px;
}

.pv-podcast-section-title {
  margin: 0 0 10px;
  padding: 0;

  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;

  color: #8d8d85;

  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pv-podcast-participants-list,
.pv-podcast-mentioned-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-podcast-participant,
.pv-podcast-mentioned-item {
  margin: 0;
  padding: 10px 0;

  border-bottom: 0.5px solid #8d8d85;

  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;

  color: #ef4123;
}

.pv-podcast-participant:first-child,
.pv-podcast-mentioned-item:first-child {
  padding-top: 0;
}

.pv-podcast-participant:last-child,
.pv-podcast-mentioned-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pv-podcast-participant a,
.pv-podcast-mentioned-item a {
  color: #ef4123;
  text-decoration: none;
  font: inherit;
}

.pv-podcast-participant a:hover,
.pv-podcast-mentioned-item a:hover {
  color: #ef4123;
  text-decoration: underline;
}

/* Podcast Libsyn player: rounded corners */
.pv-podcast-player {
  border-radius: 8px;
  overflow: hidden;
}

.pv-podcast-player iframe {
  display: block;
  width: 100%;
  border: 0 !important;
}

/* Team taxonomy filter: make the active tab semibold */
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"] {
  font-weight: 600 !important;
}

/* Article card: highlight title when hovering over article details */
.pv-article-card-meta:hover .elementor-heading-title {
  color: var(--e-global-color-c0564d2) !important;
}

/* Reusable content card hover */
.pv-content-card-hover .elementor-heading-title {
  transition: color 0.2s ease;
}

.pv-content-card-hover:hover .elementor-heading-title,
.pv-content-card-hover:focus-visible .elementor-heading-title {
  color: var(--e-global-color-c0564d2) !important;
}

/* Featured article: dynamic title size on desktop only */
@media (min-width: 1025px) {
  .pv-article-hero-title.pv-title-short .elementor-heading-title {
    font-size: 84px !important;
  }

  .pv-article-hero-title.pv-title-long .elementor-heading-title {
    font-size: 60px !important;
  }
}

/* French desktop title size override */
@media (min-width: 1025px) {
  html[lang^="fr"] .pv-fr-desktop-48 .elementor-heading-title {
    font-size: 48px !important;
  }
}

/* Underline links inside selected text blocks */
.pv-underlined-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.elementor-widget-theme-post-content a.wp-block-button__link.wp-element-button {
  display: inline-block;
  background-color: #ef4123;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.2px;
  padding: 12px 32px;
  border-style: solid;
  border-width: 0.5px 0.5px 0.5px 0.5px;
  border-color: var(--e-global-color-primary);
  border-radius: 100px !important;
  text-decoration: none;
  transition: 0.3s;
}

.elementor-widget-theme-post-content
  a.wp-block-button__link.wp-element-button:hover {
  background-color: var(--e-global-color-c0564d2);
  color: #ffffff;
  border-style: solid;
  border-color: var(--e-global-color-c0564d2);
}

/* ========================================
   TEMPORARY: LANGUAGE SWITCHERS OFF
======================================== */
.wpml-ls-menu-item,
.elementor-element-a4a7051 {
  display: none !important;
}
@media (max-width: 880px) {
  .elementor-5124
    .elementor-element.elementor-element-784484f
    .elementor-nav-menu
    > li:has(+ .wpml-ls-menu-item) {
    margin-bottom: 0 !important;
  }
}
/* END: TEMPORARY LANGUAGE SWITCHERS OFF */
