/* Iordanidis: refresh for pages still built with WPBakery/Salient elements (not loaded on "Iordanidis 2027" pages).
   Was Code Snippets #14 "Design refresh 2027" and the brand accent from #12 "Design quick wins". */
/* Iordanidis design refresh 2027. Same brand (seal green, Didact Gothic, monochrome photos), one system:
   real weights, one type scale, one corner radius, light surfaces, hairlines instead of shadows, almost no motion. */
:root{
	--ia-green:#105850;--ia-green-dark:#0b3f39;--ia-green-tint:#e9f0ee;
	--ia-ink:#1d1d1b;--ia-text:#4a4a48;--ia-mute:#7a7a76;--ia-line:#e2e0db;--ia-stone:#f5f3ef;
	--ia-r:4px;
}

/* 1. Type: Didact Gothic only has a regular weight, so drop the faked bold and let size do the work */
body h1,body h2,body h3,body h4,body h5,body h6,body .nectar-split-heading,body .vc_custom_heading{font-weight:400!important;letter-spacing:-.012em}
body .container-wrap h1,body #page-header-bg h1{font-size:clamp(36px,4.2vw,60px)!important;line-height:1.08!important}
body .container-wrap h2:not(.tc-num){font-size:clamp(28px,2.9vw,42px)!important;line-height:1.15!important;color:var(--ia-ink)}
body .container-wrap h3{font-size:clamp(22px,1.9vw,26px)!important;line-height:1.3!important;color:var(--ia-ink)}
body .container-wrap h4{font-size:clamp(20px,1.6vw,24px)!important;line-height:1.3!important;color:var(--ia-ink)}
body .container-wrap h5{font-size:19px!important;line-height:1.35!important;color:var(--ia-ink)}
body .container-wrap p,body .container-wrap li{color:var(--ia-text)}
body .container-wrap .wpb_text_column p{font-size:18px;line-height:1.7}
#page-header-bg .subheader,#page-header-bg .inner-wrap > span{font-size:clamp(18px,1.6vw,24px)!important;line-height:1.45!important;opacity:.85}

/* 2. Motion: content is simply there. No reveals, split-text, fades or page-load curtain */
[data-animation],.has-animation,.img-with-aniamtion-wrap .inner,.img-with-aniamtion-wrap .hover-wrap,
.nectar-split-heading .line,.nectar-split-heading span,.nectar-fancy-box,.iwithtext,.column-bg-overlay-wrap,
.wpb_column.has-animation,.col.has-animation{opacity:1!important;transform:none!important;animation:none!important;clip-path:none!important}
.row-bg-wrap .inner-wrap,.column-image-bg-wrap .inner-wrap{transform:none!important}
#ajax-loading-screen,.scroll-down-wrap,#page-header-bg .scroll-down-wrap{display:none!important}
.nectar-highlighted-text em:before,.nectar-highlighted-text em:after{transition:none!important;transform:none!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* 3. Heroes: full screen only on the homepage; inner pages get to the content */
body:not(.home) #page-header-bg.fullscreen-header,body:not(.home) #page-header-wrap.fullscreen-header{height:58vh!important;min-height:440px!important;max-height:640px!important}
body.home #page-header-bg.fullscreen-header,body.home #page-header-wrap.fullscreen-header{height:88vh!important;min-height:560px!important}

/* 4. One shape: 4px corners, no drop shadows, hairlines for structure */
body .container-wrap img,body .img-with-aniamtion-wrap .hover-wrap,body .img-with-aniamtion-wrap .hover-wrap-inner,
body .vc_column-inner,body .column-bg-overlay-wrap,body .column-bg-overlay,body .nectar-fancy-box,body .nectar-fancy-box *,body .team-member img{border-radius:var(--ia-r)!important}
body .img-with-aniamtion-wrap .hover-wrap,body .nectar-fancy-box,body .nectar_video_lightbox,body .play_button_2{box-shadow:none!important}

/* 5. Surfaces: grey bands become warm stone with ink text; green stays for marks only */
body .column-bg-overlay[style*="91, 91, 91"],body .column-bg-overlay[style*="#5b5b5b"],body .row-bg[style*="91, 91, 91"],body .row-bg[style*="#5b5b5b"]{background-color:var(--ia-stone)!important}
body .iordanidis-home-plan p,body .iordanidis-home-plan p em{color:var(--ia-text)!important}

/* 6. Cards (fancy boxes): white, hairline, equal height, green icon, ink text. Replaces black/grey and the off-brand orange */
body .nectar-fancy-box{background:#fff!important;border:1px solid var(--ia-line)!important;height:100%}
body .nectar-fancy-box .box-bg,body .nectar-fancy-box .box-bg:after,body .nectar-fancy-box:after,body .nectar-fancy-box:before{background:transparent!important;opacity:0!important}
body .nectar-fancy-box,body .nectar-fancy-box p,body .nectar-fancy-box .inner,body .nectar-fancy-box h1,body .nectar-fancy-box h2,body .nectar-fancy-box h3,body .nectar-fancy-box h4{color:var(--ia-text)!important}
body .nectar-fancy-box svg,body .nectar-fancy-box i,body .nectar-fancy-box .im-icon-wrap path{color:var(--ia-green)!important;fill:currentColor}
body .nectar-fancy-box img{filter:brightness(0) saturate(100%) invert(26%) sepia(19%) saturate(1300%) hue-rotate(124deg) brightness(92%) contrast(93%)}

/* 7. Buttons and forms: same as the header (green, 4px, 15px) */
body .nectar-button.see-through-2,body .nectar-button.see-through,body .nectar-button.regular{border-radius:var(--ia-r)!important;border-width:1px!important;font-size:15px!important;letter-spacing:.01em}
body .wpcf7 input[type=text],body .wpcf7 input[type=email],body .wpcf7 input[type=tel],body .wpcf7 textarea,body .wpcf7 select{background:#fff!important;border:1px solid #d6d4cf!important;border-radius:var(--ia-r)!important;box-shadow:none!important;color:var(--ia-ink)!important}
body .wpcf7 label{color:var(--ia-ink)}
body .wpcf7 .wpcf7-submit{border:0!important;border-radius:var(--ia-r)!important;padding:15px 34px!important;font-size:15px!important}

/* 8. Small marks: thin green checks, quieter eyebrows */
body i.fa-check-square-o,body i.fa-check-square{color:var(--ia-green)!important;font-size:18px!important;opacity:.9}
body .container-wrap p.vc_custom_heading{text-transform:none!important;letter-spacing:.02em!important;color:var(--ia-green)!important;font-size:15px!important}

/* 10. Section details found in review */
#values p,body .iordanidis-home-plan p,body .nectar-fancy-box p{font-size:18px!important;line-height:1.7!important}
#values .divider-wrap .divider-border,#values .divider-wrap .divider{width:100%!important;background-color:var(--ia-line)!important;height:1px!important}
#values h2.vc_custom_heading{color:var(--ia-ink)}
body .wpb_row:has(.iordanidis-home-plan) h4.vc_custom_heading{font-size:clamp(28px,2.9vw,42px)!important;line-height:1.15!important}
body .wpb_row:has(.iordanidis-home-plan) ~ .wpb_row:has(.iordanidis-home-plan) p.vc_custom_heading{visibility:hidden}

/* 11. Awards (Cool Timeline): 30 one-per-year stories become an index of award cards instead of a 24,000px zig-zag */
body .ctl-wrapper .ctl-inner-line,body .ctl-wrapper .ctl-year,body .ctl-wrapper .ctl-icondot,body .ctl-wrapper .ctl-arrow,body .ctl-wrapper .ctl-title{display:none!important}
body .ctl-wrapper .ctl-timeline-container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;height:auto!important;padding:0!important}
body .ctl-wrapper .ctl-timeline-container:before,body .ctl-wrapper .ctl-timeline-container:after{display:none!important}
body .ctl-wrapper .ctl-story{position:static!important;width:auto!important;margin:0!important;padding:0!important;float:none!important;left:auto!important;right:auto!important;display:flex!important;flex-direction:column;border:1px solid var(--ia-line);border-radius:var(--ia-r);background:#fff}
body .ctl-wrapper .ctl-story:before,body .ctl-wrapper .ctl-story:after{display:none!important}
body .ctl-wrapper .ctl-labels{position:static!important;width:auto!important;margin:0!important;padding:20px 22px 0!important;text-align:left!important;transform:none!important}
body .ctl-wrapper .ctl-label-big{color:var(--ia-green)!important;font-size:15px!important;letter-spacing:.04em;line-height:1.4!important}
body .ctl-wrapper .ctl-content{position:static!important;width:auto!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;flex:1}
body .ctl-wrapper .ctl-description{display:flex;flex-direction:column;background:transparent!important;border:0!important;padding:10px 22px 22px!important;font-size:16px!important;line-height:1.55!important;color:var(--ia-text)!important}
body .ctl-wrapper .ctl-description p{font-size:16px!important;line-height:1.55!important;margin:0 0 12px!important;padding:0!important}
body .ctl-wrapper .ctl-description p:has(img){order:-1;margin:0 0 16px!important;background:var(--ia-stone);border-radius:var(--ia-r);padding:18px!important;text-align:center}
body .ctl-wrapper .ctl-description img{max-height:230px!important;width:auto!important;margin:0 auto!important;object-fit:contain}
@media (max-width:999px){body .ctl-wrapper .ctl-timeline-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:599px){body .ctl-wrapper .ctl-timeline-container{grid-template-columns:1fr}}
#values .vc_col-xs-2 h2,#values .vc_col-sm-4 h2{font-size:17px!important;line-height:1.6!important;color:var(--ia-green)!important;letter-spacing:.04em}
#values .vc_col-sm-8 h2,#values .vc_col-xs-10 h2{font-size:clamp(22px,2vw,28px)!important;line-height:1.25!important}
#creative-services .nectar-fancy-box,body .nectar-fancy-box{min-height:330px}
/* One hero alignment everywhere (Awards was the only left-aligned header) */
#page-header-bg[data-alignment="left"] .span_6{text-align:center!important;margin-left:auto!important;margin-right:auto!important;float:none!important;width:100%!important}

/* 12. Brand accent on Salient buttons and forms (from snippet #12) */
body .nectar-button.see-through-2{border-color:var(--ia-green)!important;color:var(--ia-green)!important}
body .nectar-button.see-through-2 i,body .nectar-button.see-through-2 svg{color:inherit!important}
body .nectar-button.see-through-2:hover{background-color:var(--ia-green)!important;border-color:var(--ia-green)!important;color:#fff!important}
body .extra-color-3,body i.fa-check-square-o{color:var(--ia-green)!important}
body .wpcf7 .wpcf7-submit{background-color:var(--ia-green)!important;color:#fff!important;border-radius:4px}
body .wpcf7 .wpcf7-submit:hover{background-color:var(--ia-green-dark)!important}
body .wpcf7 input:focus,body .wpcf7 textarea:focus{border-color:var(--ia-green)!important}
