/* WordPress-only adjustments; everything else comes from the original stylesheets. */

/* Keep the sticky header below the admin toolbar for logged-in users. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }

/* Content written in the block editor inside the standard article layout. */
.article-content .alignwide,
.article-content .alignfull { max-width: 100%; }
.article-content .wp-block-image img { height: auto; max-width: 100%; }

/* Privacy note above the contact/support form submit button. */
.contact-form > .form-privacy { margin: 4px 0 16px; color: var(--muted, #4f5b73); }
.contact-form > .form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Images given width/height by inc/images.php: the attributes set only the aspect ratio. */
:where(img[data-ets-size]) { width: auto; height: auto; }

/* ------------------------------------------------------------------ Services overview
   One card design for every service, a clearer map of the portfolio in the hero.
   Styling only: the text stays editable in the page. Works in both languages. */
.iVkjRW_page .iVkjRW_foundation,
.iVkjRW_page .iVkjRW_channels,
.iVkjRW_page .iVkjRW_together,
.iVkjRW_page .iVkjRW_region { padding-block: clamp(48px, 7vw, 88px); }
.iVkjRW_page .iVkjRW_groupHead { margin-bottom: 32px; }
.iVkjRW_page .iVkjRW_groupHead h2,
.iVkjRW_page .iVkjRW_regionHead h2 { font-size: clamp(26px, 3.2vw, 36px); }
.iVkjRW_page .iVkjRW_groupHead p,
.iVkjRW_page .iVkjRW_regionHead p { font-size: 16px; }

/* Hero: the portfolio as three connected layers */
.iVkjRW_page .iVkjRW_hero { padding-block: clamp(48px, 6vw, 80px); }
.iVkjRW_page .iVkjRW_tiers { gap: 16px; border: 0; }
.iVkjRW_page .iVkjRW_tiers li,
.iVkjRW_page .iVkjRW_tiers li[data-core] { position: relative; gap: 4px; margin: 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.iVkjRW_page .iVkjRW_tiers li + li::before { content: ""; position: absolute; inset-block-start: -17px; inset-inline-start: 32px; inline-size: 2px; block-size: 16px; background: var(--blue); }
.iVkjRW_page .iVkjRW_tiers li[data-core] { border-color: var(--blue); background: var(--blue); }
.iVkjRW_page .iVkjRW_tiers li[data-core] span { color: #fff; }
.iVkjRW_page .iVkjRW_tiers li[data-core] strong { color: #fff; font-size: 24px; }

/* Odoo capabilities: label and arrow on one line, every button as tall as the row */
.iVkjRW_page .iVkjRW_capabilities li { display: flex; }
.iVkjRW_page .iVkjRW_capabilities a { flex: 1; min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 16px 18px; font-weight: 600; }
.iVkjRW_page .iVkjRW_capabilities a svg { flex: none; }

/* Service cards */
.iVkjRW_page .iVkjRW_foundation > .container { display: grid; gap: 24px; }
.iVkjRW_page .iVkjRW_foundation .iVkjRW_groupHead { margin-bottom: 8px; }
.iVkjRW_page .iVkjRW_row,
.iVkjRW_page .iVkjRW_columns article { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease); }
.iVkjRW_page .iVkjRW_row:hover,
.iVkjRW_page .iVkjRW_columns article:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.iVkjRW_page .iVkjRW_row > .iVkjRW_rowIcon,
.iVkjRW_page .iVkjRW_columns article > span:first-child { order: 0; position: relative; display: block; flex: none; aspect-ratio: 16 / 9; min-height: 0; margin: 0; border-radius: 0; background-color: var(--pale); background-position: center; background-size: cover; }
.iVkjRW_page .iVkjRW_row > .iVkjRW_rowIcon .icon,
.iVkjRW_page .iVkjRW_columns article > span:first-child .icon { position: absolute; inset-block-end: 14px; inset-inline-start: 16px; display: flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.iVkjRW_page .iVkjRW_row > .iVkjRW_rowIcon .icon svg { inline-size: 24px; block-size: 24px; }
.iVkjRW_page .iVkjRW_rowCopy { order: 1; display: flex; flex: 1; flex-direction: column; padding: 24px; }
.iVkjRW_page .iVkjRW_columns { gap: 24px; }
.iVkjRW_page .iVkjRW_columns article > h3,
.iVkjRW_page .iVkjRW_columns article > p,
.iVkjRW_page .iVkjRW_columns article > .text-link { margin-inline: 24px; }
.iVkjRW_page .iVkjRW_columns article > h3 { margin-block-start: 24px; }
.iVkjRW_page .iVkjRW_rowCopy h3,
.iVkjRW_page .iVkjRW_columns h3 { font-size: 20px; }
.iVkjRW_page .iVkjRW_rowCopy p,
.iVkjRW_page .iVkjRW_columns p { font-size: 15px; }
/* How each service connects to Odoo */
.iVkjRW_page .iVkjRW_connect { margin-block-start: 14px; padding-inline-start: 12px; border-inline-start: 3px solid var(--blue); color: var(--navy); font-weight: 500; }
.iVkjRW_page .iVkjRW_rowCopy .text-link,
.iVkjRW_page .iVkjRW_columns article > .text-link { margin-block: auto 0; padding-block-start: 16px; }
.iVkjRW_page .iVkjRW_columns article > .text-link { margin-block-end: 24px; }

[aria-labelledby$="cloud-title"] > .iVkjRW_rowIcon { background-image: url(site/images/services/cloud.webp); }
[aria-labelledby$="ai-title"] > .iVkjRW_rowIcon { background-image: url(site/images/services/ai.webp); }
[aria-labelledby="web-title"] > span:first-child,
[aria-labelledby="ar-channel-web"] > span:first-child { background-image: url(site/images/services/web.webp); }
[aria-labelledby="mobile-title"] > span:first-child,
[aria-labelledby="ar-channel-mobile"] > span:first-child { background-image: url(site/images/services/mobile.webp); }
[aria-labelledby="digital-marketing-title"] > span:first-child,
[aria-labelledby="ar-channel-digital-marketing"] > span:first-child { background-image: url(site/images/services/marketing.webp); }

/* Why it works together */
.iVkjRW_page .iVkjRW_points { display: grid; gap: 14px; margin-block-start: 24px; }
.iVkjRW_page .iVkjRW_points > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.iVkjRW_page .iVkjRW_points dt { color: var(--navy); font-size: 15px; font-weight: 650; }
.iVkjRW_page .iVkjRW_points dd { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }

/* Offices */
.iVkjRW_page .iVkjRW_places li { padding: 20px 22px; border-radius: 14px; }
.iVkjRW_page .iVkjRW_places strong { font-size: 17px; }

@media (min-width: 620px) {
  .iVkjRW_page .iVkjRW_points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .iVkjRW_page .iVkjRW_foundation > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iVkjRW_page .iVkjRW_foundation .iVkjRW_groupHead { grid-column: 1 / -1; }
  .iVkjRW_page .iVkjRW_columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .iVkjRW_page .iVkjRW_capabilities ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .iVkjRW_page .iVkjRW_row:hover,
  .iVkjRW_page .iVkjRW_columns article:hover { transform: none; }
}
