/* Shared visual layer for the existing IDEEI Fresh Growth Multilingual templates. */
body.ideei-aligned {
  --id-navy: #0a2034;
  --id-blue: #0069c9;
  --id-blue-hover: #00549f;
  --id-muted: #405a70;
  --id-line: #d8e4ee;
  --id-soft: #f1f6fa;
  --id-ice: #dceeff;
  --text: #132b40;
  --t2: #405a70;
  --t3: #526b7f;
  --bg: #fff;
  --panel: #fff;
  --bg-soft: #f1f6fa;
  --blue: #0069c9;
  --blue-dark: #0a2034;
  --blue-soft: #e5f1fc;
  --amber: #0069c9;
  --amber-2: #00549f;
  --line: #d8e4ee;
  --line-2: #b3c9da;
  --body: Arial, "Segoe UI", sans-serif;
  --disp: Arial, "Segoe UI", sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 8px 24px #0a20340c;
  --shadow-lg: 0 13px 30px #0a203414;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
}
.ideei-aligned .topbar {
  color: #dceeff;
  background: #0a2034;
  border-color: #17354d;
}
.ideei-aligned .topbar a { color: #eef6fe; }
.ideei-aligned .header { background: #fff; border-color: var(--id-line); }
.ideei-aligned :is(.header .nav,.header .drop,.lang-switch) { border-color: var(--id-line); }
.ideei-aligned .header .nav > li > a { color: var(--id-navy); }
.ideei-aligned .header .nav > li > a:is(:hover,.on,[aria-current="page"]),
.ideei-aligned .lang-switch :is(a:hover,.current) { color: var(--id-blue); }

.ideei-aligned .btn,
.ideei-aligned :is(.wpcf7-submit,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button) {
  border-radius: 2px;
  box-shadow: none;
  text-transform: none;
  font-family: var(--body);
  font-weight: 700;
}
.ideei-aligned :is(.btn-amber,.wpcf7-submit,.wp-block-button__link,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt) {
  color: #fff;
  background: var(--id-blue);
  border-color: var(--id-blue);
}
.ideei-aligned :is(.btn-amber,.wpcf7-submit,.wp-block-button__link,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt):hover {
  color: #fff;
  background: var(--id-blue-hover);
  border-color: var(--id-blue-hover);
}
.ideei-aligned .btn-ghost { color: var(--id-blue); border-color: #9ab8d4; background: transparent; }
.ideei-aligned .btn-ghost:hover { color: var(--id-blue-hover); background: #e5f1fc; }
.ideei-aligned :is(a,button,input,textarea,select):focus-visible { outline: 3px solid #e69f35; outline-offset: 3px; }

.ideei-aligned :is(.p-hero,.cta-band) {
  color: white;
  background: linear-gradient(112deg,#0a2034 9%,#153b59 75%,#1b527a);
  border-color: transparent;
}
.ideei-aligned .p-hero { padding-block: clamp(38px,5.4vw,75px); }
.ideei-aligned .p-hero::before { content: none; }
.ideei-aligned :is(.p-hero,.cta-band) :is(h1,h2,h3,em) { color: white; }
.ideei-aligned .p-hero h1 {
  font: 750 clamp(32px,4.4vw,60px)/1.10 var(--disp);
  margin-block: 11px 16px;
  max-width: 26ch;
}
.ideei-aligned :is(.p-hero,.cta-band) :is(.lede,p,.crumb,.crumb a,.crumb b,.ml,.ml b) { color: #dceeff; }
.ideei-aligned :is(.p-hero,.cta-band) .btn-ghost { color: white; border-color: #a9c8e1; }
.ideei-aligned.single-product .p-hero { padding-block: 24px; }

.ideei-aligned .sec { padding-block: clamp(38px,5.4vw,72px); }
.ideei-aligned :is(.sec.alt,.sec.flat,.topic-sec) { border-color: var(--id-line); }
.ideei-aligned :is(.sec.alt,.topic-sec) { background-color: var(--id-soft); }
.ideei-aligned .sec-head { border-color: var(--id-line); }
.ideei-aligned .sec-head h2 { font: 750 clamp(25px,3vw,42px)/1.16 var(--disp); }
.ideei-aligned :is(.sec-head h2,.sec-head h2 em) { color: var(--id-navy); }
.ideei-aligned :is(.ml,.kicker,.pc-cat,.pd-no) { color: var(--id-blue); }
.ideei-aligned :is(.prod-card,.topic-card,.doc-card,.cert-card,.svc-row,.contact-grid .dform,.pd-gallery,.pd-tabs,.pd-quote,.entry-card,.wp-block-group.is-style-card) {
  background-color: #fff;
  border: 1px solid var(--id-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ideei-aligned :is(.prod-card,.topic-card,.doc-card):hover { border-color: #9cbddd; box-shadow: var(--shadow-lg); }
.ideei-aligned :is(.pc-media,.pd-main,.pd-thumbs,.pd-chips span) { background-color: var(--id-soft); }
.ideei-aligned :is(.pc-link,.doc-card a,.topic-card a,.entry-content a) { color: var(--id-blue); }
.ideei-aligned .ideei-featured-grid .pc-media { position: relative; flex: none; padding: 0; }
.ideei-aligned .ideei-featured-grid .pc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 22px;
}
@media (max-width: 620px) {
  .ideei-aligned .ideei-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .ideei-aligned .ideei-featured-grid .pc-media img { padding: 8px; }
  .ideei-aligned .ideei-featured-grid .pc-info { min-width: 0; padding: 10px; gap: 6px; overflow-wrap: anywhere; }
  .ideei-aligned .ideei-featured-grid h3 { font-size: clamp(13px,3.6vw,16px); }
  .ideei-aligned .ideei-featured-grid .pc-cat { font-size: 10px; letter-spacing: .025em; }
  .ideei-aligned .ideei-featured-grid .pc-spec { display: none; }
  .ideei-aligned .ideei-featured-grid .pc-foot { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 4px; }
  .ideei-aligned .ideei-featured-grid .pc-stock { font-size: 10px; letter-spacing: .025em; gap: 4px; }
  .ideei-aligned .ideei-featured-grid .pc-stock::before { flex: 0 0 7px; }
}
.ideei-aligned .pd-info h1 { color: var(--id-navy); line-height: 1.16; overflow-wrap: anywhere; }
.ideei-aligned :is(.pd-tabs,.pd-quote,.contact-grid .dform) { padding: clamp(15px,2.4vw,28px); }
.ideei-aligned :is(.pd-tabs,.entry-content,.wp-block-table,.table-scroll) { min-width: 0; }
.ideei-aligned :is(.wp-block-table,.table-scroll) { max-width: 100%; overflow-x: auto; }
.ideei-aligned :is(.pd-tabs,.entry-content,.support,.doc-grid,.doc-table,.faq,.woocommerce) table { border-color: var(--id-line); }
.ideei-aligned :is(.pd-tabs,.entry-content,.support,.doc-grid,.doc-table,.faq,.woocommerce) thead { color: var(--id-navy); background: #e7f1fa; }
.ideei-aligned :is(.pd-tabs,.entry-content,.support,.doc-grid,.doc-table,.faq,.woocommerce) :is(th,td) { border-color: var(--id-line); }
.ideei-aligned :is(.wpcf7,.dform,.woocommerce) :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),textarea,select) {
  max-width: 100%;
  border: 1px solid #b3c9da;
  border-radius: 2px;
  background-color: #fff;
  color: var(--id-navy);
  font-family: var(--body);
}
.ideei-aligned :is(.faq,.faq-item,.doc-grid,.doc-card,.certs) { border-color: var(--id-line); }
.ideei-aligned .footer {
  background: #0a2034;
  color: #e0edf8;
  border-color: #17354d;
}
.ideei-aligned .footer :is(a,h3,h4,.f-head) { color: #ecf6fe; }
.ideei-aligned .footer a:hover { color: #b0dcff; }
.ideei-aligned .footer .f-grid {
  grid-template-columns: 1.35fr 1fr .85fr 1.2fr;
  gap: clamp(20px, 3vw, 40px);
  padding: 34px 0 22px;
}
.ideei-aligned .footer .f-grid > div { min-width: 0; }
.ideei-aligned .footer .f-brand p { margin-top: 10px; }
.ideei-aligned .footer h5 { margin-bottom: 10px; }
.ideei-aligned .footer .f-links a { padding: 5px 0; overflow-wrap: anywhere; }
.ideei-aligned .footer .f-contact li { gap: 10px; padding: 6px 0; }
.ideei-aligned .footer .f-contact li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.ideei-aligned .footer .f-policies { padding: 11px 0; gap: 7px 22px; margin-top: 0; }
.ideei-aligned .footer .f-bottom { padding: 12px 0; gap: 5px 16px; }

@media (max-width: 960px) {
  .ideei-aligned .footer .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ideei-aligned .footer .f-grid { gap: 20px 14px; padding: 24px 0 16px; }
  .ideei-aligned .footer .f-grid > :is(:first-child, :last-child) { grid-column: 1 / -1; }
}


[dir="rtl"] .ideei-aligned :is(.sec-head h2,.p-hero h1,.pd-info h1,.ml) { letter-spacing: normal; }
[dir="rtl"] .ideei-aligned :is(.p-hero,.cta-band) { background: linear-gradient(248deg,#0a2034 9%,#153b59 75%,#1b527a); }
[dir="rtl"] .ideei-aligned :is(.crumb,.pd-chips,.lang-switch) { unicode-bidi: isolate; }
@media (max-width: 640px) {
  .ideei-aligned .sec-head h2 { overflow-wrap: anywhere; }
  .ideei-aligned :is(.pd-tabs,.pd-quote,.contact-grid .dform) { padding: 14px; }
}

/* Articles, archives and block-editor pages share the same visual hierarchy. */
.ideei-aligned :is(.entry-content,.post-content,.post-body) :is(h2,h3) {
  color: var(--id-navy);
  font-family: var(--disp);
  line-height: 1.2;
}
.ideei-aligned :is(.entry-content,.post-content,.post-body) :is(blockquote,.wp-block-quote) {
  border-inline-start: 3px solid var(--id-blue);
  background: var(--id-soft);
  padding: 14px 20px;
}
.ideei-aligned :is(.entry-content,.post-content,.post-body) a:not(.btn):not(.wp-block-button__link) {
  color: var(--id-blue);
  text-underline-offset: .2em;
}
.ideei-aligned :is(.single-post,.blog,.archive,.search) :is(.post-card,.article-card,.post-entry) {
  border-color: var(--id-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Editorial pages retain the original article markup and URL. */
.ideei-aligned.single-post .post-body {
  width: min(100%, 880px);
  color: var(--text);
  line-height: 1.78;
  font-size: clamp(16px, 1.25vw, 18px);
}
.ideei-aligned.single-post .post-body :is(h2,h3) {scroll-margin-top:100px}
.ideei-aligned.single-post .post-body img {height:auto;max-width:100%}
.ideei-aligned.single-post .post-body :is(.wp-block-table,.table-scroll) {overflow-x:auto;max-width:100%}
.ideei-aligned.single-post .post-meta,.ideei-aligned.single-post .post-nav {color:var(--id-muted)}
.ideei-aligned.single-post .p-hero .post-meta {color:#dceeff}
.ideei-aligned.single-post .p-hero h1 {max-width:32ch}
.ideei-aligned .contact-grid :is(input,textarea,select) {box-sizing:border-box}
.ideei-aligned [data-ideei-inquiry]:not(:empty) {max-width:100%;margin-block:10px}
.ideei-aligned .ideei-inquiry-error:not(:empty) {color:#a4212b;margin-block:10px}

.ideei-aligned .cta-band .cta-r .btn,
.ideei-aligned .header .quote-btn,
.ideei-aligned .pd-info .pd-actions .btn,
.ideei-aligned .pd-quote .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  padding:10px 14px;
  height:auto;
  min-height:44px;
  line-height:1.25;
  overflow:visible;
}
.ideei-aligned :is(.pd-info .pd-actions,.pd-quote) .btn:hover { transform:none; }
.ideei-aligned :is(.cta-band .cta-r,.header,.pd-info .pd-actions,.pd-quote) .btn .bt.a { transform:none; }
.ideei-aligned :is(.cta-band .cta-r,.header,.pd-info .pd-actions) .btn .bt.b,
.ideei-aligned .pd-quote .btn-amber .bt.b { display:none; }
.ideei-aligned .pd-quote .btn-ghost { flex-wrap:wrap; max-width:100%; }
.ideei-aligned .pd-quote .btn-ghost .bt.b {
  display:block;
  position:static;
  transform:none;
  direction:ltr;
  unicode-bidi:isolate;
}
.ideei-aligned .header .quote-btn:after,
.ideei-aligned .cta-band .cta-r .btn:has(.bt.b):after { content:"→"; }
[dir="rtl"] .ideei-aligned .header .quote-btn:after,
[dir="rtl"] .ideei-aligned .cta-band .cta-r .btn:has(.bt.b):after { content:"←"; }
.ideei-aligned .cta-band .cta-r .mono-line a { color:inherit; }
.ideei-aligned .header .lang-switch { flex-shrink:0; }
.ideei-aligned .header .lang-switch a { white-space:nowrap; }
@media(min-width:1101px) {
  .ideei-aligned .header .wrap-wide { gap:clamp(12px,1.4vw,22px); }
  .ideei-aligned .header .nav { flex-wrap:nowrap; gap:clamp(0px,.24vw,4px); margin-block:0; }
  .ideei-aligned .header .nav>li>a { padding-inline:clamp(7px,.9vw,15px); font-size:clamp(13px,1vw,15px); white-space:nowrap; }
  .ideei-aligned .header .lang-switch { margin-inline:clamp(5px,1vw,13px); }
  .ideei-aligned .header .quote-btn { margin-inline:0; flex-shrink:0; max-width:155px; }
}
@media(max-width:1100px) {
  .ideei-aligned .header .quote-btn { display:none; }
}
.ideei-aligned .ideei-article-topics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start;margin-block:16px 24px}
.ideei-aligned .ideei-article-topics details {min-width:0;background:white;border:1px solid var(--id-line);padding:12px 14px;border-radius:4px}
.ideei-aligned .ideei-article-topics summary {cursor:pointer;color:var(--id-navy);font-weight:750}
.ideei-aligned .ideei-article-topics ul {list-style:none;padding:0;margin:10px 0 0}
.ideei-aligned .ideei-article-topics li {padding-block:8px;border-top:1px solid var(--id-line);font-size:14px;overflow-wrap:anywhere}
.ideei-aligned .ideei-article-topics a {color:var(--id-blue)}
.ideei-aligned .ideei-article-topics .ideei-topic-more {
  display: block;
  border-top: 1px solid var(--id-line);
  padding-block: 9px 2px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}
[dir=rtl] .ideei-topic-more span { display: inline-block; transform: scaleX(-1); }
.ideei-aligned .ideei-article-controls {display:flex;flex-wrap:wrap;gap:8px;margin-block:0 17px}
.ideei-aligned .ideei-article-controls button {border:1px solid var(--id-line);border-radius:3px;padding:8px 12px;color:var(--id-navy);background:#fff;font:inherit;font-weight:700;cursor:pointer}
.ideei-aligned .ideei-article-controls button[aria-pressed="true"] {background:var(--id-blue);border-color:var(--id-blue);color:#fff}
.ideei-aligned [data-ideei-article][hidden] {display:none!important}
@media(max-width:880px) { .ideei-aligned .ideei-article-topics {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:480px) { .ideei-aligned .ideei-article-topics {grid-template-columns:1fr} }

.ideei-aligned .ideei-line-navigation {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-block:28px}
.ideei-aligned .ideei-line-navigation .btn {height:auto;min-height:48px;line-height:1.25;padding:9px 12px;gap:8px;text-align:center;overflow:visible}
.ideei-aligned .ideei-catalog-line {padding-block:36px 40px;scroll-margin-block-start:90px;border-block-start:1px solid var(--id-line)}
.ideei-aligned .ideei-catalog-line:nth-of-type(even) {background:var(--id-soft)}
.ideei-aligned .ideei-catalog-heading h2 {margin:0;color:var(--id-navy);font-size:clamp(26px,3vw,40px)}
.ideei-aligned .ideei-catalog-heading {margin-block-end:20px}
.ideei-aligned .ideei-catalog-heading p {margin:8px 0 0;color:var(--id-muted)}
.ideei-aligned .ideei-catalog-line .prod-card[id] {scroll-margin-block-start:90px}
.ideei-aligned .ideei-support-docs .ideei-warranty-terms {margin:0;list-style:disc;padding-inline-start:1.15em;color:var(--id-muted);font-size:14px;line-height:1.5}
.ideei-aligned .ideei-warranty-terms li + li {margin-block-start:.35em}
.ideei-aligned .ideei-support-docs {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ideei-aligned .ideei-support-docs a {display:inline-block;color:var(--id-blue);font-weight:700;margin-block-start:10px}
@media(max-width:800px) {
  .ideei-aligned .ideei-line-navigation,.ideei-aligned .ideei-support-docs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px) { .ideei-aligned .ideei-support-docs {grid-template-columns:1fr} }

