/*
Theme Name:   Graingrow child theme
Description:  Write here a brief description about your child-theme
Author:       Themesflat
Author URL:   https://graingrower.surielementor.com/
Template:     graingrow
Version:      1.0.1
Tested up to: 5.8.1
Requires PHP: 5.6
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  graingrow-child-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* === IdomitAgro brand overrides (persistent; survives build-bridge removal) === */

/* Slider arrows: brand amber w/ opacity, green hover */
#rev_slider_2_1_wrapper .tparrows{background:rgba(255,194,0,0.55)!important;}
#rev_slider_2_1_wrapper .tparrows:hover,#rev_slider_2_1_wrapper .tparrows.rs-touchhover{background:#3AA924!important;}

/* Elementor 4.x: classic-column grids - columns holding custom-width widgets must flex-wrap */
.elementor-widget-wrap:has(> .elementor-widget__width-initial),
.elementor-widget-wrap:has(> .elementor-widget__width-custom){display:flex;flex-wrap:wrap;}
.elementor-element-632cfc8 > .elementor-widget-wrap{display:flex;flex-wrap:wrap;}

/* Main section headings in Poppins */
.tf-title-section .title-section .heading, .single-services .entry-content .post-title {font-family:"Poppins",sans-serif!important;}
.single-services .entry-content .post-title {
    font-weight: 500 !important;
    font-size: 40px !important;
}

/* Stats (tf-counter): brand fonts + colors */
.tf-counter .counter-number-wrapper{font-family:"Poppins",sans-serif!important;color:#06332C!important;}
.tf-counter .counter-number-wrapper .counter-number-suffix{color:#39a74a!important;}
.tf-counter .counter-title{font-family:"Inter",sans-serif!important;}

/* Logo (SVG) sizing guard */
#header #logo a img,#logo .site-logo,#logo-mobi .site-logo,.logo-panel .site-logo{width:200px!important;max-width:200px!important;height:auto!important;display:inline-block!important;}
@media(max-width:991px){#logo-mobi .site-logo,#logo .site-logo{width:160px!important;max-width:160px!important;}}

/* Team cards: drop social/share, top-anchor photos for consistent framing */
.team-post .social,.team-post .content .share-button{display:none!important;}
.tf-team-wrap .team-post .featured-post{aspect-ratio:4/5!important;overflow:hidden!important;}
.tf-team-wrap .team-post .featured-post a{display:block!important;height:100%!important;}
.tf-team-wrap .team-post .featured-post img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:top center!important;}
.tf-team-wrap.style1 .team-post .content { background: #f2f7f5 !important; }

/* Remove social links (no real handles) */
.themesflat-socials,.label-social,.flat-language .themesflat-socials{display:none!important;}
.flat-information .themesflat-socials{display:none!important;}

/* Header polish */
#header #logo{margin-right:30px!important;}
#mainnav > ul > li{margin-left:5px!important;margin-right:5px!important;}
.themesflat-top{background-color:#f8fafc!important;}
.page-title .overlay{background:#06332C!important;}

/* Footer widget font weight fix (was 100) */
footer .footer-widgets .widget.widget_text,footer .footer-widgets .widget p,footer .widget.widget_nav_menu ul li a,footer .footer-widgets .widget-infor{font-weight:400!important;}
#bottom #menu-bottom-menu a {
	text-decoration: none !important;
}

/* Value-chain & Impact icon boxes: icons render as inline SVG (FontAwesome).
   Scoped to SVG only so font-icon boxes (home Strategic Focus) are untouched. */
.tficonbox .wrap-icon-inner svg.e-font-icon-svg,
.tficonbox .icon svg.e-font-icon-svg{fill:#3AA924;width:54px;height:54px;}
.tficonbox.style2.top .content .title{margin-top:6px;}

/* Market Opportunity investor band (dark green #06332C) */
.idomit-market .tf-title-section .heading{color:#ffffff!important;}
.idomit-market .tf-title-section .sub-title{color:#39a74a!important;}
.idomit-market p,.idomit-market .elementor-widget-text-editor{color:rgba(255,255,255,.85)!important;}
.idomit-market strong{color:#ffffff;}
@media(max-width:767px){.idomit-market .elementor-column{width:100%!important;}}

/* Get In Touch form panel: shift olive (#3e483c) to a slightly greener dark tone (not a brand colour) */
.contact-infor-form{background:#0f3e3b!important;}

/* Products & Services: equal-height cards (widget has no native equal-height toggle; columns are native column-3) */
.tf-services-wrap .wrap-services-post{display:flex;flex-wrap:wrap;align-items:stretch;}
.tf-services-wrap .wrap-services-post>.item{display:flex;}
.tf-services-wrap .wrap-services-post>.item>.services-post{width:100%;display:flex;flex-direction:column;}
.tf-services-wrap .services-post .content .title,.tf-services-wrap .services-post .content .title a{white-space:normal;}

/* Co-founder (team) carousel cards: equal heights */
.tf-team-wrap .owl-carousel .owl-stage{display:flex;}
.tf-team-wrap .owl-carousel .owl-item{display:flex;height:auto;}
.tf-team-wrap .owl-item>.item,.tf-team-wrap .owl-item .team-post{display:flex;flex-direction:column;width:100%;height:100%;}

/* Founder/leadership grids only: smaller role text so titles fit one line */
.tf-team-wrap.style1 .team-post .content .team-category a{font-size:13px!important;}

/* Team single: layout, no social, top space, larger bio */
@media(min-width:768px){
  .team-wrap-infor{display:flex;align-items:flex-start;gap:46px;}
  .team-wrap-infor .featured-post{flex:0 0 360px;max-width:360px;margin-bottom:0;}
  .team-wrap-infor .inner-team{flex:1;}
}
.team-wrap-infor .featured-post{margin-bottom:24px;}
.single-team .inner-team .social{display:none!important;}
.single-team .content-area{padding-top:80px;}
.single-team .entry-content p{font-size:18px;line-height:1.75;}
.single-team .inner-team .post-description:empty{display:none;}

/* Team GRID (non-carousel, e.g. Our Team page): align cards equally */
.tf-team-wrap:not(.has-carousel) .wrap-team-post{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;}
.tf-team-wrap:not(.has-carousel) .wrap-team-post>.item{display:flex;}
.tf-team-wrap:not(.has-carousel) .wrap-team-post>.item>.team-post{width:100%;display:flex;flex-direction:column;}

/* Mobile top bar: kill extra bottom margin + align icons with text */
@media(max-width:767px){
  .themesflat-top{padding-top:8px!important;padding-bottom:8px!important;}
  .themesflat-top ul.flat-information li{margin-bottom:0!important;align-items:center;}
  .themesflat-top ul.flat-information li i{line-height:1!important;vertical-align:middle;margin:0 6px 0 0!important;display:inline-flex;align-items:center;}
}

/* Top bar: phone (with question) left, email right; no divider line */
.themesflat-top .col-md-12{width:100%!important;}
.themesflat-top .container-inside{display:block!important;width:100%!important;}
.themesflat-top .content-left{float:none!important;width:100%!important;display:block!important;}
.themesflat-top ul.flat-information{display:flex!important;width:100%!important;justify-content:space-between!important;align-items:center;margin:0!important;padding:0!important;}
.themesflat-top ul.flat-information>li{display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important;border:0!important;}
.themesflat-top ul.flat-information>li:before,.themesflat-top ul.flat-information>li:after{display:none!important;content:none!important;border:0!important;}
@media(max-width:767px){
  .themesflat-top{padding-top:8px!important;padding-bottom:8px!important;}
  .themesflat-top .flat-information li,.themesflat-top .flat-information li span,.themesflat-top .flat-information li a{font-size:12px!important;}
  .themesflat-top ul.flat-information li{margin-bottom:0!important;}
  .themesflat-top ul.flat-information li i{line-height:1!important;margin:0 6px 0 0!important;display:inline-flex;align-items:center;}
  .tf-desktop-q{display:none!important;}
}

/* Top bar: make content flush to the same 1200 container as the header */
.themesflat-top .row{margin-left:0!important;margin-right:0!important;}
.themesflat-top .col-md-12{padding-left:0!important;padding-right:0!important;}
.themesflat-top .container-inside{display:block!important;width:100%!important;}
.themesflat-top .content-left{width:100%!important;float:none!important;}

/* Mobile: trim the oversized vertical padding on content sections (keep the hero flush) */
@media(max-width:767px){
  .elementor-top-section{padding-top:46px!important;padding-bottom:46px!important;}
  .elementor-top-section:has(.elementor-widget-slider_revolution){padding-top:0!important;padding-bottom:0!important;}
}

/* Mobile-only: cap heading + counter sizes */
@media(max-width:767px){
  h2.heading, h2.elementor-heading-title{font-size:32px!important;}
  .tf-counter .counter-number-wrapper{font-size:40px!important;}
}

/* Heading widgets use Poppins (brand heading font) */
.elementor-widget-heading .elementor-heading-title, .elementor-element .tf-title-section .title-section .sub-title {
	font-family:"Poppins",sans-serif !important;
	font-weight: 500 !important;
}

/* Footer: light text for p + links (pre-hover), fix copyright weight */
footer .footer-widgets p, footer .footer-widgets li a, footer .widget-infor p, footer .widget-infor a, #footer a { color:#f8fafc !important; }
#footer a:hover, #footer a:focus { color: #fcc10f !important; }
footer .bottom a, footer .widget-custom-menu li a, footer .bottom p, footer .copyright, .copyright { font-weight: 400!important; }
.copyright { color: #b2c0c0 !important; }
#bottom .content-left { width: 100%; text-align: center; }

/* Main Elementor pages: drop the default 100px top padding (breaks pages with a top header/slider) */
body.elementor-page-3082 #themesflat-content,
body.elementor-page-3125 #themesflat-content,
body.elementor-page-3135 #themesflat-content,
body.elementor-page-3137 #themesflat-content,
body.elementor-page-3139 #themesflat-content,
body.elementor-page-3141 #themesflat-content,
body.elementor-page-3143 #themesflat-content,
body.elementor-page-2325 #themesflat-content,
body.elementor-page-2296 #themesflat-content,
body.elementor-page-3369 #themesflat-content,
body.elementor-page-3371 #themesflat-content,
body.elementor-page-3373 #themesflat-content,
body.elementor-page-3375 #themesflat-content,
body.elementor-page-3377 #themesflat-content,
body.elementor-page-3379 #themesflat-content,
body.elementor-page-3381 #themesflat-content,
body.elementor-page-3382 #themesflat-content,
body.elementor-page-3386 #themesflat-content,
body.elementor-page-2384 #themesflat-content
{ padding-top:0; padding-bottom:0; }

/* service card FA icons: brand green + sized */
.tf-services-wrap .post-icon svg.e-font-icon-svg{fill:#3AA924!important;width:36px!important;height:36px!important;}

/* About What We Offer button center */
body.elementor-page-3125 .elementor-widget-tf-service + .elementor-widget-tf-button .wrap-tf-button,body.elementor-page-3125 .elementor-widget-tf-button,body.elementor-page-3371 .elementor-widget-tf-service + .elementor-widget-tf-button .wrap-tf-button,body.elementor-page-3371 .elementor-widget-tf-button{text-align:center;}

/* What Sets Us Apart section: force black text for visibility over images */
.elementor-element-fa96a2f p { color:#000 !important; text-shadow:none !important; }

/* Who We Are (About): hide the two left photos on mobile (badge + CEO stay) */
@media (max-width:767px){
  body.elementor-page-3125 .elementor-element-b81bb63,body.elementor-page-3371 .elementor-element-b81bb63{display:none !important;}
}

/* Service cards (e.g. Full Circle): let long titles wrap instead of clipping to one line */
.tf-services-wrap .title,
.tf-services-wrap .title a{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  -webkit-line-clamp:unset !important;
}

/* Header: keep content aligned to the 1140px page width (not the theme's 1200) and shrink the menu to fit, so we don't widen the header. Logo stays its larger size. */
#header .container,
.themesflat-top .container { max-width:1140px !important; }
#mainnav > ul > li > a { letter-spacing:0 !important; }

/* Desktop menu compacting (gated >=992px so it never touches the mobile menu; tested values) */
@media (min-width:992px){
  #mainnav > ul > li > a { padding:3px 8px !important; }
  .btn-topbar, .btn-header, .btn-st { margin-left:16px !important; }
}
/* NOTE: page-id-scoped rules above include the 6 reference duplicates (3369/3371/3373/3375/3377/3379). When the new Investors + Thought Leadership pages are created, add their ids to the #themesflat-content padding list too. */

/* =========================================================
   Homepage custom hero (full-screen, brief-driven) - own classes/CSS
   ========================================================= */
:root{ --idomit-hero-pad-top:172px; --idomit-hero-pad-top-tablet:140px; --idomit-hero-pad-top-mobile:128px; }
.idomit-hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  min-height:100vh;
  display:flex; align-items:center;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(6,51,44,.55) 0%, rgba(6,51,44,0) 22%),
    linear-gradient(90deg, rgba(6,51,44,.88) 0%, rgba(6,51,44,.5) 48%, rgba(6,51,44,.08) 100%),
    url(https://idomitagro.com/wp-content/uploads/2026/05/palm-canopy-aerial.jpg) center center / cover no-repeat;
  overflow:hidden;
}
.idomit-hero__inner{ width:100%; max-width:1180px; margin:0 auto; box-sizing:border-box;
  padding:var(--idomit-hero-pad-top) 24px 80px; }
.idomit-hero__eyebrow{ display:inline-block; color:#FFC200; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; font-size:15px; margin:0 0 18px; }
.idomit-hero__title{ color:#fff !important; font-weight:800; margin:0 0 22px; max-width:18ch;
  font-size:clamp(38px,5.2vw,66px); line-height:1.08; }
.idomit-hero__title span{ color:#FFC200; }
.idomit-hero__text{ color:rgba(255,255,255,.92); font-size:clamp(16px,1.25vw,20px); line-height:1.6;
  max-width:62ch; margin:0 0 34px; }
.idomit-hero__cta{ display:flex; flex-wrap:wrap; gap:16px; padding-top:24px; }
.idomit-hero__btn{ display:inline-flex; align-items:center; gap:8px; padding:15px 32px; border-radius:6px;
  font-weight:700; font-size:15px; text-decoration:none; transition:transform .15s ease,background .2s,color .2s; }
.idomit-hero__btn--primary{ background:#3AA924; color:#fff !important; }
.idomit-hero__btn--primary:hover{ background:#FFC200 !important; color:#3e483c !important; transform:translateY(-2px); }
.idomit-hero__btn--secondary{ background:transparent; color:#fff !important; border:2px solid rgba(255,255,255,.7); }
.idomit-hero__btn--secondary:hover{ background:transparent; color:#FFC200 !important; border-color:#FFC200; transform:translateY(-2px); }
body.home #themesflat-content{ overflow-x:clip; }
@media (max-width:991px){ .idomit-hero__inner{ padding-top:var(--idomit-hero-pad-top-tablet); padding-bottom:64px; } }
@media (max-width:767px){ .idomit-hero__inner{ padding-top:var(--idomit-hero-pad-top-mobile); }
  .idomit-hero__title{ font-size:clamp(32px,9vw,42px); } .idomit-hero__btn{ padding:13px 24px; } }

/* ===== Investors + Thought Leadership content pages ===== */
.idomit-investors, .idomit-tl{ max-width:940px; margin:0 auto; }
.idomit-inv-eyebrow, .idomit-tl-eyebrow{ color:#3AA924; font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:14px; display:block; margin-bottom:6px; }
.idomit-investors h2, .idomit-tl h2{ color:#06332C; font-size:clamp(28px,3.4vw,40px); line-height:1.18; margin:.1em 0 .5em; }
.idomit-investors h3, .idomit-tl h3{ color:#06332C; font-size:23px; margin:1.6em 0 .55em; }
.idomit-investors p, .idomit-tl p, .idomit-investors li, .idomit-tl li{ color:#3e483c; line-height:1.7; font-size:17px; }
.idomit-investors ul, .idomit-tl ul{ padding-left:1.2em; }
.idomit-investors li, .idomit-tl li{ margin-bottom:.5em; }
.idomit-inv-metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:1em 0 1.5em; }
.idomit-inv-metric{ background:#f4f7f4; border-left:3px solid #3AA924; border-radius:8px; padding:22px 20px; }
.idomit-inv-metric .m-value{ display:block; color:#06332C; font-weight:800; font-size:27px; }
.idomit-inv-metric .m-label{ display:block; color:#06332C; font-weight:700; margin:.3em 0 .2em; }
.idomit-inv-metric .m-desc{ display:block; color:#6b746e; font-size:14px; line-height:1.5; }
.idomit-inv-cta{ background:#06332C; color:#fff; border-radius:12px; padding:38px; margin-top:2em; }
.idomit-inv-cta h3{ color:#fff; margin-top:0; }
.idomit-inv-cta p{ color:rgba(255,255,255,.9); }
.idomit-inv-btn{ display:inline-block; background:#FFC200; color:#06332C !important; font-weight:700; padding:14px 30px; border-radius:6px; text-decoration:none; margin-top:8px; }
.idomit-inv-btn:hover{ background:#ffce33; }
@media(max-width:767px){ .idomit-inv-metrics{ grid-template-columns:1fr; } }

/* ===== Homepage ecosystem strip ===== */
.idomit-eco{ max-width:1140px; margin:0 auto; padding:0 24px; text-align:center; }
.idomit-eco__eyebrow{ color:#3AA924; font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:14px; }
.idomit-eco__title{ color:#06332C; font-size:clamp(28px,3.4vw,40px); margin:.2em 0 .4em; }
.idomit-eco__lead{ color:#3e483c; max-width:780px; margin:0 auto 2.2em; line-height:1.7; font-size:17px; }
.idomit-eco__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.idomit-eco__tile{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:34px 20px; background:#f4f7f4; border:1px solid #e7ece7; border-radius:10px; text-decoration:none; color:#06332C; font-weight:700; font-size:17px; transition:transform .15s ease, background .2s ease, color .2s ease; }
.idomit-eco__tile:hover{ transform:translateY(-4px); background:#06332C; color:#fff; }
.idomit-eco__tile i{ font-size:34px; color:#3AA924; transition:color .2s ease; }
.idomit-eco__tile:hover i{ color:#FFC200; }
@media(max-width:767px){ .idomit-eco__grid{ grid-template-columns:1fr 1fr; } }

/* ===== Homepage thought-leadership strip (full-bleed band) ===== */
.idomit-tlstrip{ position:relative; width:100vw; margin-left:calc(50% - 50vw); background:linear-gradient(rgba(6,51,44,.74),rgba(6,51,44,.82)), url(https://idomitagro.com/wp-content/uploads/2026/05/thought-leadership-bg.jpg) center center / cover no-repeat; background-attachment:scroll; color:#fff; padding:88px 24px; text-align:center; }
.idomit-tlstrip__eyebrow{ color:#FFC200; font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:14px; }
.idomit-tlstrip__title{ color:#fff; font-size:clamp(26px,3.2vw,38px); margin:.2em 0 .5em; }
.idomit-tlstrip__lead{ color:rgba(255,255,255,.9); max-width:780px; margin:0 auto 1.6em; line-height:1.7; font-size:17px; }
.idomit-tlstrip__btn{ display:inline-block; margin-top:20px; background:#3AA924; color:#fff !important; font-weight:700; padding:14px 30px; border-radius:6px; text-decoration:none; transition:background .2s,color .2s; }
.idomit-tlstrip__btn:hover{ background:#FFC200 !important; color:#3e483c !important; transform:translateY(-2px); }

/* Home ecosystem grid: vertical spacing between rows */
body.home .tf-services-wrap.style2 .wrap-services-post{ margin-top:16px; }
body.home .tf-services-wrap.style2 .item{ margin-bottom:28px; }

/* Home ecosystem: whole card clickable + icon zooms (not roll), keeps green brush on hover */
body.home .tf-services-wrap.style2 .services-post{ position:relative; }
body.home .tf-services-wrap.style2 .eco-stretch{ position:absolute; top:0; left:0; right:0; bottom:0; z-index:3; }
body.home .tf-services-wrap.style2 .services-post .post-icon .icon-1{ transition:transform .35s ease !important; }
body.home .tf-services-wrap.style2 .services-post:hover .post-icon .icon-1{ transform:scale(1.12) !important; background:url(https://idomitagro.com/wp-content/plugins/themesflat-core/assets/img/icon-box.png) center center / cover no-repeat !important; }

/* News/Articles cards: end truncated excerpts with an ellipsis */
.elementor-widget-tfposts .description::after{ content:"\2026"; }

/* News cards: equal height via flex (instead of trimming copy) */
.elementor-widget-tfposts .owl-stage{ display:flex; }
.elementor-widget-tfposts .owl-item{ display:flex; height:auto; }
.elementor-widget-tfposts .item{ width:100%; display:flex; }
.elementor-widget-tfposts .item .entry{ width:100%; display:flex; flex-direction:column; }
.elementor-widget-tfposts .item .entry .content{ flex:1 1 auto; }

/* Blog/news card: title -> Poppins (thinner); description -> default Inter */
.tf-posts.style1 .blog-post .content .title,
.tf-posts.style1 .blog-post .content .title a{ font-family:"Poppins", sans-serif !important; font-weight:500 !important; }
.tf-posts.style1 .blog-post .content .description,
.tf-posts.style2 .blog-post .content .description,
.tf-posts.style3 .blog-post .content .description{ font-family:"Inter", sans-serif !important; }

/* Stats bar: center number+label; respect source-case (no forced capslock) */
.elementor-widget-tf-counter,
.elementor-widget-tf-counter > .elementor-widget-container,
.tf-counter,
.tf-counter .wrap-counter,
.tf-counter .wrap-counter-inner,
.tf-counter .content,
.tf-counter .counter-number-wrapper{ text-align:center !important; width:100% !important; max-width:none !important; float:none !important; margin-left:0 !important; margin-right:0 !important; }
.tf-counter .counter-title{ text-transform:none !important; text-align:center !important; font-family:"Poppins", sans-serif !important; font-weight:400 !important; white-space:normal !important; }
/* center the number+suffix (theme floats them) */
.tf-counter .counter-number-wrapper{ display:flex !important; justify-content:center !important; align-items:baseline !important; }
.tf-counter .counter-number,
.tf-counter .counter-number-suffix{ float:none !important; display:inline-block !important; }

/* About brand-story (inner section 517605d): vertically center the 2 side-by-side columns */
.elementor-element-517605d > .elementor-container{ align-items:center !important; }
/* base arrow style: identical for every arrow (only content + position vary per nth-child) */

/* === Desktop & tablet: 3-col snake (>=768px) === */

/* === Mobile: 1 col, all arrows point down === */
/* Desktop 3-col: row-end gets ↓ instead */
/* Tablet 2-col */
/* Mobile 1-col: ↓ between every pair */

/* === Value Chain: connected card grid (snake: row 1 LTR, row 2 RTL) === */
.idomit-vc-grid > .elementor-container{
  column-gap:70px !important;
  row-gap:70px !important;
  justify-content:center !important;
}
.idomit-vc-grid > .elementor-container > .elementor-column{ position:relative; }
.idomit-vc-grid .elementor-element-populated{
  background:#fff;
  border:1px solid #d4e6c8;
  border-radius:14px;
  padding:26px 22px !important;
  box-shadow:0 2px 10px rgba(6,51,44,.06);
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
}
.idomit-vc-grid .elementor-element-populated:hover{
  transform:scale(1.025);
  box-shadow:0 6px 18px rgba(6,51,44,.12);
}
.idomit-vc-grid > .elementor-container > .elementor-column::after{
  position:absolute;
  font-size:30px;
  font-weight:700;
  line-height:1;
  color:#3AA924;
  z-index:2;
}
@media (min-width:768px){
  .idomit-vc-grid > .elementor-container{
    display:grid !important;
    grid-template-columns:repeat(3, 1fr) !important;
  }
  .idomit-vc-grid > .elementor-container > .elementor-column{
    flex:unset !important; max-width:none !important; width:auto !important;
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(4){ grid-column:3; grid-row:2; }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(5){ grid-column:2; grid-row:2; }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(6){ grid-column:1; grid-row:2; }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(1)::after,
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(2)::after{
    content:"\2192"; right:-50px; top:50%; transform:translateY(-50%);
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(3)::after{
    content:"\2192"; right:50%; bottom:-52px; transform:translateX(50%) rotate(90deg);
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(4)::after,
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(5)::after{
    content:"\2192"; left:-50px; top:50%; transform:translateY(-50%) rotate(180deg);
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:nth-child(6)::after{ display:none; }
}
@media (max-width:767px){
  .idomit-vc-grid > .elementor-container{ flex-wrap:wrap !important; row-gap:45px !important; }
  .idomit-vc-grid > .elementor-container > .elementor-column{
    flex:0 0 100% !important; max-width:100% !important;
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:not(:last-child)::after{
    content:"\2192"; right:50%; bottom:-36px; transform:translateX(50%) rotate(90deg);
  }
  .idomit-vc-grid > .elementor-container > .elementor-column:last-child::after{ display:none; }
}

/* === About: inline leadership profiles (replaces tf-team) === */
.idomit-team-row > .elementor-container{ row-gap:48px !important; }
.idomit-team-row .elementor-column .elementor-widget-image{ text-align:center; }
.idomit-team-photo img,
.idomit-team-row .elementor-widget-image img{
  width:200px !important; height:200px !important;
  border-radius:50% !important;
  object-fit:cover;
  margin:0 auto;
  display:inline-block;
}
/* Kill Elementor's default widget bottom-margins inside team row so name/title/bio sit tight */
.idomit-team-row .elementor-widget{ margin-bottom:0 !important; }
.idomit-team-row .elementor-widget-image{ margin-bottom:14px !important; }
.idomit-team-row .elementor-widget-heading{ text-align:center; }
.idomit-team-row .elementor-widget-heading .elementor-heading-title{
  color:#06332C; margin:0 !important; line-height:1.2;
}
.idomit-team-row .idomit-team-title{
  color:#3AA924; font-weight:600; font-size:.85rem;
  letter-spacing:.6px; text-transform:uppercase;
  margin:4px 0 12px !important;
}
.idomit-team-row .idomit-team-bio{
  color:#555; line-height:1.65; font-size:.95rem;
  max-width:360px; margin:0 auto !important;
}

/* === Service card title font (global, !important) === */
.services-post .title,
.services-post .title a{
  font-family:"Poppins", sans-serif !important;
  font-weight:500 !important;
}

/* === tf-service style2: icon zoom hover + stretched-link (global, not just home) === */
.tf-services-wrap.style2 .services-post{ position:relative; cursor:pointer; }
/* stretched-link overlay: title's <a>::before fills the entire .services-post (no positioned ancestor between them) */
.tf-services-wrap.style2 .services-post .content .title a::before{
  content:""; position:absolute; top:0; left:0; right:0; bottom:0; z-index:1;
}
.tf-services-wrap.style2 .services-post .post-icon .icon-1{ transition:transform .35s ease !important; }
.tf-services-wrap.style2 .services-post:hover .post-icon .icon-1{
  transform:scale(1.12) !important;
  background:url(https://idomitagro.com/wp-content/plugins/themesflat-core/assets/img/icon-box.png) center center / cover no-repeat !important;
}

/* What Sets Us Apart (Products): fade greenery image desktop, hide both on tablet + mobile */
@media (min-width:1025px){
  .elementor-element-f502df3{ opacity:.55; }
}
@media (max-width:1024px){
  .elementor-element-42b4cc8,
  .elementor-element-f502df3{ display:none !important; }
}

/* Section 1 image-left layout (Products, Sustainability, anywhere with .idomit-s1) */
.idomit-s1 > .elementor-container{ align-items:center !important; }
.idomit-s1-img img{ width:100%; height:auto; border-radius:8px; }
/* Product tile description: brand weight 500 */
.tf-services-wrap.style2 .services-post .content .description,
.tf-services-wrap.style2 .services-post .content .description p{ font-weight:500 !important; }

/* Vision + Mission: stacked, 600px centered */
.idomit-mv-stack > .elementor-container > .elementor-column > .elementor-widget-wrap{
  max-width:600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.idomit-mv-stack .elementor-widget-tficonbox + .elementor-widget-tficonbox{ margin-top:32px !important; }

/* === Reusable card grid (idomit-cards) - same as Value Chain cards, no arrows === */
.idomit-cards > .elementor-container{ column-gap:24px !important; row-gap:24px !important; }
.idomit-cards .elementor-element-populated{
  background:#fff;
  border:1px solid #d4e6c8;
  border-radius:14px;
  padding:26px 22px !important;
  box-shadow:0 2px 10px rgba(6,51,44,.06);
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
}
.idomit-cards .elementor-element-populated:hover{
  transform:scale(1.025);
  box-shadow:0 6px 18px rgba(6,51,44,.12);
}
/* smaller icon circle */
.idomit-cards .elementor-icon{
  width:54px !important;
  height:54px !important;
  font-size:24px !important;
  line-height:54px !important;
}
.idomit-cards .elementor-icon svg {
  margin: 2px 0 0 2px;
  width:24px !important;
  height:24px !important;
}
.idomit-cards .elementor-icon-box-icon{ margin-bottom:14px !important; }

/* Section 1 (.idomit-s1) right-column heading: tame size so it doesn't wrap one word per line */
.idomit-s1 .tf-title-section .heading,
.idomit-s1 .tf-title-section h1,
.idomit-s1 .tf-title-section h2{
  font-size:clamp(28px, 3vw, 44px) !important;
  line-height:1.2 !important;
}

/* Centered bullet lists under centered headings (e.g. TL Topics) */
.elementor-element-2069152{
  max-width:720px !important;
  margin-left:auto !important; margin-right:auto !important;
}
.elementor-element-2069152 ul{
  text-align:left;
  padding-left:22px;
}

/* Theme adds 'margin: 0 16%' to .tf-title-section .heading, which breaks left-aligned titles in narrow columns. Remove globally. */
.tf-title-section .title-section .heading{ margin:0 !important; }

/* TL Topics rows: separate first row (3 cards) from second row (2 cards) */
.idomit-topics-row2{ margin-top:24px !important; }

/* Contact: cap Partner With Us copy width but keep centered */
body.elementor-page-3141 .idomit-tlstrip__title,
body.elementor-page-3141 .idomit-tlstrip__desc{
  max-width:600px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Contact: bottom-align pathway buttons regardless of card text length */
body.elementor-page-3141 .idomit-pathways > .elementor-container > .elementor-column > .elementor-widget-wrap{
  display:flex !important;
  flex-direction:column !important;
  height:100%;
}
body.elementor-page-3141 .idomit-pathways .elementor-widget-button{
  margin-top:auto !important;
  margin-bottom:0 !important;
  text-align:center;
}
/* Consistent pathway button styling: brand green default, yellow on hover */
body.elementor-page-3141 .idomit-pathway-btn .elementor-button{
  background-color:#3AA924 !important;
  color:#fff !important;
  border-radius:6px;
  font-weight:600;
  transition:background-color .2s, color .2s, transform .2s;
}
body.elementor-page-3141 .idomit-pathway-btn .elementor-button:hover{
  background-color:#FFC200 !important;
  color:#3e483c !important;
  transform:translateY(-1px);
}

/* Section heading size, match One Company widget default (no more 52px monsters) */
.tf-title-section .heading,
.tf-title-section .title-section .heading{
  font-size:clamp(28px, 3.5vw, 40px) !important;
  line-height:1.2 !important;
}

/* All Elementor pages: drop default 100px theme padding regardless of page ID */
body.elementor-page #themesflat-content{ padding-top:0 !important; padding-bottom:0 !important; }

/* Singles (services, portfolios, posts): hide duplicate featured image - it's now the page-title banner bg */
/* Hide the theme-rendered duplicate .featured-post that shows at the top of a single's content.
   Only the one that's a direct child of <article> or .entry-content — NOT the .featured-post inside portfolio/services grid cards. */
article > .featured-post,
.entry-content > .featured-post{ display:none !important; }

/* Investors: dark CTA strip - light text on green-dark bg */
.idomit-cta-strip .tf-title-section .sub-title{ color:#FFC200 !important; }
.idomit-cta-strip .tf-title-section .heading{ color:#fff !important; }
.idomit-cta-strip .elementor-widget-text-editor,
.idomit-cta-strip .elementor-widget-text-editor p{ color:rgba(255,255,255,.9) !important; }
.idomit-cta-strip .idomit-pathway-btn .elementor-button{ background-color:#FFC200 !important; color:#06332C !important; }
.idomit-cta-strip .idomit-pathway-btn .elementor-button:hover{ background-color:#fff !important; color:#06332C !important; }
.idomit-pathway-btn .elementor-button .elementor-button-text { text-decoration: none !important; }

/* Footer 'Made with ❤️ by Bashy': WCAG visually-hidden so a11y tree / text extractors / screen readers still see it */
.menu-item-3510{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Service CTA strip: parallax bg + white heading/text + yellow CTA */
.idomit-svc-cta-parallax{ background-attachment:fixed !important; }
.idomit-svc-cta-parallax .elementor-heading-title{ color:#fff !important; }
.idomit-svc-cta-parallax .elementor-widget-text-editor,
.idomit-svc-cta-parallax .elementor-widget-text-editor p{ color:rgba(255,255,255,.92) !important; max-width:640px; margin-left:auto !important; margin-right:auto !important; }
.idomit-svc-cta-parallax .idomit-pathway-btn .elementor-button{ background-color:#FFC200 !important; color:#06332C !important; }
.idomit-svc-cta-parallax .idomit-pathway-btn .elementor-button:hover{ background-color:#fff !important; color:#06332C !important; }
@media (max-width:1024px){
  .idomit-svc-cta-parallax{ background-attachment:scroll !important; }
}

/* Singles: hide the theme's duplicate h1.post-title — the banner already shows the title */
body.single-services .entry-content > .post-title,
body.single-portfolios .entry-content > .post-title,
body.single-post .entry-content > .post-title,
body.single .entry-content > h1.post-title{ display:none !important; }

/* Service CTA strip: sunset palms bg + dark green gradient overlay (all service detail CTAs) */
.idomit-svc-cta-parallax{
  background-image:url("https://idomitagro.com/wp-content/uploads/2026/06/services-cta-palm-trees-sunset.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  position:relative !important;
}
.idomit-svc-cta-parallax::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(6,51,44,0.55) 0%, rgba(6,51,44,0.75) 100%);
  z-index:1;
  pointer-events:none;
}
.idomit-svc-cta-parallax > .elementor-container,
.idomit-svc-cta-parallax > .elementor-background-overlay{
  position:relative;
  z-index:2;
}

/* Submenu links: regular weight, Inter (match main menu) */
#mainnav ul.sub-menu > li > a{
  font-weight:400 !important;
  font-family:"Inter", sans-serif !important;
}

/* Center submenu dropdowns under their parent menu item (top-level only) */
#mainnav > ul.menu > li.menu-item-has-children > ul.sub-menu{
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
}

/* Mobile menu drawer: regular weight + Inter (match desktop main menu) */
#mainnav_canvas ul li a{
  font-weight:400 !important;
  font-family:"Inter", sans-serif !important;
}

/* Products & Services: zoom the banner image in slightly */
body.page-id-3135 .page-title{ background-size:140% auto !important; }

/* Products & Services: custom page-title overlay */
body.page-id-3135 .page-title .overlay{
  background-color:#031c18 !important;
  opacity:0.8 !important;
}
