/* Sora (SIL Open Font License), the font the WordPress theme used. Self-hosted, so no visitor data goes to Google. */
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("/assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Agentara site styles.
   Recreates the look of the former WordPress theme (dark background, cream text)
   and the WordPress block classes used inside the pages. */
:root {
  --dark: #141e24;      /* WordPress "Secondary" */
  --cream: #fef4ee;     /* WordPress "Background" (used as the text colour) */
  --black: #000;
  --light: #f0f0f0;
  --wide: 1400px;
  --content: 645px;
  --font: "Sora", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --wp--preset--spacing--40: 2rem;
  --wp--preset--spacing--50: 3rem;
  --wp--preset--spacing--80: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dark); color: var(--cream); font: 18px/1.6 var(--font); }
img, video { max-width: 100%; height: auto; }
a { color: var(--cream); }
h1, h2, h3, h4 { color: var(--cream); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }

/* ---------- Header bar (logo + menu in a rounded dark box) ---------- */
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--dark); border: 1px solid var(--cream); border-radius: 20px; padding: 22px;
  margin: 20px auto; font-size: 1.15rem; position: relative; z-index: 2; }
.site-logo img { display: block; width: 154px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--cream); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Page layout (all pages except home) ---------- */
.page-shell { padding: 0 20px; }
.page-box { background: var(--dark); border-radius: 20px; padding: 0 20px 6rem; }
.page-title { font-size: clamp(2rem, 4vw, 2.6rem); max-width: var(--content); margin: 6rem auto 1.5rem; }
.page-content { font-size: 20px; }
.page-content > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.page-content > .alignwide { max-width: var(--wide); }
.page-content > .alignfull { max-width: none; }
.page-content > div[class^="ag-"], .page-content > div[class^="agentara-"] { max-width: var(--wide); }

/* ---------- WordPress block classes ---------- */
.alignwide { max-width: var(--wide); margin-left: auto; margin-right: auto; width: 100%; }
.alignfull { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.aligncenter img { margin: 0 auto; }
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-secondary-background-color { background-color: var(--dark); }
.has-custom-purple-background-color, .has-custom-green-background-color, .has-custom-orange-background-color { background-color: var(--dark); }
.has-white-background-color { background-color: #fff; }
.has-background-background-color { background-color: var(--cream); }
.has-secondary-color { color: var(--dark) !important; }
.has-secondary-color a { color: var(--dark); }
.has-background-color { color: var(--cream); }
.has-white-color { color: #fff; }
.has-background-border-color { border-color: var(--cream) !important; border-style: solid; }
.has-small-font-size { font-size: .9rem; }
.has-medium-font-size { font-size: 1.15rem; }
.has-large-font-size { font-size: 1.6rem; }
.has-x-large-font-size { font-size: 2.4rem; }
.wp-block-group { box-sizing: border-box; }
.wp-block-spacer { clear: both; }
.wp-block-separator { border: 0; border-top: 1px solid currentColor; opacity: .4; margin: 2em auto; }
.wp-block-image { margin: 0 0 1em; }
.wp-block-image img { display: block; }
.is-style-rounded img { border-radius: 9999px; }
.wp-block-columns { display: flex; gap: 2em; margin-bottom: 1.75em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center, .is-vertically-aligned-center { align-self: center; }
.wp-block-list { padding-left: 1.3em; }
.wp-block-buttons { display: flex; gap: .5em; flex-wrap: wrap; }
.wp-block-button__link { display: inline-block; background: var(--dark); color: var(--cream); border-radius: 9999px;
  padding: .7em 1.6em; text-decoration: none; font-weight: 600; }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 1em; min-height: 430px; }
.wp-block-cover__image-background, .wp-block-cover__video-background { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; max-width: none; z-index: 0; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; opacity: .5; }
.has-background-dim-0 { opacity: 0 !important; }
.has-background-dim-10 { opacity: .1 !important; }
.has-background-dim-20 { opacity: .2 !important; }
.wp-block-cover__inner-container { position: relative; z-index: 1; width: 100%; color: inherit; }
.wp-block-cover.is-light .wp-block-cover__inner-container { color: var(--dark); }
.is-style-section-1 { background: var(--dark); }
.is-testimonial-name { font-weight: 400; }

/* Home: the header bar sits inside the hero picture */
.layout-home .wp-block-cover .site-bar { margin-top: 0; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 16px; max-width: 480px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; }
.contact-form .req { font-weight: 400; opacity: .7; font-size: .85rem; }
.contact-form input, .contact-form textarea { font: 1rem var(--font); padding: 10px 12px; border: 1px solid #ccc;
  border-radius: 5px; background: #fff; color: #111; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cream); outline-offset: 2px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; opacity: .75; margin: 0; }
.form-button { justify-self: start; background: #fff; color: var(--dark); border: 0; border-radius: 9999px;
  padding: 12px 30px; font: 1rem var(--font); cursor: pointer; }
.form-button:hover { opacity: .85; }
.form-button[disabled] { opacity: .5; cursor: wait; }
.form-status { min-height: 1.4em; margin: 0; font-size: 1rem; }
.form-done { max-width: 480px; padding: 28px; border: 1px solid var(--cream); border-radius: 20px; }
.form-done h2 { font-size: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 20px 140px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--cream); padding-top: 30px; }
.footer-links { display: flex; flex-direction: column; gap: 1vh; }
.footer-links a { color: var(--cream); }
.footer-company { text-align: right; }
.footer-company p { margin: 0 0 8px; }
.footer-mark { display: block; margin: 0 0 15px auto; max-width: 160px; filter: brightness(0) invert(1); }
.social { display: flex; gap: 12px; justify-content: flex-end; }
.social a { color: var(--cream); display: inline-flex; }
.copyright { margin-top: 20px; }

@media (max-width: 781px) {
  .wp-block-columns { flex-direction: column; }
  body { font-size: 16px; }
  .page-content { font-size: 17px; }
  .page-title { margin-top: 3rem; }
  .footer-company { text-align: left; }
  .footer-mark { margin-left: 0; }
  .social { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .wp-block-heading[style*="font-size:5rem"] { font-size: 2.6rem !important; }
  .wp-block-cover[style*="min-height:1100px"] { min-height: 56vw !important; }
}

/* Contact page: the WordPress layout kept the text and form in a centred 480px column */
.page-content > .alignfull > .wp-block-group { max-width: 480px; margin: 0 auto; }
.contact-form label { display: block; }
.contact-form label input, .contact-form label textarea { margin-top: 6px; }

/* Home: "Trusted by" logos sit in one centred row */
.wp-block-cover__inner-container > .wp-block-group.alignfull { display: flex; justify-content: center; align-items: flex-start; flex-wrap: nowrap; gap: 1.5em; }
.wp-block-cover__inner-container > .wp-block-group.alignfull > .wp-block-spacer { flex: 1 1 0; }
.wp-block-cover__inner-container > .wp-block-group.alignfull > figure { margin: 0; flex: none; }

/* ---------- Cookie banner and preferences ---------- */
.cookie-settings-link { font: inherit; color: var(--cream); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 40; left: 50%; bottom: max(8px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(680px, calc(100% - 24px)); background: var(--cream); color: var(--dark); border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35); font-size: 15px; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { color: var(--dark); font-size: 18px; margin: 0 0 6px; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-banner a { color: var(--dark); }
.cookie-banner-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cookie-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 240px; max-width: 100%; }
.cookie-btn { font: 600 15px var(--font); min-height: 42px; padding: 8px 14px; border-radius: 9999px; cursor: pointer;
  background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.cookie-btn.primary { background: var(--dark); color: var(--cream); }
.cookie-preferences { border: 0; border-radius: 20px; padding: 28px; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  overflow: auto; background: var(--cream); color: var(--dark); font-size: 16px; }
.cookie-preferences::backdrop { background: rgba(0,0,0,.55); }
.cookie-preferences h2 { color: var(--dark); font-size: 26px; margin: 0; }
.cookie-preferences-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.cookie-close { font-size: 28px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--dark); min-width: 44px; min-height: 44px; }
.cookie-preference-row { display: grid; grid-template-columns: 20px 1fr; gap: 14px; border-top: 1px solid #d8cfc8; padding: 16px 0; }
.cookie-preference-row input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--dark); }
.cookie-preference-row p { margin: 4px 0 0; font-size: 14.5px; }
.cookie-preferences-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
@media (max-width: 540px) {
  .cookie-banner-bottom { flex-direction: column-reverse; align-items: stretch; }
  .cookie-choices { width: 100%; }
  .cookie-preferences-actions { grid-template-columns: 1fr; }
}
@media print { .cookie-banner { display: none; } }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9em; margin-bottom: 1.5em; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid rgba(254,244,238,.3); }
@media (max-width: 700px) { .cookie-table { display: block; overflow-x: auto; font-size: .8em; } .cookie-table td, .cookie-table th { overflow-wrap: anywhere; min-width: 90px; } }
.page-content .cookie-settings-link { font-size: inherit; }

/* ---------- Home hero: edge to edge, content centred like WordPress ---------- */
.layout-home main > .wp-block-group:first-child > .wp-block-cover.alignfull { margin-left: -20px; margin-right: -20px; width: auto; }
.wp-block-cover__inner-container > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.wp-block-cover__inner-container > .alignwide,
.wp-block-cover__inner-container > .alignfull { max-width: var(--wide); }
.wp-block-cover__inner-container > .cta-button-container,
.wp-block-cover__inner-container > style { max-width: none; }
.wp-block-cover__inner-container > .wp-block-group.alignfull { justify-content: space-between; align-items: center; }
.wp-block-cover__inner-container > .wp-block-group.alignfull > .wp-block-spacer { display: none; }
.wp-block-cover__inner-container > .wp-block-group.alignfull { padding: 0 20px; }
@media (max-width: 600px) { .wp-block-site-tagline { font-size: 1.3rem !important; } }

/* Testimonial: centred column, as in WordPress */
.is-style-section-1 { padding-left: 20px; padding-right: 20px; }
.is-style-section-1 > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.is-style-section-1 .is-service-name { font-size: 1.1rem; line-height: 1.75; }
.is-style-section-1 .is-testimonial-name { font-size: 1.5rem; line-height: 1.3; }
.is-style-section-1 .is-service-name { font-weight: 300; margin-top: 1.5em; }
@media (max-width: 600px) {
  .wp-block-cover__inner-container > .wp-block-group.alignfull { flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .wp-block-cover__inner-container > .wp-block-group.alignfull img { max-width: 150px; }
}

/* Sparkasse logo: its letters sit low in the image, so lift it to line up optically with the other logos */
img.wp-image-553 { position: relative; top: -5px; }

/* Home: one plain sentence under the tagline saying what Agentara is */
.hero-about { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: .85; }
@media (max-width: 600px) { .hero-about { font-size: .95rem; } }

/* ========== DESIGN UPDATE (Dec 2026) ========== */
/* ===== P1 Hero: moving gradient, tighter type, calmer logo strip ===== */
html .layout-home .wp-block-cover:first-of-type .wp-block-cover__image-background { opacity: 0; }
html .layout-home main > .wp-block-group:first-child > .wp-block-cover { background: linear-gradient(120deg, #cdc8fb 0%, #c7c3fb 30%, #b2aafb 55%, #a398f9 75%, #c9c4fa 100%); background-size: 200% 200%; animation: p1move 14s ease infinite; }
@keyframes p1move { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
html h1.wp-block-heading { letter-spacing: -0.035em; line-height: 1.02; }
html .wp-block-site-tagline { opacity: .8; }
html .wp-block-cover__inner-container > p.has-text-align-center strong { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
html .wp-block-cover__inner-container > .wp-block-group.alignfull { max-width: 820px; padding: 14px 40px; }
html .wp-block-cover__inner-container > .wp-block-group.alignfull img { filter: grayscale(1) contrast(1.2); opacity: .8; }

/* ===== P2 Services: left-aligned text, lighter panels, image glow ===== */
html .agentara-services .section-container, html .agentara-visual-services .section-container, html .agentara-explainer-services .section-container {
  background: linear-gradient(180deg, #1b2830, #16222a); border: 1px solid rgba(254,244,238,.08); border-radius: 28px; padding: 40px; margin: 28px auto; }
html [class^="agentara-"][class$="services"] .content-container { text-align: left; }
html [class^="agentara-"][class$="services"] .buttons-container { justify-content: flex-start; }
html [class^="agentara-"][class$="services"] .heading { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.03em; }
html [class^="agentara-"][class$="services"] .subtitle { color: #b7aeff; font-weight: 600; }
html [class^="agentara-"][class$="services"] .slider-container { box-shadow: 0 30px 80px -20px rgba(143,123,255,.55); border-radius: 22px; }

/* ===== P3 Feature cards: purple accent, glow, hover lift ===== */
html .layout-home .wp-block-columns .wp-block-group.has-border-color { border: 1px solid rgba(183,174,255,.35) !important; background: radial-gradient(120% 120% at 50% 0%, rgba(143,123,255,.22), rgba(20,30,36,0) 60%), #18242c !important;
  box-shadow: 0 20px 60px -30px rgba(143,123,255,.6); transition: transform .3s, box-shadow .3s; }
html .layout-home .wp-block-columns .wp-block-group.has-border-color:hover { transform: translateY(-6px); }

html .layout-home .wp-block-columns .wp-block-group.has-border-color h2 { font-weight: 600 !important; }

/* ===== P4 Highlights: bigger cards, readable captions, link to portfolio ===== */
html .agentara-highlighted-works .section-container { max-width: 1400px; }
html .agentara-highlighted-works .portfolio-item { border-radius: 20px; padding-bottom: 125%; }
html .agentara-highlighted-works .portfolio-item::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); }
html .agentara-highlighted-works .portfolio-caption { font-size: 20px; left: 24px; bottom: 22px; right: 24px; }
html .more-link { display: block; text-align: center; margin: 10px 0 40px; }
html .more-link a { display: inline-block; border: 2px solid #fef4ee; border-radius: 9999px; padding: 12px 28px; font-weight: 700; text-decoration: none; }

/* ===== P5 CTA band before the footer ===== */
html .cta-band { display: block; margin: 40px 20px 0; border-radius: 28px; padding: 64px 24px; text-align: center; color: #141e24;
  background: linear-gradient(120deg, #e4e0ff, #a99cff 60%, #8f7bff); }
html .cta-band h2 { color: #141e24; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; margin: 0 0 12px; }
html .cta-band p { font-size: 1.15rem; margin: 0 0 26px; }
html .cta-band a { display: inline-block; background: #000; color: #fff; border-radius: 9999px; padding: 14px 32px; font-weight: 700; text-decoration: none; }

/* ===== P6 Compact footer ===== */
html .site-footer { padding: 48px 20px 32px; }
html .footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 32px; }
html .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; grid-column: 2; grid-row: 1; }
html .footer-links a, html .footer-links button { text-decoration: none; opacity: .85; }
html .footer-company { text-align: left; grid-column: 1; grid-row: 1; }
html .footer-mark { margin: 0 0 14px; max-width: 48px; }
html .social { justify-content: flex-start; }
html .p6-col h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin: 0 0 10px; }
html .copyright { border-top: 1px solid rgba(254,244,238,.15); padding-top: 18px; opacity: .7; }


/* ===== P8 Sticky glass header (appears after scrolling down) ===== */
.sticky-bar { display: none; }
html .sticky-bar { display: flex; position: fixed; top: 10px; left: 20px; right: 20px; width: auto; margin: 0 auto; max-width: 1400px; box-sizing: border-box; z-index: 35;
  background: rgba(20,30,36,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(254,244,238,.3);
  padding: 12px 22px; transform: translateY(-120%); transition: transform .35s ease; }
html .sticky-bar.is-shown { transform: none; }
html .site-nav a:last-child { background: #fef4ee; color: #141e24; border-radius: 9999px; padding: 6px 16px; text-decoration: none; }

/* ===== P10 Gentle fade-in on scroll ===== */
html .fade-in { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
html .fade-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html .fade-in { opacity: 1; transform: none; transition: none; } html .wp-block-cover { animation: none !important; } }

/* ===== P9 Mobile: one-row header, calmer hero type, full-width buttons ===== */
@media (max-width: 600px) {
  html .site-bar { flex-wrap: nowrap; padding: 12px 16px; margin: 12px auto; border-radius: 16px; }
  html .site-logo img { width: 112px; }
  html .site-nav { gap: 14px; font-size: .95rem; }
  html h1.wp-block-heading { font-size: 2.6rem !important; letter-spacing: -.03em; line-height: 1.05; }
  html .wp-block-site-tagline { font-size: 1.1rem !important; }
  html .wp-block-cover:first-of-type { min-height: 0 !important; padding-bottom: 32px; }
  html [class^="agentara-"][class$="services"] .buttons-container a { width: 100%; }
}
html .layout-home .wp-block-columns .wp-block-group.has-border-color img { mix-blend-mode: lighten; }


/* ===== P11 Portfolio gallery: tall reels and wide videos mixed in even rows ===== */
/* Each card's width follows its shape (--ar = width/height), so every row has one height and fills the line. */
html #ag-root { display: flex !important; flex-wrap: wrap; gap: 14px; }
html #ag-root .ag-filters { flex: 0 0 100%; order: -1; margin-bottom: 16px; }
html #ag-root::after { content: ''; flex: 1e4 1 0; order: 9999; }
html #ag-root .ag-card { --ar: 1.7778; flex: var(--ar) 1 calc(var(--ar) * var(--row-h, 300px)); max-width: none !important; width: auto; margin: 0 !important; border-radius: 14px; }
html #ag-root .ag-card.cat-reel { --ar: .5625; }
html #ag-root .ag-title { font-size: 17px !important; }
html #ag-root .ag-card.cat-reel .ag-title { font-size: 15px !important; }
html #ag-root .ag-card.cat-reel .ag-overlay { padding: 30px 12px 12px; }
html #ag-root .ag-card.cat-reel .ag-ai-badge { top: 8px; right: 8px; }
@media (max-width: 1100px) { html #ag-root { --row-h: 240px; } }
@media (max-width: 700px) { html #ag-root { --row-h: 190px; gap: 10px; } html #ag-root .ag-title { font-size: 14px !important; } html #ag-root .ag-card.cat-reel .ag-title { font-size: 13px !important; } }

/* ----- Polish (Dec 2026, round 2) ----- */
/* Hero: taller, so the text has room to breathe */
html .layout-home main > .wp-block-group:first-child > .wp-block-cover { min-height: 830px !important; padding-bottom: 24px; }
html .layout-home .wp-block-cover h1.wp-block-heading { margin-top: 16px; }
/* "Trusted by": lower and lighter */
html .wp-block-cover__inner-container > p.has-text-align-center strong { font-weight: 500; }
html .wp-block-cover__inner-container > p.has-text-align-center:has(> strong) { margin-top: 32px; }
/* Portfolio: centred heading and filter buttons */
.page-title.is-centered { text-align: center; }
html #ag-root .ag-filters { justify-content: center; }
@media (max-width: 600px) {
  html .layout-home main > .wp-block-group:first-child > .wp-block-cover { min-height: 0 !important; padding-bottom: 40px; }
  html .layout-home .wp-block-cover h1.wp-block-heading { margin-top: 16px; }
  html .wp-block-cover__inner-container > p.has-text-align-center:has(> strong) { margin-top: 36px; }
  html .agentara-services .section-container, html .agentara-visual-services .section-container, html .agentara-explainer-services .section-container { padding: 20px; margin: 20px 12px; border-radius: 22px; }
}
/* Portfolio: heading, buttons and video grid share one centred column, as wide as the header bar */
.page-box:has(#ag-root) { padding-left: 0; padding-right: 0; }
.page-box:has(#ag-root) .page-title { max-width: none; margin-bottom: 28px; }
html #ag-root .ag-filters { margin: 0 0 26px; }
html #ag-root { max-width: var(--wide); margin-left: auto; margin-right: auto; }
