/* WordPress additions to the v3 design (forms feedback, pager, block-editor content in articles). */
.tx-form-notice { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 6px; font-size: .9375rem; line-height: 1.45; }
.tx-form-notice.ok { background: #e7f6ee; color: #14532d; border: 1px solid #b7e3c8; }
.tx-form-notice.err { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }
.newsletter .tx-form-notice { background: rgba(255,255,255,.12); color: inherit; border-color: rgba(255,255,255,.3); }
.tx-pager { display: flex; justify-content: space-between; margin-top: 2rem; font-weight: 600; }
.tx-pager a { color: var(--cta, #9B2C2C); text-decoration: none; }
.article-body .wp-block-image, .article-body figure.wp-block-image { margin: 1.5rem 0; }
.article-body .wp-block-image img { height: auto; border-radius: 8px; }
.article-body .wp-block-image figcaption { font-size: .75rem; color: var(--muted, #4E5D6E); margin-top: .5rem; }
.article-body .wp-block-gallery { margin: 1.5rem 0; }
.article-body .wp-block-quote { border-left: 3px solid var(--cta, #9B2C2C); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; }
.article-body .wp-block-table table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-body .wp-block-table td, .article-body .wp-block-table th { border-bottom: 1px solid var(--line, #DCE3EB); padding: .6rem .75rem; text-align: left; }
.article-body .wp-block-buttons { margin: 1.5rem 0; }
.article-body .wp-block-embed { margin: 1.5rem 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- v1.0.3 (10 Nov 2026) ---- */

/* Fonts with full Greek support (Archivo / Libre Franklin have no Greek letters, so Greek fell back to system fonts).
   html:root beats the :root block in the home page's own CSS. */
html:root {
  --font-display: 'Commissioner', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Inter', system-ui, sans-serif;
}

/* Images that now carry width/height attributes keep their proportions. */
:where(img[width][height]) { height: auto; }

/* Never scroll sideways on phones. */
html, body { overflow-x: clip; }

/* Phones: header items fit in 375 px (the menu button was pushed 20 px off-screen). */
@media (max-width: 768px) {
  body .header .header-inner { padding: 0 1rem; gap: 0.75rem; }
  body .header .header-actions { gap: 0.75rem; }
  body .header .logo-img { height: 32px; }
  body .header .menu-toggle { margin-right: -0.5rem; }
}

/* "Skip to content" link for keyboard users — visible only when focused. */
.skip-link:focus {
  position: fixed !important; top: 0.5rem; left: 0.5rem; z-index: 1000;
  width: auto; height: auto; clip: auto; overflow: visible;
  padding: 0.6rem 1rem; background: #08315f; color: #fff; border-radius: 6px; font-weight: 600; text-decoration: none;
}

/* ---- v1.0.5: call / quote bar on phones ---- */
.tx-actionbar { display: none; }
@media (max-width: 768px) {
  .tx-actionbar {
    display: flex; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line, #DCE3EB);
    box-shadow: 0 -4px 16px rgba(10, 27, 48, 0.08);
  }
  .tx-actionbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 48px; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  }
  .tx-actionbar-call { border: 2px solid #08315f; color: #08315f; }
  .tx-actionbar-quote { background: var(--cta, #9B2C2C); color: #fff; }
  .tx-actionbar-chat { border: 2px solid #08315f; color: #08315f; }
  body { padding-bottom: 72px; }
  body .cookieadmin_re_consent { bottom: 84px; }
}

/* ---- v1.0.6 (16 Nov 2026): phone/tablet hero, partner logos, wide screens ---- */

/* Phones and tablets: text first on a light background, then the photo uncovered (no white wash over the machines). */
@media (max-width: 1024px) {
  body .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: var(--paper, #F7F9FC); }
  body .hero .hero-photo { position: relative; inset: auto; order: 2; height: clamp(220px, 56vw, 420px); }
  body .hero .hero-photo img { object-position: 70% 72%; }
  body .hero .hero-wash { display: none; }
  body .hero .hero-inner { order: 1; padding-top: 40px; padding-bottom: 28px; }
  body .hero .hero-desc { margin-bottom: 28px; }
  body .hero .hero-phone { padding-bottom: 0; }
}
/* Wide screens: content up to 1440 px (was 1320 px everywhere). */
@media (min-width: 1600px) { html:root { --max-width: 1440px; } }

/* Partner logos: clean transparent files, same height, in colour, each linking to its brand in the catalogue. */
body .brands-strip { gap: 20px 40px; }
body .brands-strip .brand-item, body .brands-strip .brand-name { display: flex; align-items: center; height: 48px; text-decoration: none; transition: opacity .2s ease; }
body .brands-strip .brand-logo-img { height: 40px; width: auto; max-width: 150px; max-height: none; object-fit: contain; filter: none; opacity: 1; }
body .brands-strip .brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: 0.01em; color: #08315f; }
body .brands-strip a:hover { opacity: 0.7; }
@media (max-width: 768px) {
  body .brands-strip { gap: 16px 28px; }
  body .brands-strip .brand-logo-img { height: 32px; max-width: 120px; }
  body .brands-strip .brand-name { font-size: 18px; }
}