/*
 * The "AI social media tool" page (lib/native/pages/ai-social-media-content.ts):
 * structure only. The old page's own custom CSS had nothing to carry for the
 * classes kept (they are new), except the eyebrow's rule colour and the
 * footer it hid. Sizes, spacing, colours and type are measured from the
 * captured page: gen/ai-social-media-content.css, loaded after.
 */
.z-page--aisocial img { max-width: 100%; height: auto; }

/* As the old page: no site footer (it hid Astra's with #colophon {display: none}),
 * only its own copyright line; pageBody leaves it out ({ footer: false }) and
 * the scroll-to-top button stays, as it did. */

/* The eyebrow's rule is green on this page (.top-line .in::before). */
.z-page--aisocial .z-eyebrow > span::before { background: #34d399; top: 11px; }

/* Dark sections. */
.z-shero,
.z-sclose,
.z-sfoot { color: #fff; }

/* The one-line promises and check lines: icons sit on the middle of the line. */
.z-sspec img,
.z-page--aisocial .z-checks img { display: inline-block; vertical-align: middle; }

/* Rows placed by measurement, as on the other landing page: children share a
 * line from 768px (the old 50% columns), else they stack. */
.z-srow {
  display: grid;
  grid-template-columns: 100%;
}
.z-srow > * { grid-column: 1; min-width: 0; }
@media (min-width: 768px) {
  .z-ssteps__row > *,
  .z-sfoot__row > * { grid-row: 1; }
}
@media (min-width: 770px) {
  .z-sclose__row > * { grid-row: 1; }
}
.z-sstep__shot img,
.z-sclose__art img { display: block; width: 100%; }
.z-sclose__art { align-self: start; }

/* The phone version of the first step: the scan box on a dark panel, padded
 * in viewport units as the old widget was (16vw 2vw 15vw). */
.z-page--aisocial .z-sstep__try { padding: 16vw 2vw 15vw; background-color: #1e0a3c; border-radius: 5px; color: #fff; }
.z-sstep__spec { display: block; }

/* The closing scan box: from 1281px the old widget kept 18% of the column
 * free on its right; the box (650px at most) is centred in what is left. */
@media (min-width: 1281px) {
  .z-sclose__picker { padding-right: 18%; }
}
/* The trial line that sat above the closing box on computers is gone
 * (owner, 2026-11-13: the box's own line under it says the same); it also
 * held the room above the box, so the box keeps that room itself. */
@media (min-width: 770px) {
  .z-page--aisocial .z-sclose .z-sclose__picker { margin-top: 40px; }
}

/* The old page hid the header's Log In on this page (a landing page: one
 * call to action, Try Zylo); kept. */
.z-page--aisocial .z-header__login { display: none; }

/* The copyright line's links. */
.z-sfoot__legal a { color: #fff; }

/* ---- Carousels (behaviour in site.js, structure in site.css): six posts to a view ---- */
.z-carousel__slide {
  width: calc((100% - 50px) / 6);
}
/* Six to a view the posts fill their slide; one to a view they keep their own size at most, as Swiper drew them. */
@media (min-width: 770px) {
  .z-carousel__slide img { width: 100%; }
}
/* One post at a time on phones and tablets (Elementor's tablet setting).
 * FIXED OLD BUG (inconsistency): at exactly 769px the old phone carousel
 * showed six tiny posts; it shows one, as at 768px. */
@media (max-width: 769px) {
  .z-carousel__slide { width: 100%; }
}
/* At 768px the old post (its own 640px) sat in the middle of the full-width strip. */
@media (min-width: 768px) and (max-width: 769px) {
  .z-carousel__slide img { margin: 0 auto; }
}

/* On a computer the line above the hero box is gone (owner, 2026-11-04), so
 * the box takes that line's measured top margin (gen: .z-shero__spec.z-d)
 * instead of sitting on the paragraph. #z-main outranks the gen file's
 * margin, which is loaded after this one. Phones keep their line and margin. */
@media (min-width: 770px) { #z-main .z-shero__picker { margin-top: 46px; } }
@media (min-width: 1367px) { #z-main .z-shero__picker { margin-top: 53px; } }
