/* ==========================================================================
   OMNICOM | Product page 2026 (template-product-2026.php)
   Loaded after the theme's oc-home/oc-home.css, only on pages with the
   "Product page 2026" template. Uses only the :root variables from oc-home.css.
   Content is WordPress blocks: classes are set in "Additional CSS class(es)".
   Breakpoints 1000px / 700px (same as the homepage).
   ========================================================================== */

.oc-page main [id] { scroll-margin-top: 72px; }   /* anchors clear the sticky menu */
.oc-page .oc-main figure.wp-block-image { margin: 0; }
.oc-page .oc-main p:empty { display: none; }

/* ---------- 1. Page hero (dark, shorter than the homepage hero) ---------- */

.oc-page .oc-phero { position: relative; overflow: hidden; background: var(--oc-ink); color: var(--oc-white); }
/* OC mark behind the badge: centred on the badge column (150px wide => centre 75px from the grid's right edge) */
.oc-page .oc-phero__grid { position: relative; }
.oc-page .oc-phero__text, .oc-page .oc-phero__badge { position: relative; z-index: 1; }
.oc-page .oc-phero__grid::before {
  content: ""; position: absolute; right: -125px; top: 50%; width: 400px; height: 297px; margin-top: -148px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 101'%3E%3Cpath fill='%23414042' d='M135.46 95.86L129.61 81.19C119.79 85.02 108.97 85.42 98.9 82.34C107.37 73.74 112.12 62.15 112.12 50.07C112.12 38 107.37 26.41 98.9 17.8C103.35 16.45 107.97 15.78 112.61 15.8C118.43 15.78 124.2 16.86 129.61 19L135.45 4.32C128.19 1.44 120.44-.02 112.63 0C102.79-.03 93.08 2.32 84.35 6.87C75.62 2.32 65.91-.03 56.06 0C25.15 0 0 22.49 0 50.12C0 77.75 25.15 100.24 56.06 100.24C65.91 100.27 75.62 97.92 84.35 93.37C92.2 97.41 100.82 99.73 109.64 100.16C118.46 100.6 127.27 99.15 135.48 95.91L135.46 95.86ZM96.31 50.07C96.31 59.61 91.72 68.24 84.31 74.47C76.92 68.24 72.31 59.61 72.31 50.07C72.31 40.53 76.9 31.9 84.31 25.68C91.72 31.9 96.31 40.54 96.31 50.07ZM15.78 50.07C15.78 31.15 33.84 15.75 56.04 15.75C60.69 15.73 65.31 16.4 69.76 17.75C61.29 26.36 56.54 37.95 56.54 50.02C56.54 62.1 61.29 73.69 69.76 82.29C65.31 83.64 60.69 84.32 56.04 84.29C33.84 84.39 15.78 69 15.78 50.07Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.oc-page .oc-phero__inner { position: relative; padding-top: 20px; padding-bottom: 40px; }
.oc-page .oc-phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 40px; align-items: center; margin-top: 24px; }
.oc-page .oc-phero__grid > :only-child { grid-column: 1 / -1; }
.oc-page .oc-phero__text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.oc-page .oc-phero__text > * { margin: 0; }
.oc-page .oc-phero__title { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; font-weight: 700; color: var(--oc-white); }
.oc-page .oc-phero__lead { font-size: 19px; line-height: 1.4; color: var(--oc-white); }
.oc-page .oc-phero .oc-kicker--on-dark { color: var(--oc-red-200); }
.oc-page .oc-phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.oc-page .oc-phero__actions .wp-block-button { margin: 0; }
.oc-page .oc-phero__badge { display: flex; justify-content: center; }
.oc-page .oc-phero__badge img { width: 150px; height: 150px; object-fit: contain; }

/* Breadcrumb (printed automatically by the plugin) */
.oc-page .oc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--oc-grey-400); }
.oc-page .oc-crumbs li { margin: 0; }
.oc-page .oc-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--oc-grey-600); }
.oc-page .oc-crumbs a { color: var(--oc-grey-300); text-decoration: none; }
.oc-page .oc-crumbs a:hover { color: var(--oc-white); text-decoration: underline; }
.oc-page .oc-crumbs [aria-current] { color: var(--oc-white); }

/* ---------- 2. Sticky in-page menu ---------- */

.oc-page .oc-subnav { position: sticky; top: 0; z-index: 20; background: var(--oc-white); border-bottom: 1px solid var(--oc-grey-300); }
.admin-bar.oc-page .oc-subnav { top: 32px; }
.oc-page .oc-subnav .oc-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.oc-page .oc-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.oc-page .oc-subnav ul::-webkit-scrollbar { display: none; }
.oc-page .oc-subnav li { margin: 0; }
.oc-page .oc-subnav li a { display: block; padding: 20px 0 17px; border-bottom: 3px solid transparent; color: var(--oc-black); text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.oc-page .oc-subnav li a:hover,
.oc-page .oc-subnav li a.is-active { border-bottom-color: var(--oc-red); color: var(--oc-red); }
.oc-page .oc-subnav .wp-block-buttons { flex-shrink: 0; }

/* ---------- 3. Proof bar: 3 columns + extra icon ---------- */

.oc-page .oc-proof__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oc-page .oc-proof__item--code::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14'/%3E%3C/svg%3E"); }

/* ---------- 4. Two-column split (text + media) ---------- */

.oc-page .oc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.oc-page .oc-split--badge { grid-template-columns: 320px minmax(0, 1fr); }
.oc-page .oc-split > p { margin: 0; }                       /* shortcode wrapper around [oc_video] */
.oc-page .oc-split__text { display: flex; flex-direction: column; gap: 20px; }
.oc-page .oc-split__text > * { margin: 0; }
.oc-page .oc-split__text .oc-section__title { margin-bottom: 0; }
.oc-page .oc-split > div:not(.oc-split__text) p + p { margin-top: 16px; }
.oc-page .oc-lead { font-size: 20px; line-height: 1.4; color: var(--oc-ink); }
.oc-page .oc-section__intro--on-dark { color: var(--oc-grey-400); }

/* Check list (list block with class oc-checks) */
.oc-page ul.oc-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.oc-page .oc-checks li { position: relative; margin: 0; padding-left: 32px; }
.oc-page .oc-checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--oc-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.oc-page ul.oc-checks--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 24px; }

/* Video facade ([oc_video]) */
.oc-page .oc-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: var(--oc-ink); }
.oc-page .oc-video__poster { position: absolute; inset: 0; background: var(--oc-ink) center / cover no-repeat; transition: transform .3s; }
.oc-page .oc-video:hover .oc-video__poster { transform: scale(1.03); }
.oc-page .oc-video__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--oc-red); color: var(--oc-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: background-color .15s; }
.oc-page .oc-video:hover .oc-video__play,
.oc-page .oc-video:focus-visible .oc-video__play { background: var(--oc-red-dark); }
.oc-page .oc-video__play svg { width: 36px; height: 36px; margin-left: 4px; }
.oc-page .oc-video__label { position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: rgba(0,0,0,.7); color: var(--oc-white); font: 700 14px/1.2 var(--oc-font); }
.oc-page .oc-video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---------- 5. Supported areas: two pillars ---------- */

.oc-page .oc-pillars--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oc-page .oc-section--grey .oc-pillar { background: var(--oc-white); }

/* ---------- 6. Feature groups ---------- */

.oc-page .oc-featgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.oc-page .oc-featgroup { border-top: 2px solid var(--oc-ink); padding-top: 20px; }
.oc-page .oc-featgroup h3 { font-size: 18px; margin: 0 0 16px; }
.oc-page .oc-featgroup .oc-checks { font-size: 15px; gap: 12px; }

/* ---------- 7. Integrations (dark section) ---------- */

.oc-page .oc-integ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oc-page .oc-integ__item { position: relative; background: var(--oc-grey-800); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 132px; transition: background-color .15s; }
.oc-page .oc-integ__item > * { margin: 0; }
.oc-page .oc-integ__cat { font-weight: 700; font-size: 18px; color: var(--oc-white); }
.oc-page .oc-integ__cat a { color: inherit; text-decoration: none; }
.oc-page .oc-integ__cat a::before { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole tile clickable */
.oc-page .oc-integ__names { font-size: 14px; color: var(--oc-grey-300); }
.oc-page .oc-integ__item--hl { background: var(--oc-red); }
.oc-page .oc-integ__item--hl .oc-integ__names { color: var(--oc-white); }
.oc-page .oc-integ__item--hl .oc-integ__cat::after { content: " \2192"; }
.oc-page .oc-integ__item--hl:hover { background: var(--oc-red-dark); }

/* ---------- 7b. Related product ---------- */

.oc-page .oc-section--tight { padding-top: 56px; padding-bottom: 0; }
.oc-page .oc-section--tight + .oc-section { padding-top: 56px; }
.oc-page .oc-related { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 40px; background: var(--oc-grey-100); border-left: 6px solid var(--oc-red); color: var(--oc-black); transition: background-color .15s; }
.oc-page .oc-related:hover { background: var(--oc-grey-300); }
.oc-page .oc-related__text { display: flex; flex-direction: column; gap: 10px; }
.oc-page .oc-related__text > *, .oc-page .oc-related > p { margin: 0; }
.oc-page .oc-related__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-red); }
.oc-page .oc-related__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.15; }
.oc-page .oc-related__lead { color: var(--oc-ink); max-width: 720px; }
.oc-page .oc-related__cta a { display: inline-block; background: var(--oc-red); color: var(--oc-white); font-weight: 700; padding: 14px 28px; white-space: nowrap; text-decoration: none; }
.oc-page .oc-related__cta a::after { content: " \2192"; }
.oc-page .oc-related__cta a::before { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole box clickable */

/* ---------- 8. Support badge ---------- */

.oc-page .oc-support__badge { display: flex; justify-content: center; }
.oc-page .oc-support__badge img { width: 280px; height: 280px; object-fit: contain; }

/* ---------- 9. References ---------- */

.oc-page .oc-cards--refs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--oc-gap); }
.oc-page .oc-quote--white { background: var(--oc-white); border-color: var(--oc-white); }
.oc-page .oc-case { position: relative; background: var(--oc-red); color: var(--oc-white); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: background-color .15s; }
.oc-page .oc-case:hover { background: var(--oc-red-dark); }
.oc-page .oc-case > * { margin: 0; }
.oc-page .oc-case__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oc-page .oc-case__title { font-size: 26px; font-weight: 700; line-height: 1.15; }
.oc-page .oc-case__cta { margin-top: auto !important; font-weight: 700; }
.oc-page .oc-case__cta a { color: var(--oc-white); text-decoration: none; }
.oc-page .oc-case__cta a::after { content: " \2192"; }
.oc-page .oc-case__cta a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* News on white background */
.oc-page .oc-news--bordered { border: 1px solid var(--oc-grey-300); }

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1000px) {
  .oc-page .oc-phero__grid { grid-template-columns: minmax(0, 1fr) 120px; gap: 24px; }
  .oc-page .oc-phero__badge img { width: 120px; height: 120px; }
  .oc-page .oc-phero__grid::before { right: -140px; }
  .oc-page .oc-split, .oc-page .oc-split--badge { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .oc-page .oc-support__badge { justify-content: flex-start; }
  .oc-page .oc-support__badge img { width: 200px; height: 200px; }
  .oc-page .oc-featgroups, .oc-page .oc-integ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-page .oc-cards--refs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .oc-page .oc-cards--refs .oc-case { grid-column: 1 / -1; }
  .oc-page .oc-proof__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 782px) {
  .admin-bar.oc-page .oc-subnav { top: 46px; }
}

@media (max-width: 700px) {
  .oc-page .oc-phero__inner { padding-bottom: 32px; }
  .oc-page .oc-phero__grid::before { display: none; }
  .oc-page .oc-phero__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .oc-page .oc-phero__badge { display: none; }          /* badge repeats in the Support section */
  .oc-page .oc-phero__lead { font-size: 17px; }
  .oc-page .oc-phero__actions .wp-block-button,
  .oc-page .oc-phero__actions .wp-block-button__link { width: 100%; text-align: center; }
  .oc-page .oc-subnav ul { gap: 24px; }
  .oc-page .oc-proof__grid--3, .oc-page .oc-pillars--two, .oc-page .oc-featgroups, .oc-page .oc-integ,
  .oc-page .oc-cards--refs, .oc-page ul.oc-checks--cols { grid-template-columns: minmax(0, 1fr); }
  .oc-page .oc-lead { font-size: 18px; }
  .oc-page .oc-related { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .oc-page .oc-related__cta a { display: block; text-align: center; }
}


/* Buttons below section content (Consulting, Nov 2026) */
.oc-page .oc-section__actions { margin-top: 40px; }


/* Contact page: office cards, map buttons, CF7 form (Nov 2026) */
body.oc-home .oc-contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
body.oc-home .oc-contact-card{background:#fff;border:1px solid #d1d3d4;border-top:4px solid #c61f40;padding:28px;display:flex;flex-direction:column;gap:6px}
body.oc-home .oc-contact-card--muted{border-top-color:#58595b;background:#f4f4f4}
body.oc-home .oc-contact-card__img{margin:-28px -28px 16px!important}
body.oc-home .oc-contact-card__img img{width:100%;height:160px;object-fit:cover;display:block}
body.oc-home .oc-contact-card__city{font-size:24px;margin:0 0 4px}
body.oc-home .oc-contact-card__company{font-weight:700;margin:0}
body.oc-home .oc-contact-card__addr{margin:0;color:#414042}
body.oc-home .oc-contact-card__note{margin:12px 0 0;padding-top:12px;border-top:1px solid #d1d3d4;font-size:15px;color:#58595b}
body.oc-home .oc-contact-card__nav{margin-top:auto;padding-top:20px;gap:8px}
body.oc-home .oc-navbtn .wp-block-button__link{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;font-size:15px;font-weight:500;border:1px solid #333132;background:#fff;color:#333132;border-radius:0;text-decoration:none}
body.oc-home .oc-navbtn .wp-block-button__link:hover{background:#333132;color:#fff}
body.oc-home .oc-navbtn--google .wp-block-button__link::before,body.oc-home .oc-navbtn--waze .wp-block-button__link::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat}
body.oc-home .oc-contact-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:48px;align-items:start}
body.oc-home .oc-contact-direct{list-style:none;padding:0;margin:24px 0}
body.oc-home .oc-contact-direct li{padding:12px 0;border-bottom:1px solid #d1d3d4}
body.oc-home .oc-contact-direct a{font-weight:500;font-size:20px;color:#333132}
body.oc-home .oc-contact-direct span{display:block;font-size:14px;color:#58595b}
body.oc-home .oc-contact-formbox{background:#fff;padding:32px;border:1px solid #d1d3d4}
body.oc-home .oc-form__row--2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.oc-home .oc-form__field{margin:0 0 16px}
body.oc-home .oc-form label{display:block;font-weight:500;font-size:15px;margin-bottom:6px;color:#333132}
body.oc-home .oc-form__req{color:#c61f40}
body.oc-home .oc-form__opt{font-weight:400;color:#58595b}
body.oc-home .oc-form input[type=text],body.oc-home .oc-form input[type=email],body.oc-home .oc-form input[type=tel],body.oc-home .oc-form select,body.oc-home .oc-form textarea{width:100%;box-sizing:border-box;padding:12px 14px;font:inherit;font-size:16px;border:1px solid #bcbec0;background:#fff;color:#333132;border-radius:0}
body.oc-home .oc-form textarea{min-height:140px;resize:vertical}
body.oc-home .oc-form input:focus,body.oc-home .oc-form select:focus,body.oc-home .oc-form textarea:focus{outline:2px solid #c61f40;outline-offset:0;border-color:#c61f40}
body.oc-home .oc-form .wpcf7-not-valid{border-color:#c61f40}
body.oc-home .oc-form .wpcf7-not-valid-tip{color:#9f1c33;font-size:14px;margin-top:4px}
body.oc-home .oc-form__note{font-size:14px;color:#58595b;margin:8px 0 16px}
body.oc-home .oc-form__btn{background:#c61f40;color:#fff;border:0;padding:14px 28px;font:inherit;font-weight:500;font-size:16px;cursor:pointer}
body.oc-home .oc-form__btn:hover{background:#9f1c33}
body.oc-home .oc-contact-formbox .wpcf7-response-output{margin:16px 0 0!important;padding:12px 16px!important;border-width:1px!important}
@media (max-width:1000px){body.oc-home .oc-contact-cards{grid-template-columns:1fr 1fr}body.oc-home .oc-contact-grid{grid-template-columns:1fr;gap:32px}}
@media (max-width:700px){body.oc-home .oc-contact-cards,body.oc-home .oc-form__row--2{grid-template-columns:1fr}body.oc-home .oc-contact-formbox{padding:20px}}
body.oc-home .oc-contact-formbox form{display:flex;flex-direction:column}
body.oc-home .oc-contact-formbox .oc-form{display:contents}
body.oc-home .oc-contact-formbox .oc-form>*{order:1}
body.oc-home .oc-contact-formbox .oc-form__note{order:2}
body.oc-home .oc-contact-formbox .wpcf7-turnstile{order:3;margin-bottom:16px}
body.oc-home .oc-contact-formbox .oc-form__submit{order:4;margin:0}
body.oc-home .oc-contact-formbox .wpcf7-response-output{order:5}
