/* * Theme Name: Value2 Theme 
* Description: A custom WordPress theme for Value2 
* Version: 1.0.3 * Author: Gil Rimon * Text Domain: value2-theme 
*/

/* Fonts */
 @font-face {
     font-family: 'fb_shapinger_regular';
     src: url('/fonts/FbShapinger-Regular.woff') format('woff');
     font-weight: normal;
     font-style: normal;
}
 @font-face {
     font-family: 'fb_shapinger_medium';
     src: url('/fonts/FbShapinger-Medium.woff') format('woff');
     font-weight: 500;
     font-style: normal;
}
 html {
     font-size: 12px;
}
/* Base Styles & Typography */
 body {
     font-family: 'fb_shapinger_regular';
     margin: 0;
     line-height: 1.2;
     direction: rtl;
    /* For Hebrew - Right-to-Left */
     text-align: right;
    /* Align text to the right for RTL */
     overflow-x: hidden;
    /* Prevent horizontal scroll on mobile */
}
/* Headings */
 h1, h2, h3, h4, h5, h6 {
     font-family: 'fb_shapinger_medium';
     color: #000;
    /* Black for headings */
     margin-top: 1rem;
     margin-bottom: 0.5rem;
     line-height: 1.2;
     font-weight: 700;
    /* Bold by default for headings */
}
 h1 {
     font-size: 2.78rem;
     line-height: 2.9rem;
     letter-spacing: 0.58;
}
 h2 {
     font-size: 2.2rem;
}
 h3 {
     font-size: 1.4rem;
}
 h4 {
     font-size: 1.4rem;
}
/* Links */
 a {
     color: #07ba58;
    /* Value2 Green */
     text-decoration: none;
     transition: color 0.3s ease;
}
 a:hover {
     text-decoration: underline;
}
/* Buttons */
 .button {
     display: inline-block;
     cursor: pointer;
     background-color: #03bb59;
    /* Value2 Green */
     color: #fff;
     padding: 0.75em 1.875rem;
     border-style: none;
     text-align: center;
     box-shadow: 0 0.25em 0.625em rgba(0,0,0,0.1);
}
 .button:hover {
     background-color: #2e8b57;
    /* Darker green on hover */
     text-decoration: none;
}
/* General Element Styling */
 .card, .section-inner, .testimonial-card, .media-mention-card {
     background-color: #f5f5fa;
     box-shadow: 0.25em 0.25em 0.25em #eee;
     overflow: hidden;
    /* For images within cards */
}
/* Accessibility */
 .screen-reader-text {
     clip: rect(0.0625em, 0.0625em, 0.0625em, 0.0625em);
     position: absolute !important;
     height: 0.0625rem;
     width: 0.0625rem;
     overflow: hidden;
     word-wrap: normal !important;
}
/* Layout Containers */
 .site-content {
     margin: 0 auto;
}
 .wp-singular:not(.home) .site-content {
     margin-top: 4.375rem;
}
 .wp-singular header {
     margin: auto;
     margin-bottom: 2rem;
     margin-top: 1rem;
}
 .wp-singular:not(.home) .hero-title {
     color: #000;
}
 .section-header {
     text-align: center;
     margin-bottom: 2rem;
}
 .section-title {
     color: #000;
     margin: 0;
     font-size: 1.75rem;
     text-align: right;
     font-weight: 400;
    /* padding-right: 3.125rem;
     */
}
 .section-subtitle {
     font-size: 1.4rem;
     color: #555;
     max-width: 43.75rem;
     margin: 0 auto;
}
/* Header Styles */
 .site-header {
     background-color: #ffffff;
     position: sticky;
     top: 0;
     width: 100%;
     z-index: 1000;
}
 .site-header-container {
     display: flex;
     justify-content: space-between;
    /* Space out logo and nav */
     align-items: center;
     max-width: 68.75rem;
     margin: 0 auto;
     padding: 0 1.25rem;
}
 .site-branding {
     display: flex;
     align-items: center;
     max-height: 4.75rem;
}
 .site-branding .custom-logo-link img {
     max-height: 2.75rem;
     width: auto;
}
 .site-branding .site-title, .site-branding .site-description {
     margin: 0;
     padding: 0;
    /* Hide site description if logo is present or not needed */
     display: none;
}
 .site-branding .site-title a {
     font-size: 1.8rem;
     font-weight: bold;
     color: #000;
}
/* Main Navigation */
 .main-navigation ul {
     margin: 0;
     padding: 0;
     list-style: none;
     display: flex;
     justify-content: space-evenly;
}
 .main-navigation li {
     position: relative;
     margin-left: 0;
}
 .main-navigation li:last-child {
     margin-right: 0;
}
 .main-navigation a {
     display: block;
     padding: 0;
     color: #000;
     font-weight: 500;
     font-family: 'fb_shapinger_medium';
     font-size: 1.1rem;
     transition: color 0.3s ease;
}
 .main-navigation a:hover {
     color: #07ba58;
    /* Green on hover */
     text-decoration: none;
}
/* Mobile Menu Toggle (Hamburger Icon) */
 .menu-toggle {
     display: none;
    /* Hidden by default on desktop */
     background: none;
     border: none;
     cursor: pointer;
     padding: 0.625rem;
     position: relative;
     z-index: 1001;
    /* Ensure it's above menu */
     order: -1;
    /* Place toggle to the right in RTL flex on mobile */
}
 .menu-toggle .icon-bar {
     display: block;
     width: 1.75rem;
     height: 0.1875rem;
     background-color: #333;
     margin: 0.375em 0;
     transition: all 0.3s ease-in-out;
}
/* Styles for active/open mobile menu toggle (rotate for X) */
 .menu-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
     opacity: 0;
}
 .menu-toggle[aria-expanded="true"] .icon-bar:nth-child(1) {
     transform: translateY(0.5625em) rotate(45deg);
}
 .menu-toggle[aria-expanded="true"] .icon-bar:nth-child(3) {
     transform: translateY(-0.5625em) rotate(-45deg);
}
/* Hero Section (front-page.php) */
 .hero-section {
     text-align: right;
    /* Text aligned to the right */
     margin: 0 auto;
     display: flex;
     flex-direction: column;
    /* Default to stack on mobile */
     align-items: center;
    /* Center items when stacked */
     gap: 0.625rem;
    /* 10px */
}
 .hero-button-section {
     text-align: center;
     margin-top: 4rem;
}
 .hero-tsuot {
    /* background-color: #bcffc7;
     */
     margin-bottom: 1.25rem;
     padding-left: 0.25rem;
     padding-right: 0.25rem;
     display: inline;
}
 .hero-green, .hero-green-last {
     background-color: #bcffc7;
     padding-right: 0.2rem;
     display: inline;
}
 .hero-green {
     padding-left: 0.2rem;
}
 .hero-responsibly, .hero-title, .hero-excerpt-short, .hero-tsuot {
     font-size: 2.78rem;
     line-height: 1.1;
     font-weight: 900;
     letter-spacing: -0.0625rem;
}
 .hero-responsibly {
     background-color: #bcffc7;
    /* Light green for tsuot text */
     width: fit-content;
     padding-left: 0.25rem;
     padding-right: 0.25rem;
     margin-left: -12rem;
     position: relative;
     display: inline-block;
     margin-top: -1rem;
     z-index: 1000;
}
 .hero-content {
     max-width: 34rem;
     text-align: left;
     flex-shrink: 0;
}
 .hero-title, .hero-excerpt-short {
     margin-top: 0.75rem;
     margin-left: 0.25rem;
    /* 4px */
}
 .hero-subtitle {
     margin-left: 0.5rem;
     color: #000;
     max-width: 22rem;
     float: left;
     z-index: 1000;
}
 .hero-subtitle p {
     margin: 0.3125em 0 !important;
     font-size: 1.2rem;
}
 .hero-responsibly-wrapper {
     height: 0;
}
 .hero-button {
     font-size: 2rem;
     padding: 1rem;
     margin: auto;
}
 .contact-cta-content .submit-button {
     width: 100%;
    /* Full width for contact form submit button */
     margin-top: 2rem;
     font-size: 2rem;
}
 .hero-image-placeholder {
     max-width: 31.25rem;
    /* 500px */
     flex-shrink: 0;
     overflow: hidden;
     position: relative;
     aspect-ratio: 16/9;
    /* Force specific aspect ratio */
     width: 100%;
     height: auto;
}
 .hero-image-placeholder img {
     width: 100%;
     height: auto;
}
 .hero-fallback-image {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 2;
     transition: opacity 0.8s ease-in-out;
}
 .hero-fallback-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
}
 .hero-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     z-index: 1;
}
/* Hide fallback image when video is loaded and playing */
 .hero-image-placeholder.video-loaded .hero-fallback-image {
     opacity: 0;
}
 .home .usp-section {
     margin-bottom: 6rem;
     margin-top: 4rem;
}
/* USP Section (template-parts/section-usp.php) */
 .usp-section {
     text-align: center;
     margin-bottom: 3rem;
     margin-top: 2rem;
     background-color: #f5f5fa;
     border-color: #f5f5fa;
     border-bottom-width: 2rem;
     border-bottom-style: solid;
     border-top-style: solid;
    /* border-top-width: 1rem;
    */
}
 .page-id-34 .usp-section, .page-id-34 .usp-items-wrapper, .page-id-35 .usp-section, .page-id-35 .usp-items-wrapper, .page-id-136 .usp-section, .page-id-136 .usp-items-wrapper {
     background-color: transparent;
     border-color: transparent;
}
 .page-id-34 .site-footer, .page-id-35 .site-footer, .page-id-36 .site-footer, .page-id-136 .site-footer {
     margin-top: -2rem;
}
 .page-id-35 .usp-section {
     margin-top: 0 !important;
     margin-bottom: 0 !important;
}
 .page-id-35 .usp-description {
     height: 7rem;
     padding-top: 0.5rem;
}
 .usp-description {
     font-size: 2.14rem;
     text-align: right;
     border-right-color: #07ba58;
     border-width: 0.15rem;
    /* 1px */
     border-right-style: solid;
     padding-right: 1.5rem;
     margin: auto;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: flex-end;
}
/* Testimonials Section (template-parts/section-testimonials.php) */
 .testimonials-section {
     background-color: #f5f5fa;
     margin-bottom: 2.5rem;
    /* 40px */
     padding-top: 4rem;
     margin-left: auto;
     margin-right: auto;
     background-image: url('/wp-content/themes/value2-theme/assets/images/box-back.png');
    /* Background image */
}
 .testimonials-container {
     margin-top: -5rem;
     position: relative;
}
 .testimonials-swiper {
     overflow: hidden;
     padding: 1rem 0 3rem 0;
    /* Add bottom padding for pagination */
     opacity: 0;
     transition: opacity 0.3s ease-in-out;
}
 .testimonials-swiper.swiper-ready {
     opacity: 1;
}
 .testimonials-container .swiper-button-next, 
 .testimonials-container .swiper-button-prev {
     opacity: 0;
     transition: opacity 0.3s ease-in-out;
}
 .testimonials-container.swiper-ready .swiper-button-next,
 .testimonials-container.swiper-ready .swiper-button-prev {
     opacity: 1;
}
 .testimonials-swiper .swiper-wrapper {
     align-items: stretch;
    /* Make all slides same height */
}
 .testimonials-swiper .swiper-slide {
     height: auto;
     display: flex;
}
 .testimonial-card {
     background-color: white;
     padding: 1.5em 1.5rem;
     text-align: right;
     border: 0.0625rem solid #eee;
    /* 1px */
     display: flex;
     flex-direction: column;
     height: 100%;
     width: 100%;
}
 .testimonial-quote {
     margin-bottom: 3rem;
}
 .testimonial-quote p {
     font-size: 2rem;
    /* 32px */
     margin-bottom: 0;
     line-height: 1.1875rem;
    /* 38px */
     color: #00d8a1;
}
 .testimonial-quote .quote-icon {
     color: #00d8a1;
     width: 4rem;
}
 .quote-icon svg {
     width: 100%;
     height: 100%;
}
 .testimonial-card:first-child p, .testimonial-card:first-child svg, .swiper-slide:first-child .testimonial-card p, .swiper-slide:first-child .testimonial-card svg {
     color: #03bb59;
}
 .testimonial-card:last-child p,.testimonial-card:last-child svg, .swiper-slide:last-child .testimonial-card p, .swiper-slide:last-child .testimonial-card svg {
     color: #05534e;
}
/* Additional color variations for middle slides */
 .swiper-slide:nth-child(2) .testimonial-card p, .swiper-slide:nth-child(2) .testimonial-card svg {
     color: #00d8a1;
}
 .swiper-slide:nth-child(3) .testimonial-card p, .swiper-slide:nth-child(3) .testimonial-card svg {
     color: #05534e;
}
 .testimonial-quote p::before {
    /* For RTL, quotes at the end */
     margin-left: 0.3125rem;
}
 .testimonial-quote p::after {
    /* For RTL, quotes at the beginning */
     margin-right: 0.3125rem;
}
 .testimonial-image {
     margin-top: auto;
}
/* Prevent users from selecting text inside the testimonials slider */
 .testimonials-section, .testimonials-section * {
     -webkit-user-select: none;
    /* Safari */
     -moz-user-select: none;
    /* Firefox */
     -ms-user-select: none;
    /* IE/Edge */
     user-select: none;
    /* Standard */
}
 .testimonial-image img {
     padding-left: 0.5rem;
     border-left: 0.0625rem solid #7b7b7b;
    /* 1px */
     height: 5.5rem;
     width: 5.5rem;
}
 .testimonial-footer {
     display: flex;
     flex-direction: row;
    /* Default for RTL is right-to-left */
     align-items: flex-end;
    /* Align testimonial-author to bottom */
     margin-top: auto;
    /* Add some space above the footer */
     justify-content: flex-end;
    /* Align content to the right in RTL */
}
 .testimonial-footer .testimonial-image {
     margin-top: 0;
    /* Override previous margin-top */
     margin-left: 0.625rem;
    /* 10px */
     flex-shrink: 0;
    /* Prevent image from shrinking */
}
 .testimonial-footer .testimonial-author {
     flex-grow: 1;
    /* Allow author info to take up available space */
     text-align: right;
    /* Ensure text is right-aligned */
}
 .testimonial-author .author-name {
     font-weight: 700;
     color: #333;
     margin-bottom: 0.3125rem;
}
 .testimonial-author .author-title {
     color: #777;
}
 .testimonial-author .company-logo img {
     max-width: 6.25rem;
    /* 100px */
     height: auto;
     margin: 0 auto;
     vertical-align: bottom;
}
/* Certification Logos Section (template-parts/section-certification-logos.php) */
 .certification-logos-section {
     margin: 4rem auto !important;
    /* 64px top/bottom margin */
     padding: 0 1.25rem;
    /* 20px horizontal padding */
}
 .certification-logos-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile/tablet */
     gap: 1.5rem;
    /* 24px gap between cards */
     margin: 0 auto;
}
 .certification-logo-card {
     aspect-ratio: 3/4;
     background: rgb(248 247 249);
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 6rem;
    /* 96px minimum height */
     box-shadow: 0.1rem 0 0.2rem rgba(0,0,0,0.1);
    /* Shadow on the right side (5px 0 15px) */
     cursor: pointer;
    /* Pointer cursor for interactivity */
     position: relative;
     overflow: hidden;
     transition: all 0.3s ease;
}
 .certification-logo-img {
     max-width: 100%;
     width: auto;
     height: auto;
     transition: opacity 0.3s ease;
     z-index: 1;
}
 .certification-logo-text {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     display: flex;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s ease;
     z-index: 2;
     padding: 1rem;
}
 .logo-text-content {
     color: #fff;
     font-size: 1.2rem;
}
 .logo-text-content h3 {
     margin: 0 0 0.5rem 0;
     font-size: 1.2rem;
     font-weight: 600;
     color: #07ba58;
     width: fit-content;
}
 .logo-text-content p {
     margin: 0;
     font-size: 1.2rem;
     line-height: 1.4;
}
 .certification-logo-card:hover .certification-logo-img {
     opacity: 0;
}
 .certification-logo-card:hover .certification-logo-text {
     opacity: 1;
     background-color: #59595c;
}
/* Big links Section (template-parts/section-biglinks.php) */
 .biglinks-section, .media-cg-section {
     margin-left: auto;
     margin-right: auto;
}
 .biglinks-grid, .media-cg-grid, .esg-impact-grid {
     display: flex;
     gap: 2rem;
    /* 30px */
}
 .biglinks-grid, .media-cg-grid {
     flex-direction: column;
    /* Stack on mobile */
}
 .biglink-card, .media-cg-card {
     text-align: right;
     background-color: #05534e;
     color: #bcffc7;
     display: flex;
     flex-direction: column;
     padding: 2rem 2rem 1.5rem 2rem;
}
 .media-cg-card:nth-child(5) {
     background-color: #525351;
    /* Lighter green for 5th card */
     color: #fff;
    /* White text for contrast */
}
 .media-cg-card:nth-child(5) .media-title {
     color: #c2deb5;
}
 .biglink-card {
     aspect-ratio: 1/1;
}
 .cubebody {
     line-height: 1.3;
     font-size: 1.2rem;
     margin-bottom: 1em;
}
 .media-cg-body {
     margin-bottom: 1.4rem;
}
/* Media CG Card specific proportions (610:560 ratio) */
 .media-cg-card {
     min-height: unset;
    /* Override the inherited min-height */
     overflow: visible;
    /* Allow content to show */
     justify-content: space-between;
    /* Distribute content evenly */
     aspect-ratio: 474/424;
}
/* Ensure media-cg content doesn't overflow and link stays at bottom */
 .media-cg-card .media-excerpt {
     overflow: hidden;
    /* Hide overflow */
     flex-grow: 1;
    /* Take up available space */
     display: -webkit-box;
    /* Enable webkit box for line clamping */
     -webkit-box-orient: vertical;
    /* Set vertical orientation */
     -webkit-line-clamp: 5;
    /* Reduced to 5 lines to prevent cutting */
     line-clamp: 5;
    /* Standard property for compatibility */
     line-height: 1.4;
    /* Slightly increased line height for better spacing */
     max-height: 11rem;
    /* Fallback with buffer space */
}
 .media-cg-card .media-cg-link {
     margin-top: auto;
    /* Push link to bottom */
     flex-shrink: 0;
    /* Don't shrink the link area */
}
 .biglink-card:first-child, .media-cg-card:nth-child(3), .media-cg-card:nth-child(4), .esg-impact-card:first-child, .media-mention-card:first-child .media-mention-upper {
     background-color: #49d642;
    /* Lighter green for first card */
     color: #000;
    /* White text for contrast */
}
 .media-cg-card:nth-child(6), .media-cg-card:nth-child(7) {
     background-color: #f5f5fa;
    /* Lighter green for first card */
     color: #000;
    /* White text for contrast */
}
 .biglink-card:last-child, .media-cg-card:first-child, .media-cg-card:nth-child(8), .esg-impact-card:last-child, .media-mention-card:last-child .media-mention-upper {
     background-color: #00d8a1;
    /* Darker green for last card */
     color: #000;
    /* White text for contrast */
}
 .media-cg-card:nth-child(2), .media-cg-card:nth-child(9) {
     color: #fff;
    /* White text for contrast */
}
 .media-cg-card:nth-child(2) .media-title, .media-cg-card:nth-child(9) .media-title {
     color: #bcffc7;
}
 .esg-impact-card:nth-child(5), .esg-impact-card:nth-child(8), .media-mention-card:nth-child(5) .media-mention-upper, .media-mention-card:nth-child(8) .media-mention-upper {
     background-color: #49d642;
     color: #000;
}
 .esg-impact-card:nth-child(3), .esg-impact-card:nth-child(7), .media-mention-card:nth-child(3) .media-mention-upper, .media-mention-card:nth-child(7) .media-mention-upper {
     background-color: #00d8a1;
     color: #000;
}
 .biglink-title, .media-cg-title {
     font-size: 1.75rem;
     margin-bottom: 0.75rem;
     font-family: 'fb_shapinger_medium';
}
 .biglink-quote p {
     font-size: 1.15rem;
     font-style: italic;
     margin-bottom: 1.5625rem;
    /* 25px */
     line-height: 1.7;
     color: #00d8a1;
}
 .biglink-card:first-child p, .media-cg-card:first-child p {
    /* color: #03bb59;
    */
}
 .biglink-card:last-child p, .esg-impact-card:last-child p {
     color: #05534e;
}
 .media-cg-card:last-child .media-cg-link a, .media-cg-card:nth-child(2) .media-cg-link a, .media-cg-card:nth-child(5) .media-cg-link a, .media-cg-card:nth-child(6) .media-cg-link a, .media-cg-card:nth-child(7) .media-cg-link a {
     color: #03bb59;
}
 .biglink-link, .media-cg-link, .esg-impact-link {
     margin-top: auto;
}
 .biglink-link a, .media-cg-link a {
     font-size: 1.2rem;
     line-height: 1.4;
}
 .biglink-link a {
     color: white;
}
 .media-cg-link a {
     color: #000;
}
 .biglink-line {
     width: 3rem;
     height: 0.4rem;
     background: #fff;
     margin-right: 0;
     margin-left: auto;
     margin-bottom: 1px;
     display: block;
}
 .esg-impact-card {
    /* height: calc(33.333vw - 2.5em);
    */
     aspect-ratio: 15/14;
     text-align: right;
     border: 0.0625rem solid #eee;
    /* 1px */
     background-color: #05534e;
     color: #bcffc7;
     display: flex;
     flex-direction: column;
     overflow: hidden;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
 .home .media-mentions-section .section-title {
     margin-bottom: 3em;
}
/* Media Mentions Section (template-parts/section-media-mentions.php) */
 .home .media-mentions-section {
     margin-top: 3rem !important;
}
/* Media Mentions Section (template-parts/section-media-mentions.php) */
 .media-mentions-grid {
     display: flex;
     flex-direction: column;
    /* Stack on mobile */
     gap: 1.875rem;
}
 .media-mention-card {
     border: 0.0625rem solid #eee;
    /* 1px */
     display: flex;
     flex-direction: column;
     margin-bottom: 1rem;
     aspect-ratio: 15/14;
     height: 100%;
    /* Ensure consistent height for flex children */
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
     transition: box-shadow 0.3s ease;
}
 .media-mention-card .source-logo img {
     height: auto;
    /*margin: auto 1.25rem;
     */
     width: 100%;
    /* Full width for logo */
}
 .media-mention-card .media-title {
     font-size: 1.4rem;
     color: #000;
     margin-bottom: 1.25rem;
     font-weight: 600;
}
 .media-mention-card .media-excerpt p {
     font-size: 1.2rem;
     color: #000000;
     margin-top: 0.5rem;
     line-height: 1.4;
     padding: 1rem;
}
 .media-mention-card .read-more-link {
     font-size: 1rem;
     color: #07ba58;
     font-weight: 600;
     font-family: 'fb_shapinger_medium';
     display: inline-block;
     position: relative;
     margin-top: auto;
     padding-right: 1rem;
     padding-bottom: 1rem;
}
 .media-cg-card .media-excerpt p {
     font-size: 1.2rem;
     line-height: 1.4;
}
/* Team Section (template-parts/section-team.php) */
 .team-section {
     padding-top: 1rem;
    /* 30px */
     padding-bottom: 1.25rem;
    /* 20px */
}
 .team-members-grid {
     display: flex;
     flex-wrap: wrap;
     justify-content: flex-end;
    /* Align to right for RTL, puts incomplete rows on the right */
     gap: 1rem;
    /* 30px */
     margin-top: 3.125rem;
    /* 50px */
     flex-direction: column;
    /* Stack on mobile */
}
 .team-member-card {
     display: flex;
     flex-direction: column;
     flex: 0 0 calc(25% - 0.75rem);
    /* Fixed width - no grow/shrink, exactly 25% minus gap */
     width: calc(25% - 0.75rem);
    /* Fixed width for matrix layout */
     max-width: calc(25% - 0.75rem);
    /* Ensure max width for 4 columns */
     box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
     text-align: center;
    /* Center content within the card */
     overflow: hidden;
    /* Hide overflowing parts of the image */
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
 .team-member-card img {
     height: auto;
     margin: 0 auto 1.25rem;
    /* 20px */
     width: 100%;
    /* Make image take full width of its container */
     height: auto;
    /* Maintain aspect ratio */
     margin: 0;
}
 .team-member-card .member-role {
     font-size: 1.2rem;
     margin-right: 2rem;
    /* 30px */
     margin-top: 0;
     color: #525351;
     height: 2rem;
}
 .team-member-card .member-description {
     padding-right: 1.875rem;
    /* 30px */
     padding-left: 1.875rem;
    /* 30px */
     color: #525351;
}
/* Intro Video Section (template-parts/section-intro-video.php) */
 .intro-video-section {
     margin-top: 4rem;
     padding-top: 4rem;
     padding-bottom: 2rem;
     text-align: center;
     background-color: #f5f5fa;
}
 .intro-video-section+.usp-section {
     margin-top: 0 !important;
}
 .intro-video-container {
     max-width: 800px;
     margin: 0 auto;
}
 .intro-video-wrapper {
     position: relative;
}
 .intro-video-player {
     position: relative;
     width: 100%;
     height: 0;
     padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
     overflow: hidden;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
 .intro-video-player iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border: none;
}
 .intro-video-player video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
}
/* Video Play Button Overlay */
 .video-play-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: transparent;
     display: flex;
     align-items: flex-end;
     justify-content: center;
     z-index: 10;
     transition: opacity 0.3s ease;
     padding-bottom: 3rem;
}
 .video-play-overlay.hidden {
     opacity: 0;
     pointer-events: none;
}
 .video-play-button {
     background: none;
     border: none;
     cursor: pointer;
     transition: transform 0.2s ease;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 0;
     margin-bottom: 2rem;
}
 .video-play-border-div {
     position: absolute;
     bottom: calc(5rem + 30px);
     height: 2px;
     background: transparent;
     border: 1px solid white;
}
 .video-play-border-div:first-child {
     right: calc(50% + 30px);
     width: 350px;
}
 .video-play-border-div:last-child {
     left: calc(50% + 30px);
     width: 350px;
}
 .video-play-button svg {
     filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
 .video-play-button:hover svg path {
     fill: white;
}
/* Contact CTA Section (template-parts/section-contact-cta.php) */
 .contact-cta-section {
     background-color: #f5f5fa;
    /* Value2 Green background */
     color: #fff;
     text-align: center;
     margin: 0 auto;
    /* Centered with margin */
     padding-bottom: 10.5rem;
}
 .contact-cta-content {
     max-width: 44rem;
    /* 700px */
     margin: 0 auto;
}
 .contact-cta-title {
     font-size: 2.8rem;
     color: #fff;
     margin-bottom: 1.25rem;
    /* 20px */
     line-height: 1.1;
     font-weight: 800;
}
 .contact-cta-subtitle {
     font-size: 1.2rem;
     margin-bottom: 2.5rem;
    /* 40px */
     max-width: 43.75rem;
    /* 700px */
     margin-left: auto;
     margin-right: auto;
}
 .contact-cta-section .section-subtitle {
     text-align: right;
     margin-bottom: 2rem;
     font-weight: 500;
     font-family: 'fb_shapinger_medium';
}
 .contact-cta-button {
     background-color: #fff;
     color: #07ba58;
     padding: 1.125rem 2.8125rem;
    /* 18px 45px */
     font-size: 1.3rem;
     font-weight: 700;
}
 .contact-cta-button:hover {
     background-color: #f0f0f0;
     color: #2e8b57;
}
/* Form Styles */
 .contact-form {
     margin: 0 auto;
}
 .contact-form .form-group {
     margin-bottom: 2rem;
}
 .contact-form label {
     display: block;
     margin-bottom: 0.5rem;
    /* 8px */
     font-weight: 600;
     color: #333;
}
 .contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], 
/* Added for phone field if present */
 .contact-form textarea {
     width: 100%;
     padding: 1.25rem 1rem;
     border: 0.0625rem solid #ddd;
    /* 1px */
     font-size: 1.2rem;
     color: #333;
     background-color: #f9f9f9;
     box-sizing: border-box;
    /* Include padding in width */
     border-color: #07ba58;
}
 input::placeholder {
     color: #07ba58;
}
 .contact-form textarea {
     min-height: 7.5rem;
    /* 120px */
     resize: vertical;
    /* Allow vertical resizing */
}
 .contact-form input[type="submit"] {
     width: auto;
    /* Override button width for contact form submit */
     min-width: 12.5rem;
    /* 200px */
     margin-top: 0.625rem;
    /* 10px */
     font-size: 1.2rem;
     padding: 0.875rem 1.875rem;
    /* 14px 30px */
    /* Use button styles, but override background/color if specific design is different */
     background-color: #07ba58;
    /* Primary green for submit button */
     color: #fff;
     cursor: pointer;
     border: none;
}
 .contact-form input[type="submit"]:hover {
     background-color: #2e8b57;
     transform: translateY(-0.125em);
    /* 2px */
}
/* Contact Form Messages */
 .contact-message {
     padding: 1rem;
     margin-bottom: 1.5rem;
     border-radius: 0.25rem;
     text-align: center;
     font-weight: 500;
}
 .contact-success {
     background-color: #d4edda;
     color: #155724;
     border: 1px solid #c3e6cb;
}
 .contact-error {
     background-color: #f8d7da;
     color: #721c24;
     border: 1px solid #f5c6cb;
}
/* Contact Form Popup */
 .contact-popup-overlay {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.5);
     z-index: 9999;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
}
 .contact-popup-overlay.show {
     opacity: 1;
     visibility: visible;
}
 .contact-popup {
     background: #f8f8f8;
     border-radius: 8px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
     position: relative;
     max-width: 400px;
     width: 90%;
     padding: 2rem;
     transform: translateY(-20px);
     transition: transform 0.3s ease;
     direction: rtl;
     text-align: center;
}
 .contact-popup-overlay.show .contact-popup {
     transform: translateY(0);
}
 .contact-popup-close {
     position: absolute;
     top: 1rem;
     right: 1rem;
     background: none;
     border: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: #666;
     width: 30px;
     height: 30px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: all 0.2s ease;
}
 .contact-popup-close:hover {
     background-color: rgba(0, 0, 0, 0.1);
     color: #333;
}
 .contact-popup-content {
     margin-top: 0.5rem;
}
 .contact-popup-content p {
     font-size: 1.2rem;
     color: #333;
     margin: 0;
     font-family: 'fb_shapinger_medium', Arial, sans-serif;
     line-height: 1.4;
}
/* About Us Page Specifics (page-about.php) */
 .page-about-content .entry-header {
     text-align: center;
     margin-bottom: 3.125rem;
    /* 50px */
}
 .page-about-content .entry-title {
     font-size: 3rem;
     color: #07ba58;
     margin-bottom: 1.25rem;
    /* 20px */
}
 .page-about-content .entry-content {
     max-width: 50rem;
    /* 800px */
     margin: 0 auto 3.75rem;
    /* 60px */
     font-size: 1.2rem;
     line-height: 1.8;
     color: #444;
}
 .team-section {
     text-align: center;
     margin-bottom: 2rem !important;
}
 .team-section .section-description {
     max-width: 50rem;
    /* 800px */
     margin: 0 auto 3.125rem;
    /* 50px */
     font-size: 1.2rem;
     color: #555;
}
 .team-category-management h3, .team-category-advisory h3 {
     font-size: 2rem;
     color: #07ba58;
     margin-top: 3.75rem;
    /* 60px */
     margin-bottom: 1.875rem;
    /* 30px */
}
 .team-member-card {
     text-align: right;
     background-color: #f8f7f9;
     box-shadow: 0.25em 0.25em 0.25em #eee;
}
 .team-member-card .member-thumbnail {
     overflow: hidden;
     width: 100%;
     margin: 0 auto 2rem;
     display: flex;
     align-items: start;
     justify-content: center;
}
 .advisory-card .member-thumbnail {
     margin: 0;
     height: fit-content;
}
 .team-member-card .member-thumbnail img {
     width: 100%;
     aspect-ratio: 47 / 38;
    /* Maintain aspect ratio */
}
 .team-member-card .member-name {
     font-size: 1.3rem;
     font-weight: 700;
     color: #07ba58;
     margin-bottom: 0.3125rem;
     margin-top: 0;
     margin-right: 2rem;
    /* 30px */
}
 .advisory-card .member-name {
     margin-bottom: 0;
}
 .non-managing .member-name {
     color: #164944;
}
/* Investment Solutions Archive/Single (archive-solution.php, single-solution.php) */
 .archive-solution-content .page-header {
     text-align: center;
     margin-bottom: 3.75rem;
    /* 60px */
     padding: 0 1.25rem;
    /* 20px */
}
 .archive-solution-content .page-title {
     color: #07ba58;
     font-size: 3rem;
     margin-bottom: 0.9375rem;
    /* 15px */
}
 .archive-solution-content .page-description {
     font-size: 1.2rem;
     color: #555;
     max-width: 43.75rem;
    /* 700px */
     margin: 0 auto;
}
 .investments-section {
     background-color: #f5f5fa;
    /* Light background for investment section */
     background-image: url(/wp-content/themes/value2-theme/assets/images/box-back.png);
     padding: 2.5rem 0;
    /* 40px top/bottom padding */
     padding-top: 9rem;
}
 .solutions-grid {
     display: flex;
     flex-direction: column;
    /* Stack on mobile */
     gap: 1.875rem;
    /* 30px */
     padding: 0 1.25rem;
    /* 20px */
     margin-left: auto;
     margin-right: auto;
}
 .solution-card {
     display: flex;
     color: inherit;
     text-decoration: none;
}
 .solution-card .solution-thumbnail {
     width: 70%;
     aspect-ratio: 5 / 3;
     overflow: hidden;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
}
 .solution-card .solution-thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .solution-card .entry-header, .solution-card .entry-summary {
     padding: 2rem;
     width: 30%;
}
 .solution-card .entry-summary {
     display: none;
}
 .solution-card .entry-title {
     color: #000;
     font-weight: 200;
}
 .solution-card .entry-summary p {
     font-size: 1rem;
     color: #666;
     line-height: 1.6;
}
/* Single Solution Page */
 .single-solution-content .solution-single-article {
     padding: 2.5rem;
    /* 40px */
     margin-bottom: 3.125rem;
    /* 50px */
     border: 0.0625em solid #eee;
    /* 1px */
}
 .single-solution-content .post-thumbnail {
     width: 100%;
     height: 21.875rem;
    /* 350px */
     overflow: hidden;
     margin-bottom: 2.5rem;
    /* 40px */
}
 .single-solution-content .post-thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .single-solution-content .entry-title {
     font-size: 3rem;
     color: #07ba58;
     text-align: center;
     margin-bottom: 1.875rem;
    /* 30px */
}
 .single-solution-content .entry-content {
     font-size: 1.2rem;
     line-height: 1.8;
     color: #444;
     max-width: 50rem;
    /* 800px */
     margin: 0 auto 1.875rem;
    /* 30px */
}
 .single-solution-content .back-link {
     display: inline-block;
     margin-top: 1.875rem;
    /* 30px */
     color: #07ba58;
     font-weight: 600;
}
 .single-solution-content .back-link::before {
     content: '\2192';
    /* Right arrow for RTL */
     margin-left: 0.5rem;
    /* 8px */
}
 .home .hero-title {
     line-height: 1.2;
}
/* Footer Styles */
 .site-footer {
     background-color: #59595c;
    /* Dark footer background */
     color: #f0f0f0;
     padding: 1rem;
     text-align: center;
     font-size: 1rem;
     background-image: url('/wp-content/themes/value2-theme/assets/images/footer-back.png');
    /* Background image */
     padding-top: 6rem;
     padding-bottom: 6rem;
}
 .footer-content {
     margin: 0 auto;
     display: flex;
     flex-direction: column;
    /* Stack on mobile */
     gap: 2.5rem;
    /* 40px */
     align-items: center;
}
/* Footer Section - General */
 .footer-section {
     text-align: center;
     width: 100%;
    /* Full width on mobile, responsive on desktop */
}
 .footer-logo img {
     max-height: 3.75rem;
    /* 60px */
     width: auto;
     margin-bottom: 1.5625rem;
    /* 25px */
     filter: brightness(0) invert(1);
    /* Make it white if colored */
}
 .footer-section h4 {
     color: #07ba58;
    /* Value2 Green for footer headings */
     margin-bottom: 1.25rem;
    /* 20px */
     font-size: 1.2rem;
     font-weight: 700;
}
 .footer-section ul {
     list-style: none;
     padding: 0;
     margin: 0;
}
 .footer-section ul li {
     margin-bottom: 0.625rem;
    /* 10px */
}
 .footer-section a {
     color: #f0f0f0;
     transition: color 0.3s ease;
}
 .footer-section a:hover {
     color: #07ba58;
}
 .social-links {
     margin-top: 1.25rem;
    /* 20px */
}
 .social-links a {
     margin: 0 0.75rem;
    /* 12px */
     font-size: 1.8rem;
     color: #f0f0f0;
     transition: color 0.3s ease;
}
 .social-links a:hover {
     color: #07ba58;
}
 .certification-logos {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 1.5625rem;
    /* 25px */
     margin-top: 1.875rem;
    /* 30px */
}
 .certification-logos img {
     max-height: 4.375rem;
    /* 70px */
     width: auto;
     filter: brightness(0) invert(1);
    /* Make them white for dark background */
     opacity: 0.8;
}
/* Footer Contact Info specific styles */
 .footer-contact-info {
     display: flex;
     justify-content: space-between;
     align-items: center;
     text-align: center;
    /* Center on mobile */
     color: #fff;
    /* Lighter color for contact info */
     font-size: 1rem;
     line-height: 1.6;
     margin-top: 4rem !important;
    /* 50px */
}
/* Style the contact items to take equal space */
 .footer-contact-info > *:not(.contact-divider) {
     flex: 1;
}
/* Create vertical divider lines as flex items */
 .footer-contact-info .contact-divider {
     width: 1px;
     height: 1.5rem;
     background-color: #fff;
     flex-shrink: 0;
}
 .footer-contact-info p {
     margin-bottom: 0.5rem;
    /* 8px */
}
 .footer-contact-info a {
     color: #ccc;
}
 .footer-contact-info a:hover {
     color: #07ba58;
}
 .footer-bottom {
     margin-top: 2.5rem;
    /* 40px */
     padding-top: 1.5625rem;
    /* 25px */
     border-top: 0.0625rem solid rgba(255,255,255,0.15);
    /* 1px */
     font-size: 0.8rem;
     color: #aaa;
}
 .footer-links {
     margin-top: 3rem;
     margin-bottom: 3rem;
}
 .footer-links a {
     color: white;
}
/* Footer Links - Horizontal Layout */
 .footer-links ul {
     display: flex;
     flex-direction: row;
     list-style: none;
     padding: 0;
     margin: 0;
     justify-content: space-between;
     width: 100%;
}
 .footer-links ul li {
     margin: 0;
     flex: 1;
     text-align: center;
}
 .footer-links ul li:not(:first-child)::after {
     content: '';
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     width: 1px;
     height: 1.5rem;
     background-color: #fff;
}
 .footer-links ul li {
     position: relative;
}
 .media-mentions-grid {
     margin-top: -2rem !important;
     padding-top: 0 !important;
}
 .wide-wrapper {
     max-width: 100%;
     margin: 0 auto;
}
/* Responsive Adjustments (Desktop First, then Mobile overrides) */
/* Large Laptops / Desktops: 1024px - 1280px (or 1366px) */
 @media (min-width: 768px) {
     .hero-button {
         width: 33%;
    }
     .language-en .hero-section {
         direction: rtl;
    }
    .search-submit, .search-field {
        padding: 0.2rem 1rem !important;
    }
    .search-input-wrapper {
        margin-top: 0.35rem;
    }
}
 @media (min-width: 768px) and (max-width: 959px){
     .site-header-container, .biglinks-grid, .media-mentions-section, .usp-items-wrapper, .footer-content, .esg-impact-section, .team-section, .value2-box-shortcode {
         max-width: 768px;
         margin: auto;
    }
     .wide-wrapper {
         max-width: 768px;
    }
     .esg-impact-lower .media-excerpt {
         overflow: hidden;
    }
     .esg-impact-upper .media-title {
         margin-top: 0.5rem;
         line-height: 1.1;
    }
     .cubebody {
         line-height: 1.3;
         font-size: 1rem;
    }
     .solution-content {
         font-size: 1rem !important;
    }
}
 @media (min-width: 960px) {
     html {
        /* font-size: 13px;
        */
    }
     .site-header-container, .biglinks-grid, .media-mentions-section, .usp-items-wrapper, .footer-content, .esg-impact-section, .team-section, .value2-box-shortcode {
         max-width: 920px;
         margin: auto;
    }
     .wide-wrapper {
         max-width: 920px;
    }
}
/* Medium desktop screens where advisory cards need proper height */
 @media (min-width: 960px) {
     .advisory-card {
        /* min-height: 25vw !important;
         */
    }
     .advisory-content {
         height: 100% !important;
        /* Ensure content fills the card height */
    }
}
/* Tablets (Landscape) / Small Laptops: 768px - 1023px */
 @media (min-width: 48em) {
    /* 768px */
    /* Mobile menu toggle behavior */
     .menu-toggle {
         display: none;
    }
     .usp-item {
         max-width: none !important;
    }
     .main-navigation {
         display: block !important;
        /* Ensure menu is always visible on desktop */
         position: static;
         width: 100%;
         background-color: transparent;
         box-shadow: none;
         padding: 0;
    }
     .main-navigation ul {
         flex-direction: row;
         justify-content: space-evenly;
    }
     .main-navigation li {
         margin-left: 0;
    }
     .main-navigation li:last-child {
         margin-right: 0;
    }
    /* Hero Section */
     .hero-section {
         flex-direction: row;
        /* Side-by-side on desktop (RTL: image on left, content on right) */
         text-align: right;
    }
     .hero-content {
         order: 2;
        /* Content on the right in RTL */
    }
     .hero-image-placeholder, .hero-excerpt {
         order: 1;
        /* Image on the left in RTL */
    }
    /* USP Section */
     .usp-items-wrapper {
         flex-direction: row;
        /* Horizontal on desktop */
         flex-wrap: wrap;
         justify-content: center;
    }
    /* Testimonials Grid */
     .testimonials-grid, .biglinks-grid, .media-cg-grid, .esg-impact-grid {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;
    }
     .testimonial-card, .biglinks-card, .media-cg-card, .esg-impact-card {
         flex-basis: calc(33.333% - 1.25em);
        /* 3 columns (20px gap) */
         max-width: calc(33.333% - 1.25em);
        /* 3 columns */
    }
    /* Media Mentions Grid */
     .media-mentions-grid {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: center;
    }
     .media-mention-card {
         flex-basis: calc(33.333% - 1.25em);
        /* 3 columns (20px gap) */
         max-width: calc(33.333% - 1.25em);
        /* 3 columns */
    }
    /* Team Members Grid */
     .team-members-grid {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: flex-start;
        /* Align incomplete rows to the right */
    }
     .team-member-card {
         flex: 0 0 calc(25% - 0.75rem);
        /* Fixed width - no grow/shrink */
         width: calc(25% - 0.75rem);
        /* Fixed width for matrix layout */
         max-width: calc(25% - 0.75rem);
        /* 4 columns exactly */
         margin-bottom: 0.5rem;
         overflow-y: scroll;
    }
     .advisory-card {
        /* max-height: 16rem !important;
        */
    }
    /* Certification Logos Section - Desktop Grid Layout */
     .certification-logos-grid {
         display: grid;
         grid-template-columns: repeat(4, 1fr);
        /* 4 columns on desktop */
         gap: 1rem;
    }
    /* Solutions Grid */
     .solutions-grid {
         flex-direction: row;
         flex-wrap: wrap;
         justify-content: right;
         margin-bottom: 6.25rem;
        /* 100px */
    }
     .solution-card {
         flex-basis: calc(50% - 1.25em);
        /* 2 columns (20px gap) */
         max-width: calc(50% - 1.25em);
        /* 2 columns */
         aspect-ratio: 90/42;
    }
    /* Footer */
     .footer-content {
         flex-direction: row;
        /* Horizontal layout */
         justify-content: space-between;
         text-align: right;
        /* Align sections to right for RTL */
         align-items: flex-start;
         padding: 0 2.5rem;
        /* 40px */
    }
     .footer-section {
         flex-basis: calc(33.333% - 1.25em);
        /* Initial 3 columns, can adjust based on content (20px gap) */
         text-align: right;
        /* Default align right for RTL */
    }
    /* Specific width adjustments for footer sections to match PDF */
     .footer-section.footer-contact-info {
         flex-basis: 25%;
        /* Adjust as needed for specific content */
    }
     .footer-section.footer-navigation {
         flex-basis: 35%;
        /* Adjust as needed */
    }
     .footer-section.social-media {
         flex-basis: 25%;
        /* Adjust as needed */
    }
    /* Footer Navigation Specifics (now horizontal) */
     .footer-section.footer-navigation ul {
         display: flex;
         flex-direction: row;
        /* Horizontal menu */
         flex-wrap: wrap;
        /* Allow wrapping if many items */
         justify-content: flex-end;
        /* Align to right for RTL */
         gap: 0.625rem 1.875rem;
        /* Vertical and horizontal gap between links (10px 30px) */
         text-align: right;
        /* Ensure ul content is right-aligned */
    }
     .footer-section.footer-navigation ul li {
         margin-bottom: 0;
        /* Remove vertical margin from list items */
    }
     .footer-section.footer-navigation a {
         padding: 0.3125rem 0;
        /* Adjust padding for horizontal items (5px) */
    }
     .footer-section.social-media {
         text-align: left;
        /* Keep social icons aligned left for visual balance despite RTL */
    }
     .certification-logos {
         justify-content: flex-end;
        /* Align logos to the right in RTL */
    }
}
/* Tablet / Medium Screens (e.g., 768px to 1024px) */
 @media (min-width: 48em) and (max-width: 64em) {
    /* 768px and 1024px */
     .usp-item, .testimonial-card, .media-mention-card {
         flex-basis: calc(33.333% - 1.25em);
        /* Keep 3 columns on tablet (20px gap) */
         max-width: calc(33.333% - 1.25em);
    }
     .team-member-card {
         flex-basis: calc(33.333% - 1.25em);
        /* 3 columns on tablet (20px gap) */
         max-width: calc(33.333% - 1.25em);
    }
}
/* Mobile Overrides (Max-width for mobile-first approach, or separate mobile section for desktop-first) */
 @media (max-width: 767px) {
     h1 {
         font-size: 2.2rem;
    }
     h2 {
         font-size: 1.8rem;
    }
     h3 {
         font-size: 1.5rem;
    }
     .single-media_cg .site-content, .single-esg_impact .site-content, .privacy-policy .site-content, .simple-page .site-content {
         padding-right: 2rem !important;
        /* 20px */
         padding-left: 2rem !important;
        /* 20px */
         @media (min-width: 769px) {
            /* Start hidden and fade in after JS reorders items */
             .header-right-content {
                 opacity: 0;
                 transition: opacity 220ms ease;
            }
             .header-right-content.header-right-content--visible {
                 opacity: 1;
            }
        }
    }
     .site-header {
         padding: 0.625rem 0;
        /* Reduced padding (10px) */
    }
     .site-header-container {
         padding: 0 0.9375rem;
        /* Reduced padding (15px) */
    }
     .site-branding .custom-logo-link img {
         max-height: 2.5rem;
        /* Smaller logo on mobile (40px) */
    }
     .menu-toggle {
         display: block;
        /* Show hamburger on mobile */
         order: -1;
        /* Place toggle to the right in RTL flex on mobile */
    }
     .main-navigation {
         display: none;
        /* Controlled by JS */
         position: fixed;
        /* Fixed position for overlay */
         top: 0;
         right: -100%;
        /* Start off-screen to the right in RTL */
         width: 17.5rem;
        /* Width of the mobile menu (280px) */
         height: 100vh;
        /* Full viewport height */
         background-color: #f9f9f9;
        /* Light background for mobile menu */
         box-shadow: -0.3125rem 0 0.9375rem rgba(0,0,0,0.3);
        /* Shadow on the left (5px 0 15px) */
         padding-top: 5rem;
        /* Space for logo/header (80px) */
         transition: right 0.3s ease-in-out;
        /* Transition for RTL slide-in */
         z-index: 999;
    }
     .main-navigation.toggled {
         right: 0;
        /* Slide in from right */
         display: block;
        /* Ensure it becomes block when toggled */
    }
     .main-navigation ul {
         flex-direction: column;
        /* Stack vertically */
         align-items: flex-end;
        /* Align menu items to the right for RTL */
         padding: 0 1.5625rem;
        /* Inner padding for menu items (25px) */
    }
     .main-navigation li {
         margin: 0 0 0.9375rem 0;
        /* Vertical spacing (15px) */
         width: 100%;
         text-align: right;
    }
     .main-navigation a {
         padding: 0.75rem 0;
        /* 12px */
         border-bottom: 0.0625rem solid #eee;
        /* Separator for menu items (1px) */
    }
     .main-navigation li:last-child a {
         border-bottom: none;
    }
     .section-title {
         padding-right: 2rem ;
        /* 20px */
    }
     .section-line {
         margin-right: 2rem !important;
        /* 20px */
    }
     .solution-content {
         padding: 0.875rem;
        /* 14px */
         background-color: white;
         display: none;
         text-align: center;
         font-size: 0.8125rem;
        /* 13px */
    }
     body:not(.home) .hero-title {
         font-size: 2.5rem;
         opacity: 0;
         transition: opacity 0.2s ease-in-out;
    }
     body:not(.home) .hero-excerpt-short {
         opacity: 0;
         transition: opacity 0.2s ease-in-out;
    }
     .hero-subtitle {
         font-size: 1.2rem;
    }
     .hero-button-section {
         margin-top: 0;
    }
    /* Hero Section: Vertical centering for home page only on mobile */
     .home .hero-section {
         justify-content: center;
        /* Center content vertically */
    }
     .home .hero-content {
         align-self: center;
        /* Center the content within the flex container */
    }
    /* Intro Video Section - Mobile */
     .intro-video-section {
         margin: 2rem auto;
         padding: 0 1rem;
    }
     .intro-video-wrapper {
         padding: 1.5rem;
    }
     .intro-video-player {
    }
     .usp-item, .testimonial-card, .media-mention-card, .solution-card {
         max-width: 100%;
        /* Full width on mobile */
    }
     .testimonial-card {
         padding: 1rem;
    }
     .testimonial-image img {
         padding-left: 0.625rem;
         border-left: 1px solid #7b7b7b;
         height: 6rem;
         width: 6rem;
    }
     .home .media-mentions-section .section-title {
         margin-bottom: 2rem !important;
    }
     .usp-items-wrapper {
         padding: 0;
         flex-direction: row;
        /* Stack items vertically */
         margin-left: 0 !important;
         margin-right: 0 !important;
         width: 100%;
        /* Full width on mobile */
         box-sizing: border-box;
    }
     .usp-item p {
         font-size: 1.5rem;
    }
     .usp-description {
         border-right: none;
        /* Remove right border */
         padding-right: 0;
        /* Remove right padding */
         text-align: right;
        /* Center text on mobile */
         padding-top: 0 !important;
    }
     .usp-item {
         max-width: calc(33.333% - 2rem) !important;
         border-right-style: solid;
         border-right-color: #07ba58;
         padding-right: 0.5rem;
         font-size: 0.8rem !important;
    }
     .usp-items-wrapper {
         padding-left: 0;
    }
     .usp-items-wrapper:has(:nth-child(4):last-child) {
         padding-right: 0.7rem !important;
         font-size: 0.8rem;
    }
     .team-section .section-header {
         margin-bottom: -2rem;
    }
     .biglinks-grid {
         padding-top: 0 !important;
    }
     .usp-section .section-title, .testimonials-section .section-title, .media-mentions-section .section-title, .team-section .section-title, .archive-solution-content .page-title {
         font-size: 1.5rem;
    }
     .usp-section {
         padding-bottom: 3rem;
    }
     .section-box {
         padding: 2rem !important;
    }
     .biglinks-section, .testimonials-grid, .media-mentions-grid {
         padding-right: 2rem;
         padding-left: 2rem;
    }
     .biglinks-grid, .home .media-mentions-grid {
         padding-bottom: 2rem !important;
    }
     .biglink-card {
         line-height: 1.2;
         font-size: 1rem;
         max-width: fit-content;
    }
     .testimonials-grid {
         padding-top: 0 !important;
    }
     .testimonials-grid {
         padding-bottom: 6rem !important;
    }
     .media-mentions-grid {
         padding-top: 2rem !important;
    }
     .media-cg-grid {
         padding: 2rem !important;
    }
     .contact-cta-section {
         padding: 3rem 2rem;
    }
     .contact-cta-title {
         font-size: 1.5rem;
    }
     .contact-form {
         font-size: 1rem !important;
         padding: 0 !important;
    }
     .contact-cta-button {
         padding: 0.9375rem 2.1875rem;
        /* 15px 35px */
         font-size: 1.2rem;
    }
     .footer-content {
         gap: 1.875rem;
        /* 30px */
    }
     .footer-section {
         width: 100%;
         text-align: center;
    }
     .footer-section.social-media {
        /* Social links section */
         text-align: center;
    }
     .certification-logos {
         justify-content: center;
    }
}
 .sub-menu {
     display: none;
    /* Hide sub-menus by default */
     position: absolute;
     right: 0;
     top: 100%;
     z-index: 100;
     padding: 0;
     padding-bottom: 1rem !important;
     padding-bottom: 0 !important;
}
/*.current-menu-ancestor .sub-menu,*/
 .main-navigation li.menu-item-has-children:hover > .sub-menu, .main-navigation .sub-menu.submenu-open {
     display: block !important;
    /* Show sub-menu on hover or when open */
}
 .main-navigation .sub-menu li {
     width: 100%;
     text-align: right;
     margin: 0;
     padding: 0;
     margin-right: 0 !important;
}
 .main-navigation .sub-menu a {
     color: #000;
     display: block;
     font-size: 1rem;
}
 .main-navigation .sub-menu a:hover {
     color: #07ba58;
}
 .main-navigation .sub-menu li:last-child a {
     border-bottom: none;
}
/* RTL Specific Tweaks */
/* Main Navigation */
 [dir="rtl"] .main-navigation li {
     margin-left: 0;
    /* Override any LTR margin-left */
}
/* Hero Section: Flip order for RTL */
 [dir="rtl"] .hero-section {
     flex-direction: row-reverse;
    /* Image on right, content on left */
}
 [dir="rtl"] .hero-content {
     order: 2;
    /* Content on the left in RTL */
     width: 24rem;
     margin-bottom: 4em;
}
 [dir="rtl"] .hero-image-placeholder {
     order: 1;
    /* Image on the right in RTL */
     width: 50vw;
     height: 20vw;
     overflow: hidden;
}
 .hero-excerpt {
     order: 1;
    /* Image on the right in RTL */
     width: calc(50vw - 2rem);
     border-right-style: solid;
     padding-right: 1rem;
     border-right-color: #03bb59;
     border-right-width: 0.1rem;
     padding-top: 3.5rem;
}
 .hero-excerpt p {
     max-width: 28.5rem;
     font-size: 1.2rem;
}
 .hero-excerpt-short p {
     max-width: 24rem;
     font-size: 2.75rem;
     margin-top: 0 !important;
}
 .page-id-183 .hero-title, .page-id-37 .hero-title {
     margin-top: 0;
}
 .page-id-183 .hero-content, .page-id-37 .hero-content {
     margin-bottom: 0;
}
/* Arrows for RTL links */
 [dir="rtl"] .single-solution-content .back-link::before {
     content: '\2190';
    /* Left arrow for RTL */
     margin-left: 0;
     margin-right: 0.5rem;
    /* 8px */
}
/* Mobile RTL adjustments */
 @media (max-width: 47.9375em) {
    /* 767px */
     [dir="rtl"] .menu-toggle {
         order: 1;
        /* Keep hamburger on the right for mobile for consistency with common designs */
    }
     [dir="rtl"] .main-navigation {
         left: -100%;
        /* Mobile menu slides from right to left */
         right: auto;
         box-shadow: 0.3125rem 0 0.9375rem rgba(0,0,0,0.3);
        /* Shadow on the right side (5px 0 15px) */
    }
     [dir="rtl"] .main-navigation.toggled {
         left: 0;
        /* Slide into view from the left */
         right: auto;
    }
     [dir="rtl"] .main-navigation ul {
         align-items: flex-end;
        /* Keep menu items right-aligned for stacked RTL mobile menu */
    }
     [dir="rtl"] .hero-section {
         flex-direction: row;
        /* Stack on mobile, default */
    }
     [dir="rtl"] .hero-content {
         order: initial;
        /* Reset order for stacking */
    }
     [dir="rtl"] .hero-image-placeholder, [dir="rtl"] .hero-excerpt {
         order: initial;
        /* Reset order for stacking */
    }
     .page-header.search-header, .search-result {
         padding-right: 2rem !important;
        /* 20px */
         padding-left: 2rem !important;
        /* 20px */
         border-left-style: none !important;
    }
}
 .testimonial-quote p {
     padding-bottom: 1rem;
     font-size: 2.14rem;
     line-height: 1;
}
 .main-menu-container {
     position: absolute;
     width: 41%;
}
/* === PATCH: Grid layout fixes for 3-column sections === */
 .usp-items-wrapper, .testimonials-grid, .biglinks-grid, .media-mentions-grid, .media-cg-grid, .esg-impact-grid {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 2rem;
     padding-top: 0;
     padding-bottom: 6rem;
}
 .usp-items-wrapper {
     background-color: #f5f5fa;
     padding-top: 0;
     padding-bottom: 1.5rem;
     display: flex;
     align-items: stretch;
    /* Make all items same height */
     gap: 13%;
     margin-top: 3.5rem;
     margin-left: auto;
     margin-right: auto;
}
 .usp-item--four {
     flex: 1 1 calc(25% - 2.5em);
    /* 40px gap */
     max-width: calc(25% - 2.5em);
    /* 40px gap */
     box-sizing: border-box;
}
 .usp-item--four .usp-description {
     margin-right: 0 !important;
     padding-right: 1rem !important;
}
/* Mobile fallback to 1 column */
 @media (max-width: 768px) {
     #solution-overlay .entry-summary{
         padding-top: 0.5rem;
    }
     .page-id-183 .hero-title, .page-id-37 .hero-title {
         max-width: 42vw;
    }
     .testimonial-card, .media-mention-card {
         flex: 1 1 100%;
         max-width: 100%;
    }
     .testimonial-card {
         aspect-ratio: 37/53;
         padding: 2rem;
    }
     .testimonials-section {
         padding-bottom: 2rem;
    }
     .testimonial-quote p {
         font-size: 2rem;
         line-height: 1.2;
         letter-spacing: 0.01em;
         margin-top: 1rem;
    }
     .quote-icon {
         width: 5em !important;
    }
     .author-name, .author-title {
         font-size: 1.3rem;
    }
     .testimonial-author .author-title {
    }
     .testimonial-author .company-logo img {
         max-width: 4rem !important;
    }
     .testimonial-footer {
         line-height: 1;
         align-items: flex-end;
        /* Align testimonial-author to bottom */
    }
     .testimonial-image {
         overflow: hidden;
    }
     .header-left-content {
         display: none !important;
    }
     .contact-item {
         padding-top: 0.5rem !important;
         padding-bottom: 0.5rem !important;
         padding-left: 0 !important;
         padding-right: 0 !important;
         font-size: 1.2rem !important;
    }
     .biglink-line {
         margin-bottom: 0.4rem !important;
    }
     .usp-section {
         margin-bottom: -1rem;
         margin-top: 3rem;
    }
     .advisory-content {
         visibility: hidden;
         user-select: none;
         -webkit-user-select: none;
         -moz-user-select: none;
         -ms-user-select: none;
    }
     .site-footer {
        /* padding-top: 1rem !important;
        */
         padding-bottom: 1rem !important;
    }
     .media-mention-card .read-more-link {
         margin-top: 2rem !important;
         font-size: 1.2rem !important;
    }
}

@media (max-width: 380px) {
     .testimonial-quote p {
         font-size: 2rem;
    }
    .cubebody, .cubebody a {
        font-size: 1.1rem;
    }
    .biglink-card {
        padding: 1.5rem 2rem 1.5rem;
    }
    .biglink-link.cubebody {
        margin-bottom: -0.5rem !important;
    }
}

 .usp-item {
     display: flex;
     align-items: center;
     justify-content: center;
     flex: 1;
    /* Equal width distribution */
     font-size: 1.25rem;
}
/* === Hero Section === */
 .hero-image-placeholder, .hero-excerpt {
     max-width: 55%;
     padding-top: 2rem !important;
     padding-bottom: 2rem;
}
 .hero-content {
     max-width: 45%;
}
/* === Footer Adjustments === */
 .footer-content {
     flex-direction: row;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: flex-start;
     text-align: right;
     gap: 2.5rem;
    /* 40px */
}
 .footer-section {
     flex: 1 1 30%;
     min-width: 15rem;
    /* 240px */
}
 @media (max-width: 768px) {
     .testimonials-container {
         padding-right: 2rem;
         padding-left: 2rem;
    }
     .logo-text-content {
         font-size: 1rem;
         overflow-y: scroll;
         user-select: none;
         -webkit-user-select: none;
         -moz-user-select: none;
         -ms-user-select: none;
    }
     #footer-menu {
         font-size: 1.2rem !important;
    }
     #footer-menu .menu-item {
         padding-left: 0.5rem;
         padding-right: 0.5rem;
    }
     .usp-description {
         margin-right: 0 !important;
    }
     .usp-items-wrapper {
         margin-top: 2rem !important;
         padding-left: 2rem;
         padding-right: 2rem;
    }
     .usp-description {
         margin-right: 0 !important;
    }
     .footer-content {
         flex-direction: column;
         text-align: center;
    }
     .footer-section {
         flex: 1 1 100%;
         min-width: auto;
    }
     .investments-section {
         padding-top: 3rem;
    }
}
/* === Contact Form Tweaks === */
 .contact-form {
     padding-top: 3.5rem;
}
 .contact-form input, .contact-form textarea {
     font-size: 1rem;
}
/* === Improve form button visibility */
 .contact-form input[type="submit"] {
     font-weight: 600;
     letter-spacing: 0.03rem;
}
 #phone {
     text-align: right;
}
 .footer-left-content img {
     width: 10rem;
    /* 160px */
}
 .footer-certifications {
     display: flex;
     justify-content: space-evenly;
     align-items: center;
     width: 100%;
     flex-wrap: wrap;
     margin-bottom: 3rem;
}
 .footer-certifications img {
     vertical-align: middle;
     height: 7rem;
}
 .section-line {
     width: 2.8rem;
     height: 0.3125rem;
     background: #07ba58;
     margin-right: 0;
     margin-left: auto;
     margin-bottom: 0.4em;
     display: block;
    /* margin-right: 4.75rem;
     */
}
 .contact-form .section-line {
     margin-right: 0 !important;
}
 .contact-item.address {
}
 .footer-certifications .pri-logo {
     border-right: #fff 0.0625rem solid;
     border-left: #fff 0.0625rem solid;
     border-image: linear-gradient(to bottom, transparent 25%, #fff 25%, #fff 75%, transparent 75%) 1;
     padding-left: 3rem;
     padding-right: 3rem;
}
 .footer-certifications .tonic-logo {
     border-right: #fff 0.0625rem solid;
     border-image: linear-gradient(to bottom, transparent 25%, #fff 25%, #fff 75%, transparent 75%) 1;
     padding-right: 2rem;
}
 .clean-money-logo {
}
 .contact-item {
     padding-left: 1.25rem;
    /* 20px */
     padding-right: 1.25rem;
    /* 20px */
     font-size: 1.3rem;
}
 .contact-item.email a, .contact-item.email a:hover {
     color: #fff;
}
 #footer-menu {
     font-size: 1.3rem;
}
 @media (max-width: 767px) {
    /* Center site-branding horizontally */
     .site-branding {
         margin-left: auto;
         margin-right: auto;
         justify-content: center;
         width: 100%;
         max-width: 100vw;
         box-sizing: border-box;
    }
    /* Prevent horizontal scroll on all main containers */
     html, body, .site-content, .site-header, .site-header-container, .hero-section, .footer-content, .footer-section {
         max-width: 100vw;
         overflow-x: hidden;
         box-sizing: border-box;
    }
    /* Hero image as background for subtitle, hide image placeholder */
     .hero-image-placeholder:not(.hero-excerpt) {
         display: none !important;
    }
     .hero-section {
         flex-direction: row;
         justify-content: space-between;
         align-items: flex-start;
         gap: 0;
         margin-bottom: 1rem;
         padding-top: 1rem;
         overflow: hidden;
    }
     .hero-content {
         display: flex;
         flex-direction: column;
         align-items: flex-end;
         flex: 1 1;
         padding: 0 0.625rem 0 0;
        /* 10px */
         background: none;
         z-index: 2;
    }
     .hero-tsuot, .hero-title, .hero-responsibly {
         line-height: 1;
         color: #fff;
         text-align: left;
         margin: 0;
         float: none;
         padding: 0;
         font-size: 2.4rem;
    }
     .hero-tsuot {
         margin-top: -2px;
         background-color: transparent;
    }
     .home .hero-title {
         max-width: 10rem;
    }
     .hero-responsibly {
         color: #000;
         margin-top: 0.5rem;
         width: fit-content;
         padding-right: 0.2rem;
         padding-left: 0.2rem;
         line-height: 1.1 !important;
         visibility: hidden;
    }
     .hero-subtitle {
         box-sizing: border-box;
         flex: 1 1 50%;
         max-width: 50%;
         height: 8rem;
         align-self: flex-start;
         color: #fff;
         padding: 2rem 1rem;
        /* 32px 10px */
         margin: 1.5rem 0 1.5rem 0;
         float: none;
         text-align: left;
         display: flex;
         align-items: center;
         justify-content: flex-start;
         border-right-style: solid;
    }
     .home .hero-subtitle {
         height: auto;
    }
     .hero-subtitle p {
         text-align: right;
         font-size: 1.2rem;
         line-height: 1.3;
         width: 12rem;
         font-family: 'fb_shapinger_medium';
    }
     .hero-image-placeholder {
         display: none !important;
    }
     .hero-button {
         margin-top: 1.25rem;
        /* 20px */
         font-size: 1.5rem !important;
         background-color: #07ba58;
         color: #fff;
         border-radius: 0.2rem;
         text-decoration: none;
         padding: 1rem 2.5rem;
         width: calc(100% - 9rem);
    }
     .home .hero-title {
         line-height: 1;
         margin-top: 1rem;
    }
     .hero-excerpt {
         padding-left: 0.5rem;
    }
     .hero-excerpt-short p {
         margin-top: 0;
         font-size: 2.4rem !important;
    }
     .hero-excerpt-short {
         font-size: 1.5rem;
         max-width: 45%;
    }
     .usp-section {
         border-bottom-width: 0;
    }
     .usp-items-wrapper {
         padding-bottom: 0;
    }
     .home .usp-section {
         margin-top: 2rem;
         margin-bottom: 3rem 
    }
     .value2-box-shortcode {
         padding: 1rem !important;
        /* 16px */
         margin-top: 1rem !important;
    }
     .footer-certifications {
         display: flex;
         flex-direction: column;
         align-items: center;
         flex-flow: column-reverse;
    }
     .footer-certifications img {
         border-style: none !important;
         height: 7rem !important;
         padding: 0 !important;
         margin-top: -1rem;
    }
     .contact-item.address {
         border-right: none !important;
         border-left: none !important;
    }
     .media-mentions-section .section-header {
         margin-bottom: 0;
    }
     .footer-contact-info {
         font-size: 0.5rem;
         flex-direction: column;
         margin-top: 2rem !important;
    }
     .contact-divider {
         display: none !important;
    }
     .contact-item {
         display: block;
    }
     .contact-item.address {
         border-top-style: solid;
         border-bottom-style: solid;
    }
     .solution-card .entry-title {
         font-size: 1.3rem;
    }
     .hero-content {
         margin-left: 1rem;
    }
     .solutions-grid {
         padding: 0 2rem;
    }
     .testimonial-quote {
         margin-bottom: 0;
    }
}
 .main-navigation li.menu-item-has-children:hover > .sub-menu, .main-navigation .sub-menu.submenu-open {
     display: block;
    /* Show sub-menu on hover or when open */
}
 .main-navigation .sub-menu li {
     width: 100%;
     text-align: right;
     margin: 0;
     border-bottom-style: solid;
     border-bottom-width: 0.0625rem;
    /* 1px */
     width: 8rem;
     padding-bottom: 0.5rem;
     padding-top: 0.5rem;
}
 .main-navigation .sub-menu li:last-child {
     border-bottom: none;
}
 .main-navigation .sub-menu a {
     color: #000;
     display: block;
     font-size: 1rem;
    /* Slightly smaller for sub-menu items */
     font-family: 'fb_shapinger_regular';
}
 .main-navigation .sub-menu a:hover {
     color: #07ba58;
}
 .main-navigation .sub-menu li:last-child a {
     border-bottom: none;
}
 @media (min-width: 48em) {
    /* 768px */
     .biglink-card, .media-mention-card, .media-cg-card, .esg-impact-card {
         flex: 1 1 calc(33.333% - 4em);
        /* 40px gap */
         max-width: calc(33.333% - 0em);
         box-sizing: border-box;
    }
     .testimonial-card {
         flex: 1 1 calc(33.333vw - 4em);
        /* 40px gap */
         max-width: calc(33.333vw - 0em);
         box-sizing: border-box;
    }
     .main-navigation .sub-menu {
         display: none;
         background-color: #f5f5fa;
         padding: 1rem;
         padding-top: 0 !important;
         margin-top: 0.5rem;
        /* 16px */
         box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.18), 0 1.5rem 3rem rgba(0,0,0,0.10);
        /* Stronger, more dramatic shadow */
    }
     .main-navigation li.menu-item-has-children:hover > .sub-menu, .main-navigation .sub-menu.submenu-open {
         display: block !important;
    }
}
 #footer-menu .sub-menu {
     display: none;
}
 .solution-card:first-child {
     background-color: #07534e;
}
 .solution-card:first-child .entry-title {
     color: #a8f5c0;
    /* Light green text for contrast */
}
 .solution-card:nth-child(2) {
     background-color: #05d9a2;
    /* Light green text for contrast */
}
 .solution-card:nth-child(3) {
     background-color: #4cd644;
    /* Light green text for contrast */
}
 .solution-card:nth-child(4) {
     background-color: #bcffc7;
    /* Light green text for contrast */
}
 .solution-card:nth-child(5) {
     background-color: #05d9a2;
    /* Light green text for contrast */
}
 .header-left-content {
    /* Header left content: align icons horizontally and flush left */
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-top: 1rem;
}
 .accessibility-icon, .chat-icon, .search-icon {
     height: 1.6rem;
     display: inline-block;
     vertical-align: middle;
     margin: 0;
     padding: 0;
     cursor: pointer;
     transition: transform 0.2s ease;
}
 .chat-link {
     padding: 0.5rem;
}
 .accessibility-icon {
     padding: 6px;
}
 .accessibility-icon:hover {
     transform: scale(1.1);
}
/* Note: AccessYes button hiding is now handled by JavaScript in main.js */
 .solution-content {
     padding: 1.875rem;
    /* 30px */
     background-color: white;
     display: none;
     text-align: center;
     font-size: 1.2rem;
     height: 100%;
     flex-direction: column;
     justify-content: space-between;
}
 .solution-content p {
     text-align: right;
     cursor: default;
     line-height: 1.3;
}
 .solution-content .button {
     width: 100%;
     box-sizing: border-box;
     padding: 0.1875rem 0;
    /* 3px */
     margin-bottom: 1rem;
}
 .solutions-grid header {
     margin-top: 0;
}
 .solutions-grid header h2 {
     font-family: 'fb_shapinger_regular' !important;
}
 .solution-card:hover .solution-content {
     display: flex;
     opacity: 0;
     animation: fadeInSolutionContent 0.5s ease forwards;
}
 @keyframes fadeInSolutionContent {
     from {
         opacity: 0;
    }
     to {
         opacity: 1;
    }
}
 .solution-card:hover img {
     display: none;
}
 .section-box {
     background-color:#f5f5fa;
     background-image: url('/wp-content/themes/value2-theme/assets/images/box-back.png');
     padding-top: 4rem;
     padding-bottom: 4rem;
}
 .value2-box-shortcode {
     background-color: #fff;
     padding: 1.5rem 2.5rem;
     margin:3rem 0;
    /* 32px */
     font-size:1.2rem;
     line-height: 1.4;
     box-shadow:0 0.25rem 0.9375rem rgba(0,0,0,0.08);
    /* 4px 15px */
     color: #00382b;
     margin: auto;
     box-sizing: border-box;
     margin-bottom: 1rem;
}
 ץvalue2-box-shortcode:last-child {
     margin-bottom: 5rem;
}
 .media-mention-upper {
     height: 56%;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
}
 input:focus {
     outline: none;
    /* Removes the default blue outline in Chrome */
     border-color: #06622f !important;
    /* Green border on focus */
}
 .source-logo {
     width: 100%;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
}
 .wp-singular:not(.home) .section-header {
     display: none;
}
 .media-cg-card .media-title {
     color: unset;
     margin-top: 0 !important;
}
 .team-header {
     display: block !important;
}
 .advisory-content {
     position: absolute;
    /* Position absolutely to avoid affecting card height */
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     padding-top: 0.5rem;
     padding-bottom: 1.875rem;
    /* 30px for bottom spacing */
     background-color: #fff;
     display: none;
     cursor: default;
     box-sizing: border-box;
    /* Include padding in dimensions */
     z-index: 10;
    /* Ensure it appears above other content */
     overflow-y: auto;
    /* Enable scrolling when content overflows */
}
 .advisory-card:hover .advisory-content {
     display: block;
     opacity: 0;
     animation: fadeInAdvisoryContent 0.5s ease forwards;
}
 @keyframes fadeInAdvisoryContent {
     from {
         opacity: 0.5;
    }
     to {
         opacity: 1;
    }
}
/* Mobile touch support for advisory cards */
 @media (max-width: 768px) {
     .advisory-card {
         cursor: pointer;
         -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
     .advisory-card:hover .advisory-content, .advisory-card.active .advisory-content {
         display: block !important;
         opacity: 1 !important;
         animation: none;
        /* Remove animation on mobile for better performance */
    }
     .advisory-card .member-name {
         pointer-events: auto;
         cursor: pointer;
    }
    /* Ensure content is hidden by default on mobile */
     .advisory-content {
         display: none !important;
    }
    /* Show content when card is active */
     .advisory-card.active .advisory-content {
         display: block !important;
         opacity: 1 !important;
    }
}
 .contact-form {
     font-size: 1.5rem;
}
 .esg-impact-section .section-header {
     display: block !important;
}
 .esg-impact-grid {
     padding-top: 0;
}
 .esg-impact-section {
     margin-top: 3.5rem;
     margin-bottom: 5rem;
}
 .esg-impact-upper, .esg-impact-lower {
     height: 50%;
     overflow: hidden;
}
 .esg-impact-lower {
     background-color: #f5f5fa;
     padding: 2rem 1.5rem;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     box-sizing: border-box;
}
 .esg-impact-lower .media-excerpt {
     color: black;
    /* padding-top: 1rem;
    */
     padding-bottom: 1rem;
     max-height: 4.5rem;
    /* overflow: hidden;
    */
     flex-grow: 1;
}
 .esg-impact-upper .media-title {
     font-weight: 100;
     font-size: 2rem;
     line-height: 1.1;
     margin-right: 2rem;
     margin-left: 2rem;
     font-family: 'fb_shapinger_regular' !important;
     color: unset;
     max-height: 7rem;
     overflow: hidden;
     margin-top: 2.5rem;
}
 .esg-impact-card .media-excerpt p {
     font-size: 1.2rem;
     line-height: 1.4;
     margin: 0;
     min-height: 110%;
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     line-clamp: 3;
     -webkit-box-orient: vertical;
     text-overflow: ellipsis;
}
 .esg-impact-spacer {
     height: calc(33.333vw - 26em);
}
 .esg-impact-link {
     margin-top: auto;
     font-size: 1.2rem;
     font-weight: 900;
}
 .current-menu-ancestor > a, .current-menu-item a {
     color: #07ba58 !important;
     font-weight: 600;
}
 .site-footer-logo {
     margin-top: 1rem;
}
 .site-footer-logo a {
     display: inline-block;
}
 .site-footer-logo img {
     max-height: 2.75rem;
     width: auto;
}
 .testimonials-section .section-header {
     margin-bottom: 2.5rem;
}
 .rmp-menu-top-level-item {
     margin-bottom: 1rem !important;
}
 #rmp_menu_trigger-228 {
     visibility: hidden;
     transition: all 0.3s ease;
     right: 0;
     top: 9px;
}
 #rmp-menu-wrap-228 {
     padding-top: 0;
     margin-top: -6px;
}
 .rmp-menu-item-link {
     text-align: right !important;
}
 #rmp_menu_trigger-228 .responsive-menu-pro-inner, #rmp_menu_trigger-228 .responsive-menu-pro-inner::before, #rmp_menu_trigger-228 .responsive-menu-pro-inner::after {
     background-color: #000 !important;
     transition: background-color 0.3s ease;
}
/* Menu trigger on dark background */
 #rmp_menu_trigger-228.on-dark-bg {
     background-color: #000;
     border-radius: 4px;
     padding: 8px;
}
 #rmp_menu_trigger-228.on-dark-bg .responsive-menu-pro-inner, #rmp_menu_trigger-228.on-dark-bg .responsive-menu-pro-inner::before, #rmp_menu_trigger-228.on-dark-bg .responsive-menu-pro-inner::after {
     background-color: #fff !important;
}
 #rmp-container-228 {
     background-color: #f5f5fa;
     max-width: none;
}
/* Add search form to Responsive Menu */
 #rmp-container-228::before {
     content: '';
     display: block;
     padding: 1rem;
     border-bottom: 1px solid #eee;
}
/* Search form in Responsive Menu - show under menu, full width */
 .rmp-search-form {
     padding-top: 1rem;
     border-bottom: 1px solid #eee;
     background: #f9f9f9;
     margin-bottom: 2rem;
     margin-top: 0;
     max-width: 100%;
     width: 100%;
     position: static;
     left: 0;
     right: 0;
     transform: none;
     display: block;
     clear: both;
}
/* Ensure search toggle is block and aligned with menu entries in mobile menu */
 .rmp-menu + .search-toggle {
     display: block !important;
     width: 100%;
     margin: 1.5rem 0 0 0;
     text-align: right;
     justify-content: flex-start;
     align-items: center;
     padding: 0.75rem 0 0.75rem 0;
     border-top: 1px solid #eee;
     border-bottom: none;
     background: transparent;
}
/* Ensure search form container is also block and full width below toggle */
 .rmp-menu + .search-toggle + .search-form-container {
     display: block;
     width: 100%;
     margin: 0;
     position: static;
     left: 0;
     right: 0;
     transform: none;
}
 .rmp-search-form .value2-search-form {
     margin: 0;
}
 .rmp-submenu.rmp-submenu-open, .rmp-menu-item {
     max-width: 13rem;
     /* Prevent border expansion during submenu collapse animation */
     transition: max-width 0s ease;
}

/* Ensure submenu items maintain consistent border width during transitions */
.rmp-submenu .rmp-menu-sub-level-item,
.rmp-submenu-open .rmp-menu-sub-level-item {
     max-width: 13rem !important;
     width: 13rem !important;
     box-sizing: border-box;
}
 .rmp-search-form .search-input-wrapper {
     background: #fff;
     overflow: hidden;
     border-style: none;
     box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
 .rmp-search-form .search-field {
     padding: 5px;
     font-size: 1.3rem;
     background: transparent;
     border: none;
     outline: none;
     width: 100%;
     font-family: 'fb_shapinger_regular';
}
 .rmp-search-form .search-field::placeholder {
     color: #999;
     opacity: 1;
}
 .rmp-search-form .search-submit {
     background: transparent;
     border: none;
     color: white;
     padding: 5px;
     cursor: pointer;
     transition: background-color 0.3s ease;
     border-radius: 0;
}
 .rmp-search-form .search-submit:hover {
     background: #06a04e;
}
 .rmp-menu {
     margin-top: 5rem !important;
}
 .rmp-menu-subarrow {
     left: -1.25rem;
     right: auto !important;
     color: #59595c !important;
}

/* Fix for submenu border expansion during collapse */
.rmp-menu-item-172 .rmp-menu-sub-level-item,
.rmp-menu-item .rmp-menu-sub-level-item {
     border-bottom-width: 1px !important;
     max-width: 13rem !important;
     width: 13rem !important;
     transition: none !important; /* Disable transitions on border width */
}

/* Ensure consistent width during all submenu states */
.rmp-submenu:not(.rmp-submenu-open) .rmp-menu-sub-level-item {
     max-width: 13rem !important;
     width: 13rem !important;
}
 .rmp-menu a {
     color: #59595c !important;
     font-size: 1.4rem !important;
     width: fit-content !important;
}
 .rmp-menu-sub-level-item {
     border-bottom-style: solid;
     padding-top: 0.5rem;
     padding-bottom: 0.5rem;
     max-width: 17rem;
     /* Ensure border width stays consistent during submenu collapse */
     border-bottom-width: 1px;
     overflow: hidden;
}
 .rmp-menu-sub-level-item a {
     color: #59595c !important;
     font-family: 'fb_shapinger_regular' !important;
     padding-left: 40%;
}
 .rmp-menu-item-link {
     padding-right: 0 !important;
     overflow: visible !important;
}
 #rmp-menu-wrap-228 {
     padding-right: 10%;
     padding-left: 10%;
}
 .dashicons-arrow-up-alt2:before {
     content: "\f347";
     font-size: 2rem;
     margin-right: 18px !important;
}
 .dashicons-arrow-down-alt2:before {
     font-size: 2rem;
     content: "\f343";
     margin-right: 18px !important;
}
 .dashicons-arrow-up-alt2, .dashicons-arrow-down-alt2 {
     width: auto;
}
 @media screen and (max-width: 768px) {
     .wp-singular:not(.home) .site-content {
         margin-top: 0;
    }
     .esg-impact-grid {
         padding: 0 2rem;
         gap: 1rem;
    }
    .esg-impact-lower {
        padding: 1.5rem 1.5rem 1.5rem 1.5rem !important;
    }
    .esg-impact-upper .media-title {
        margin-top: 2rem;
    }
    .media-excerpt p {
         line-height: 1.6 !important;
    }
     #rmp_menu_trigger-228 {
         visibility: visible;
         background-color: white;
    }
     #rmp_menu_trigger-228.is-active {
         background-color: transparent;
    }
     .wp-singular header {
         margin-top: 0 !important;
    }
    .solution-card .entry-header {
        max-width: 25%;
        width: auto;
    }
    .solution-card .entry-title {
        font-size: 1.5rem;
    }
     .usp-description {
         margin: auto !important;
    }
     .cubebody {
         margin-bottom: 0 !important;
    }
}
 @media (max-width: 360px) {
    .cubebody {
        font-size: 1.05rem;
    }
    .biglink-link a, .media-cg-link a {
        font-size: 1.05rem;
    }
    .media-excerpt p {
        line-height: 1.3 !important;
    }
    #solution-overlay .button {
        padding: 0.3em 1.875rem;
    }
    #solution-overlay p {
        margin-bottom: 1rem !important;
        font-size: 1.1rem !important;
    }
 }

 .esg_impact .entry-title, .media_mention .entry-title, .media_cg .entry-title, .simple-page .entry-title {
     color: #07ba58;
     font-family: 'fb_shapinger_regular';
     font-size: 2.5rem;
     margin-bottom: 0.5rem;
}
 .article-meta {
     color: #666;
     font-size: 1.2rem;
     font-family: 'fb_shapinger_regular';
     margin-bottom: 1.5rem;
     margin-top: 0.5rem;
     text-align: right;
     direction: rtl;
}
 .back-link-wrapper {
     width: 100%;
     text-align: left;
     margin-top: 3rem;
     margin-bottom: 3rem;
     font-size: 1.4rem;
     letter-spacing: -1px;
}
 .external-link-wrapper {
     width: 100%;
     text-align: left;
     margin-top: 2rem;
     margin-bottom: 1rem;
     font-size: 1.5rem;
}
 .external-link {
     color: #07ba58;
     text-decoration: none;
     font-weight: 600;
}
 .external-link:hover {
     text-decoration: underline;
}
 article b {
     font-family: "fb_shapinger_medium";
     font-weight: 600;
}
 article b, article h1, article h2, article h3, article a {
     color: #07ba58;
}
 article ul {
     list-style-type: none;
}
 article ul li:before {
     content: "| ";
     color: #07ba58;
}
 article ol li::marker {
     color: #07ba58;
}
 article span br {
     display: none;
}
 .solutions-grid .entry-title {
     margin: 0 !important;
}
 .solution-card .entry-header {
     padding-bottom: 0;
}
 .site-content {
     padding-left: 0 !important;
     padding-right: 0 !important;
}
 sup {
     font-size: 0.7em;
}
 @media (min-width: 768px) {
     .page-id-36 .team-section:last-child {
         max-width: none !important;
         background-color: #f5f5fa;
         padding-top: 5rem;
         padding-bottom: 8rem;
    }
     .page-id-36 .team-section:last-child .team-header {
         padding: 0 !important;
    }
}
 .advisory-card {
     background-color: #fff;
     position: relative;
/*     min-height: 17vw;*/
     display: flex;
     flex-direction: column;
}
 .advisory-card .member-name {
     flex: 1;
     display: flex;
     align-items: center;
     min-height: 3rem;
}
 .advisory-content .member-name {
     font-size: 1.2rem;
     font-weight: 700;
     color: #07ba58;
     margin-bottom: 0.3125rem;
     margin-top: 0;
     margin-right: 2rem;
    /* 30px */
}
 .member-description {
     font-size: 1.2rem;
}
 .media-title-slide {
     font-size: 2rem;
     line-height: 1;
     padding-left: 4rem;
     padding-right: 4rem;
}
 .wm-plg-acs-button {
     width: 0 !important;
     height: 0 !important;
}
 .wm-plg-acs-wemake-powered-wrapper {
     display: none !important;
}
 ul.wm-plg-acs-items li:last-of-type {
     background-color: #07ba58 !important;
     border-radius: 0 !important;
     width: 100% !important;
     margin: 0 !important;
     padding: 0 !important;
}
 .wm-plg-acs-link-item {
     text-align: center !important;
     width: 100% !important;
     justify-content: center !important;
     align-items: center !important;
     margin: 0 !important;
     padding: 0 !important;
}
 .wm-plg-acs-link-item[data-action="clear"] {
     font-size: 2rem !important;
     text-align: center !important;
     width: 100% !important;
     display: flex !important;
     justify-content: center !important;
     align-items: center !important;
}
 .wm-plg-acs-item:last-child {
     margin-top: 2rem;
     width: 100% !important;
}
 .icon-vector11::before {
     content: "" !important;
}
 #wemake-plg-acs-frontend {
     width: 350px !important;
     border-style: none !important;
     z-index: 1000000 !important;
     max-width: 100vw !important;
}
 .wm-i-v4.icon-vector4 {
     display: none;
}
/* ========================================================================== Search Functionality Styles ========================================================================== */
/* Search Toggle Button */
 .search-toggle {
     background: none;
     border: none;
     cursor: pointer;
     padding: 0.5rem;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background-color 0.3s ease;
}
 .search-toggle:hover .search-icon {
     color: #07ba58;
}
/* Search Form Container */
 .search-form-container {
     position: absolute;
     top: 3.3rem;
     right: 0;
     z-index: 1000;
     background: #fff;
     min-width: 300px;
}
/* RTL Support for search container */
 [dir="rtl"] .search-form-container {
     left: 0;
     right: auto;
}
/* Search Form in Header */
 .value2-search-form {
     margin: 0;
     padding: 0;
}
 .search-input-wrapper {
     position: relative;
     display: flex;
     align-items: center;
     border: 2px solid #e0e0e0;
     overflow: hidden;
     transition: border-color 0.3s ease;
     width: 100%;
}
 .search-input-wrapper:focus-within {
     border-color: #07ba58;
}
 .search-field {
     border: none;
     outline: none;
     padding: 0.75rem 1rem;
     background: transparent;
     font-size: 0.9rem;
     flex: 1;
     min-width: 0;
     font-family: 'fb_shapinger_regular';
}
 .search-field::placeholder {
     color: #999;
     opacity: 1;
}
 .search-submit {
     border: none;
     background: #07ba58;
     color: white;
     padding: 0.75rem 1rem;
     cursor: pointer;
     transition: background-color 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: none;
}
 .search-submit:hover {
     background: #06a04e;
}
 .search-submit .search-icon {
     font-size: 0.9rem;
}
 .screen-reader-text {
     position: absolute !important;
     clip: rect(1px, 1px, 1px, 1px);
     padding: 0 !important;
     border: 0 !important;
     height: 1px !important;
     width: 1px !important;
     overflow: hidden;
}
/* Header Layout Adjustments */
 .header-right-content {
     display: flex;
     align-items: center;
     gap: 1rem;
     position: relative;
}
 .site-header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem 2rem;
}
/* Search Results Page */
 .search-page {
     padding: 2rem 0;
}
 .search-header {
     text-align: center;
     margin-bottom: 2rem;
     padding-bottom: 1rem;
     border-bottom: 2px solid #e0e0e0;
}
 .search-header .page-title {
     font-size: 2rem;
     margin-bottom: 0.5rem;
     color: #333;
}
 .search-query {
     color: #07ba58;
     font-weight: bold;
}
 .search-meta {
     color: #666;
     font-size: 1rem;
     margin-bottom: 1rem;
}
 .search-again {
     max-width: 400px;
     margin: 1rem auto;
}
 .search-again .search-input-wrapper {
     max-width: 100%;
}
/* Search Results List */
 .search-results-list {
     margin: 2rem 0;
}
 .search-result {
     background: #f9f9f9;
     padding: 1.5rem;
     margin-bottom: 1.5rem;
     border-left: 4px solid #07ba58;
     transition: box-shadow 0.3s ease;
}
 .search-result:hover {
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
 .search-result .entry-title {
     margin: 0 0 0.5rem 0;
     font-size: 1.3rem;
}
 .search-result .entry-title a {
     color: #333;
     text-decoration: none;
     transition: color 0.3s ease;
}
 .search-result .entry-title a:hover {
     color: #07ba58;
}
 .search-result .entry-meta {
     font-size: 0.85rem;
     color: #666;
     margin-bottom: 1rem;
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
}
 .search-result .post-type {
     background: #07ba58;
     color: white;
     padding: 0.3rem 0.6rem;
     font-size: 0.75rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
}
 .search-result .entry-summary {
     color: #555;
     line-height: 1.6;
     margin-bottom: 1rem;
}
 .search-result .read-more {
     color: #07ba58;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.3s ease;
}
 .search-result .read-more:hover {
     color: #06a04e;
     text-decoration: underline;
}
/* No Results Section */
 .no-results {
     text-align: center;
     padding: 3rem 1rem;
}
 .no-results .page-title {
     color: #666;
     margin-bottom: 1rem;
}
 .no-results .page-content {
     max-width: 600px;
     margin: 0 auto;
}
 .search-suggestions {
     margin-top: 2rem;
     text-align: right;
}
 .search-suggestions h3 {
     color: #333;
     margin-bottom: 1rem;
}
 .suggestion-list {
     list-style: none;
     padding: 0;
     background: #f9f9f9;
     padding: 1rem;
}
 .suggestion-list li {
     padding: 0.5rem 0;
     border-bottom: 1px solid #e0e0e0;
}
 .suggestion-list li:last-child {
     border-bottom: none;
}
 .suggestion-list a {
     color: #07ba58;
     text-decoration: none;
     font-weight: 500;
}
 .suggestion-list a:hover {
     text-decoration: underline;
}
 .suggestion-list .post-type {
     color: #999;
     font-size: 0.85rem;
     margin-right: 0.5rem;
}
/* Navigation for Search Results */
 .posts-navigation {
     margin-top: 2rem;
     text-align: center;
}
 .posts-navigation .nav-links {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 400px;
     margin: 0 auto;
}
 .posts-navigation a {
     background: #07ba58;
     color: white;
     padding: 0.75rem 1.5rem;
     text-decoration: none;
     transition: background-color 0.3s ease;
}
 .posts-navigation a:hover {
     background: #06a04e;
}
/* Mobile Responsive */
 @media (max-width: 768px) {
     .site-header-container {
         flex-direction: column;
         gap: 1rem;
         padding: 1rem;
         padding-bottom: 0;
    }
    /* On mobile, hide the header-right content in the top header so icons/search only appear inside the responsive menu. */
     .header-right-content {
         display: none !important;
        /* keep layout properties for non-mobile fallback if needed */
         order: -1;
         justify-content: center;
         width: 100%;
    }
     .search-form-container {
         min-width: 250px;
         width: 100%;
         position: static;
         left: 0;
         right: 0;
         transform: none;
         margin-top: 1.5rem;
    }
     .search-result {
         padding: 1rem;
    }
     .search-result .entry-meta {
         flex-direction: column;
         gap: 0.5rem;
    }
     .posts-navigation .nav-links {
         flex-direction: column;
         gap: 1rem;
    }
}
 @media (max-width: 480px) {
     .search-header .page-title {
         font-size: 1.5rem;
    }
     .search-form-container {
         min-width: 200px;
    }
}
/* Search Term Highlighting */
 .search-highlight {
     background-color: #ffeb3b;
     color: #333;
     padding: 0.1em 0.2em;
     border-radius: 2px;
     font-weight: bold;
}
/* Mobile Solution Inline Content Styles */
 @media (max-width: 768px) {
    /* Completely disable ALL hover effects on mobile */
     .solution-card:hover .solution-content, .solution-card:active .solution-content, .solution-card:focus .solution-content {
         display: none !important;
         animation: none !important;
         opacity: 0 !important;
    }
     .solution-card:hover img {
         display: block !important;
    }
    /* Make solution cards clickable on mobile */
     .solution-card {
         cursor: pointer;
         position: relative;
         overflow: visible !important;
         aspect-ratio: 15 / 7 !important;
        /* Set consistent aspect ratio */
    }
     .custom-logo-link {
         z-index: 999999;
         margin-bottom: 10px;
    }
    /* Ensure the solution-thumbnail matches the aspect ratio */
     .solution-card .solution-thumbnail {
         position: relative;
         overflow: hidden !important;
        /* Allow content to extend beyond thumbnail */
         height: auto;
    }
    /* Ensure images fill the thumbnail properly */
     .solution-card .solution-thumbnail img {
         width: 100% !important;
         height: 100% !important;
    }
    /* Solution content overlay - explicitly twice the height of parent */
     .solution-card .solution-content {
         position: absolute !important;
         top: 0 !important;
         left: 0 !important;
         right: 0 !important;
         width: 100% !important;
        /* height: 200% !important;
        */
         height: fit-content;
         background-color: #f5f5fa !important;
         z-index: 1000 !important;
        /* Higher z-index to ensure it's on top */
         display: none !important;
        /* Force hide by default */
         flex-direction: column !important;
         justify-content: flex-start !important;
         align-items: center !important;
         padding: 1rem !important;
         box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
         border: 2px solid #e0e0e0 !important;
         box-sizing: border-box !important;
         text-align: center !important;
         font-size: 1.1rem !important;
         line-height: 1.4 !important;
         pointer-events: auto !important;
        /* Ensure it can receive clicks */
    }
     .solution-content p {
         text-align: right !important;
    }
    /* Show content when card is active/clicked - strongest possible override */
     .solution-card.active .solution-content, .solution-card.active:hover .solution-content, .solution-card.active:active .solution-content, .solution-card.active:focus .solution-content {
         display: flex !important;
         opacity: 1 !important;
         position: absolute !important;
         top: 100% !important;
         left: 0 !important;
         right: 0 !important;
         z-index: 10 !important;
         animation: none !important;
    }
    /* Ensure the solution card container allows absolute positioning */
     .solution-card {
         position: relative !important;
    }
    /* Ensure the solution-thumbnail also allows absolute positioning */
     .solution-card .solution-thumbnail {
         position: relative !important;
    }
    /* Ensure active state stays visible regardless of hover */
     .solution-card.active:hover .solution-content {
         display: flex !important;
         opacity: 1 !important;
         animation: none !important;
    }
     @keyframes slideInContent {
         from {
             opacity: 0;
             transform: translateY(-10px);
        }
         to {
             opacity: 1;
             transform: translateY(0);
        }
    }
    /* Close button styling */
     .solution-card .solution-content::after {
         content: '✕';
         position: absolute;
         bottom: 1rem;
         left: 50%;
         transform: translateX(-50%);
         width: 2.5rem;
         height: 2.5rem;
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 2rem;
         font-weight: bold;
         color: #666;
         cursor: pointer;
         transition: all 0.2s ease;
         pointer-events: auto;
    }
     .solution-card .solution-content::after:hover {
         background: #e0e0e0;
         color: #333;
    }
    /* Content text styling */
     .solution-card .solution-content p {
         text-align: center;
         margin-bottom: 1rem;
         color: #333;
         flex-grow: 1;
         overflow-y: auto;
         margin-top: 0;
         line-height: 1.2;
    }
    /* Button styling in content */
     .solution-card .solution-content .button {
         background-color: #07ba58;
         color: white;
         padding: 0.2rem 1.5rem;
         border: none;
         border-radius: 4px;
         text-decoration: none;
         font-weight: 600;
         margin-top: auto;
         margin-bottom: 4rem;
        /* Space for close button */
         transition: background-color 0.3s ease;
    }
     .solution-card .solution-content .button:hover {
         background-color: #06a04e;
    }
    /* FINAL OVERRIDE: Show content when card is active/clicked */
     .solution-card.active .solution-content {
         display: flex !important;
         opacity: 1 !important;
         position: absolute !important;
         top: 100% !important;
         left: 0 !important;
         right: 0 !important;
         z-index: 10 !important;
         animation: none !important;
         height: auto !important;
        /* Override the height: 100% rule */
         max-height: none !important;
         min-height: auto !important;
    }
     .solution-card.active:hover .solution-content, .solution-card.active:active .solution-content, .solution-card.active:focus .solution-content {
         display: flex !important;
         opacity: 1 !important;
         animation: none !important;
    }
}
 .single .entry-content, .simple-page .entry-content {
     font-size: 1.2rem;
     line-height: 1.5;
}
.simple-page .entry-content li {
    margin-bottom: 0.5rem;
}
 @media (min-width: 360px) and (max-width: 767px) {
     html {
         font-size: 13px;
    }
}
 .media-mention-card, .media-cg-card, .esg-impact-card {
     cursor: pointer;
}
 .scroll-notify img {
     width: 3rem;
}
 .scroll-notify {
     max-height: 3rem;
     text-align: center;
     padding-bottom: 0.5rem;
     display: none;
     background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,1) 100%);
     pointer-events: none;
    /* Allow clicks to pass through */
     align-items: center;
     justify-content: center;
     width: 100%;
}
 .scroll-notify::before {
     content: "\f347";
     font-size: 3rem;
     color: #07ba58;
}
/* Simple fix: Center text in accessibility reset button on mobile only */
 @media (max-width: 768px) {
     ul.wm-plg-acs-items li:last-of-type .wm-plg-acs-link-item {
         text-align: center;
    }
     ul.wm-plg-acs-items li:last-of-type .wm-plg-acs-link-item .wm-i-v11 {
         display: none;
    }
}
 .language-en #rmp_menu_trigger-228 {
     right: auto;
     left: 0;
}
 .language-en .header-right-content {
     right: 1rem;
     left: auto;
     text-align: right;
}
 .language-en .rmp-menu-wrap {
     direction: ltr;
     text-align: left;
}
 .language-en #rmp-menu-wrap-228 .rmp-menu-item-link {
     text-align: left !important;
     direction: ltr;
}
 .language-en .rmp-submenu.rmp-submenu-open, .rmp-menu-item {
     max-width: 18rem;
}
 .home.language-en header, .language-en footer, .language-en .usp-description, .language-en .biglink-card {
     text-align: left;
     direction: ltr;
}
 .language-en .site-header-container {
     direction: ltr;
     text-align: left;
}
 .language-en .hero-excerpt p {
     float: left;
     text-align: left;
}
 .language-en .usp-description {
     border-right-style: none;
     border-left-style: solid;
     border-left-color: #07ba58;
     padding-right: 0;
     padding-left: 1.5rem;
     text-transform: uppercase;
}
 .language-en .biglink-line, .language-en .section-line {
     margin-right: auto !important;
     margin-left: 0;
     margin-bottom: 0.25rem;
}
 .language-en .section-title, .language-en .testimonial-quote, .language-en .testimonial-author, .language-en .section-subtitle, .language-en .menu-item, .language-en .team-member-card .member-description, .language-en .solutions-grid, .language-en .esg-impact-grid, .language-en .media-mentions-grid, .language-en .media-cg-grid, .language-en .certification-logo-text, .language-en .media-cg-card, .language-en .media-mention-card, .language-en .esg-impact-card, .language-en .solution-content p, .language-en.single-media_cg article, .language-en.single-esg_impact article, .language-en .usp-items-wrapper, .language-en .value2-box-shortcode {
     text-align: left !important;
     direction: ltr;
}
 .language-en .back-link-wrapper {
     text-align: right;
     direction: ltr;
}
 .language-en .media-mention-card .read-more-link {
     padding-right: 0;
     margin-left: 1rem;
}
 .language-en .footer-certifications {
     direction: rtl;
}
 .language-en .quote-icon {
     display: inline-block;
}
 .language-en .testimonial-footer {
     direction: ltr;
}
 .language-en .testimonial-image {
     margin-left: 0;
     margin-right: 0.625rem;
}
 .language-en .testimonial-image img {
     border-right: 0.0625rem solid #7b7b7b;
     border-left: none;
     padding-right: 0.5rem;
     padding-left: 0;
}
 .language-en .hero-content {
     text-align: right;
     direction: ltr;
     width: 24rem;
}
 .language-en .hero-excerpt {
     border-right-style: none;
     border-left-style: solid;
     border-left-color: #03bb59;
     border-left-width: 0.1rem;
     padding-right: 0;
     padding-left: 1rem;
}
 .language-en .hero-responsibly {
     margin-left: 0;
     margin-right: -17rem;
}
 .language-en .sub-menu {
     right: auto;
     left: 0;
}
 .language-en .team-section {
     direction: ltr;
}
 .language-en .team-member-card .member-name, .language-en .team-member-card .member-role {
     text-align: left;
     direction: ltr;
     margin-left: 2rem;
     margin-right: 0;
}
 .language-en .rmp-menu-subarrow {
     left: auto !important;
     right: -1.25rem !important;
}
 .language-en .rmp-menu-subarrow {
     overflow: visible !important;
}
 .language-en .dashicons-arrow-up-alt2:before, .language-en .dashicons-arrow-down-alt2:before {
     margin-right: 0 !important;
     margin-left: 25px !important;
}
/* Ensure the arrow is not clipped by its container */
 .language-en .dashicons-arrow-up-alt2 {
     overflow: visible !important;
     padding-right: 8px;
}
 .language-en article {
     direction: ltr;
     text-align: left;
}
 .languages {
     width: 2rem;
     vertical-align: middle;
     font-family: 'fb_shapinger_medium';
     font-size: 1.1rem;
     display: inline-block;
}
 .current_locale {
     color: #07ba58;
}
 .other_locale {
     cursor: pointer;
}
 .wpm-languages {
     display: none;
}
 @media (min-width: 768px) {
     .language-en .solutions-grid {
         justify-content: left;
    }
     .search-toggle, .chat-link, .accessibility-icon {
         margin-top: 1rem;
    }
     .languages {
         margin-top: 1.5rem;
    }
}
 @media (max-width: 768px) {
     .language-en .section-title {
         padding-right: 0;
         padding-left: 2rem;
    }
     .language-en .section-line {
         margin-left: 2rem !important;
    }
     .language-en .biglinks-grid {
         flex-wrap: nowrap;
    }
     .language-en .usp-item {
         max-width: calc(33.333% - 4rem) !important;
         border-right-style: none !important;
         border-left-style: none !important;
         border-left-color: #07ba58;
         padding-left: 0.5rem;
    }
     .language-en .usp-item p {
         font-size: 1.3rem !important;
    }
     .languages {
         margin-right: 0 !important;
         margin-left: 0 !important;
    }
}
 .footer-social-with-line {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 3rem 0;
}
 .footer-social-with-line::before, .footer-social-with-line::after {
     content: '';
     flex: 1;
     height: 1px;
     background-color: white;
}
 .footer-social {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 5rem;
     padding: 0 0.5rem;
     margin: 0;
     position: relative;
}
 .footer-social a:first-child::after {
     content: '';
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translateX(-50%);
     width: 4rem;
     height: 1px;
     background-color: white;
     z-index: 1;
}
 .footer-social img {
     height: 2.7rem;
}
/* Mobile Footer Menu Styles */
 @media (max-width: 768px) {
     #footer-menu {
         display: flex;
         align-items: center;
         flex-direction: column;
    }
     #footer-menu .menu-item {
         border-top-style: solid;
         border-bottom-style: solid;
         border-color: #ccc;
         border-width: 1px;
         padding: 0.75rem 1.25rem;
         margin: 0;
         text-align: center;
    }
     #footer-menu .menu-item, .contact-item {
         box-sizing: border-box;
         width: 12rem;
    }
     #footer-menu .menu-item:first-child {
         border-top: none;
    }
     #footer-menu .menu-item:last-child {
         border-bottom: none;
    }
     .footer-links ul {
         align-items: center;
    }
     .footer-links ul li::after {
         display: none;
    }
     .footer-contact-info {
         margin-bottom: 2rem;
    }
}
/* Cookie Banner Styles */
 .cookie-banner {
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     background-color: rgba(255,255,255, 0.95);
     color: #000000;
     padding: 20px;
     z-index: 9999;
     box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
     border-top: 3px solid #07ba58;
}
 .cookie-content {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 20px;
}
 .cookie-text {
     flex: 1;
     margin: 0;
     font-size: 16px;
     line-height: 1.5;
     min-width: 300px;
}
 .cookie-buttons {
     display: flex;
     gap: 15px;
     align-items: center;
}
 .cookie-btn {
     padding: 12px 24px;
     border: none;
     border-radius: 5px;
     font-size: 14px;
     font-weight: bold;
     cursor: pointer;
     transition: all 0.3s ease;
     min-width: 100px;
}
 .accept-btn {
     background-color: #07ba58;
     color: #ffffff;
}
 .accept-btn:hover {
     background-color: #059647;
     transform: translateY(-2px);
}
 .decline-btn {
     background-color: black;
     color: #ffffff;
     border: 2px solid #ffffff;
}
 .decline-btn:hover {
     background-color: #ffffff;
     color: #000000;
}
/* Language Direction Support */
 .language-en .cookie-content {
     direction: ltr;
     text-align: left;
}
 .language-he .cookie-content {
     direction: rtl;
     text-align: right;
}
/* ============================================= MEDIA QUERIES - RESPONSIVE STYLES ============================================= */
/* Mobile-first approach - Base styles above, then progressive enhancement */
/* Tablet and Desktop (768px and up) */
 @media (min-width: 768px) {
    /* Media Mentions Section */
     body:not(.home) .media-mentions-section {
         padding-top: 0.5rem;
         margin-top: 8rem !important;
    }
}
/* Mobile Styles (768px and down) */
 @media (max-width: 768px) {
    /* Site Footer and Testimonials */
     .site-footer, .testimonials-section {
         background-position-x: 40%;
         background-position-y: 5%;
    }
    /* Header and Navigation */
     .language-he .languages {
         margin-left: 1rem;
         margin-right: 2rem;
    }
    /* Make mobile menu flex to reorder elements */
     .rmp-menu-wrap {
         display: flex;
         flex-direction: column;
    }
     .rmp-menu {
         order: 1;
    }
     .header-right-content {
         order: 2;
         position: static !important;
         left: auto;
         top: auto;
         width: 100%;
         text-align: right;
    }
     .rmp-search-form {
         background-color: transparent;
    }
     #rmp-container-228::before {
         border-style: none;
    }
     .rmp-menu-wrap .header-right-content {
         display: block !important;
    }
     .chat-link {
         margin-bottom: 5px;
         margin-left: 1rem;
         margin-bottom: rem;
    }
     .search-toggle {
         display: flex !important;
        /* Show search icon on mobile */
         justify-content: flex-end;
         align-items: center;
         padding: 0.75rem 0;
         border-bottom: 0.0625rem solid #eee;
         width: 100%;
         background: transparent;
         border: none;
         cursor: pointer;
         text-align: right;
         margin-top: 1rem;
         margin-bottom: 1rem;
         padding-top: 0;
    }
     .search-toggle .search-icon {
         margin-left: auto;
         margin-right: 0;
    }
     .chat-link {
         display: block;
         padding: 0;
         margin-top: 2rem;
         margin-bottom: 2rem;
    }
     .accessibility-icon {
         padding: 0;
         margin-top: 1rem;
         margin-bottom: 2rem;
    }
    /* Ensure header-right-content is visible on mobile;
     desktop hiding handled by desktop media query */
     .header-right-content {
         opacity: 1 !important;
         visibility: visible !important;
    }
     .other_locale {
         display: block !important;
         width: 100%;
         padding: 0.75rem 0;
         border-bottom: 0.0625rem solid #eee;
         text-align: right;
         cursor: pointer;
         background: transparent;
         color: #59595c !important;
         font-size: 1.4rem !important;
         font-weight: normal;
         font-family: 'fb_shapinger_regular';
    }
     .current_locale {
         display: none;
    }
     .wm-plg-acs-overlay {
         overflow: hidden;
    }
    /* Team Members Grid */
     .team-members-grid {
         gap: 1rem;
        /* 20px */
         flex-direction: row;
        /* Enable row layout for 2 columns */
         padding-left: 1rem;
         padding-right: 1rem;
    }
     .team-member-card {
         flex: 0 0 calc(50% - 0.625rem);
        /* 2 columns on mobile */
         max-width: calc(50% - 0.625rem);
        /* 2 columns on mobile */
         padding: 0;
        /* 20px */
         width: calc(50% - 0.625rem);
         box-sizing: border-box;
    }
     .team-member-card .member-name, .team-member-card .member-role {
         margin-right: 1rem !important;
        /* 16px */
         margin-left: 1rem !important;
        /* 16px */
    }
     .team-member-card .member-description {
         padding-right: 1rem;
        /* 16px */
         padding-left: 1rem;
        /* 16px */
         font-size: 1.2rem !important;
        /* 16px */
         margin-top: 0;
    }
     .advisory-card {
         min-height: 43vw !important;
         overflow-y: scroll;
         overflow-x: hidden;
    }
     .advisory-content {
         padding-top: 1rem !important;
        /* 16px */
         display: none !important;
        /* Ensure hidden by default on mobile */
    }
    /* Mobile touch support - make advisory cards clickable */
     .advisory-card {
         cursor: pointer !important;
         -webkit-tap-highlight-color: rgba(0,0,0,0.1) !important;
    }
     .advisory-card .member-name {
         pointer-events: auto !important;
         cursor: pointer !important;
    }
     .advisory-card.active .advisory-content {
         display: block !important;
         opacity: 1 !important;
         z-index: 15 !important;
    }
     .certification-logo-card {
         aspect-ratio: 1 / 1 !important;
    }
     .esg-impact-card {
         margin-bottom: 1rem;
    }
     .esg-impact-upper .media-title {
         font-size: 2.2rem;
    }
     .usp-items-wrapper {
         display: flex;
         flex-direction: row;
         gap: 2rem;
         margin-top: 4rem;
         margin-left: auto;
         margin-right: auto;
    }
     .wp-singular header {
         margin-bottom: 0;
    }
     .wp-singular .site-content {
         margin-top: 0;
    }
     .solution-content {
         font-size: 0.8rem !important;
         line-height: 1.2 !important;
    }
     .media-cg-card {
         max-width: none !important;
    }
     .solutions-grid {
         margin-bottom: 4rem !important;
    }
     .hero-excerpt p {
         max-width: 13rem !important;
         line-height: 1;
    }
     .certification-logos-section {
         margin: 2.5rem auto !important;
         padding: 0 2rem;
    }
     .certification-logos-grid {
         gap: 1rem;
         grid-template-columns: repeat(2, 1fr);
         max-width: 100%;
    }
     .certification-logo-card {
         padding: 1.5rem;
         min-height: 5rem;
    }
     .certification-logo-img {
         max-height: 6rem;
         max-width: 11rem;
    }
     .certification-logo-text {
         padding: 0.75rem;
    }
     .logo-text-content h3 {
         font-size: 1rem;
         margin-bottom: 0.25rem;
    }
     .logo-text-content p {
         font-size: 0.8rem;
         line-height: 1.3;
    }
     .cookie-content {
         flex-direction: column;
         text-align: center;
    }
     .cookie-text {
         min-width: auto;
         text-align: center;
    }
     .cookie-buttons {
         justify-content: center;
         width: 100%;
    }
     .cookie-btn {
         flex: 1;
         max-width: 120px;
    }
}
 #solution-overlay {
     padding-bottom: 5rem !important;
}
 #solution-overlay p {
     margin-bottom: 1.5rem;
     font-size: 1.2rem;
}
 .swiper-button-next, .swiper-button-prev {
     color: #888;
}
.testimonials-container .swiper-button-next, .testimonials-container .swiper-button-prev {
     display: none;
    /* mobile-first: hidden */
}
 @media (min-width: 1024px) {
     .testimonials-container .swiper-button-next, .testimonials-container .swiper-button-prev {
         display: flex;
         pointer-events: auto;
         transition: opacity 180ms ease, visibility 180ms ease;
    }
     .testimonials-container:hover .swiper-button-next, .testimonials-container:hover .swiper-button-prev {
         opacity: 1;
         visibility: visible;
         pointer-events: auto;
    }
    .swiper-button-next::after {
        margin-left: 9rem;
    }
    .swiper-button-prev::after {
        margin-right: 9rem;
    }
}
 .rmp-search-form {
     display: none;
}