/* Blocks produced by the Elementor conversion. */

/* Service / feature boxes (converted from Elementor icon-box). */
.amx-iconbox { background: #fff; border: 1px solid var(--amx-line); border-radius: var(--amx-radius-lg); padding: var(--amx-space-4); display: flex; flex-direction: column; gap: var(--amx-space-2); height: 100%; }
.amx-iconbox__icon img { width: 56px; height: 56px; object-fit: contain; }
.amx-iconbox__title { font-size: var(--amx-step-1); margin: 0; color: var(--amx-navy); }
.amx-iconbox__title a { color: inherit; text-decoration: none; }
.amx-iconbox__title a:hover { color: var(--amx-blue); }
.amx-iconbox__text { color: var(--amx-muted); }
.amx-iconbox__text p:last-child { margin-bottom: 0; }

/* Stats row (converted from Elementor counter). */
.amx-stats { text-align: left; }
.amx-stat { background: var(--amx-bg-soft); border-radius: var(--amx-radius-lg); padding: var(--amx-space-4); }
.amx-stat__num { font-size: var(--amx-step-3); font-weight: 700; color: var(--amx-navy); margin: 0 0 var(--amx-space-1); line-height: 1.1; }
.amx-stat__label { margin: 0; color: var(--amx-muted); }

/* Call to action band. */
.amx-cta { background: var(--amx-navy); color: #fff; border-radius: var(--amx-radius-lg); padding: var(--amx-space-5); margin-block: var(--amx-space-4); }
.amx-cta h3 { color: #fff; }
.amx-cta p { color: rgba(255,255,255,.9); }

/* Scrolling services strip, now a plain wrapped list. */
.amx-service-strip { display: flex; flex-wrap: wrap; gap: var(--amx-space-2) var(--amx-space-4); background: var(--amx-navy-900); color: #fff; padding: var(--amx-space-3) var(--amx-space-4); border-radius: var(--amx-radius); margin-block: var(--amx-space-4); list-style: none; }
.amx-service-strip li { position: relative; padding-left: 1rem; }
.amx-service-strip li::before { content: "\203A"; position: absolute; left: 0; opacity: .7; }
.amx-service-strip a { color: #fff; text-decoration: none; }
.amx-service-strip a:hover { text-decoration: underline; }

/* Bulleted feature lists (converted from icon-list). */
.amx-list { display: grid; gap: var(--amx-space-2); margin-block: var(--amx-space-3); }
.amx-list li { position: relative; padding-left: 1.5rem; }
.amx-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amx-red); }

/* Images inside content. */
.amx-figure { margin: var(--amx-space-4) 0; }
.amx-figure img { border-radius: var(--amx-radius-lg); width: 100%; }

/* Accordions (converted from nested-accordion). */
.amx-accordion { border: 1px solid var(--amx-line); border-radius: var(--amx-radius); padding: var(--amx-space-3) var(--amx-space-4); margin-bottom: var(--amx-space-2); background: #fff; }
.amx-accordion > summary { font-weight: 600; color: var(--amx-navy); cursor: pointer; }
.amx-accordion[open] > summary { margin-bottom: var(--amx-space-2); }

/* Embedded map. */
.amx-map { aspect-ratio: 16 / 9; border-radius: var(--amx-radius-lg); overflow: hidden; margin-block: var(--amx-space-4); }
.amx-map iframe { width: 100%; height: 100%; border: 0; }

/* Tables edited in the post with the Table block. Wide ones scroll inside their box on phones. */
.amx-entry .wp-block-table { margin: var(--amx-space-4) 0; overflow-x: auto; }
.amx-entry .wp-block-table table { width: 100%; font-size: 14px; line-height: 20px; color: rgba(0, 0, 0, .87); border: 1px solid rgba(34, 36, 38, .15); border-collapse: separate; border-spacing: 0; border-radius: 5px; }
.amx-entry .wp-block-table table.has-fixed-layout { table-layout: auto; }
.amx-entry .wp-block-table thead { border: 0; }
.amx-entry .wp-block-table th, .amx-entry .wp-block-table td { padding: 11px; text-align: left; vertical-align: middle; border: 0; border-top: 1px solid rgba(34, 36, 38, .1); border-left: 1px solid rgba(34, 36, 38, .1); word-break: normal; }
.amx-entry .wp-block-table .has-fixed-layout th, .amx-entry .wp-block-table .has-fixed-layout td { word-break: normal; }
.amx-entry .wp-block-table th { padding-block: 13px; font-weight: 700; border-top: 0; border-bottom: 1px solid rgba(34, 36, 38, .1); }
.amx-entry .wp-block-table tr > :first-child { border-left: 0; }
.amx-entry .wp-block-table tbody tr:first-child td { border-top: 0; }

/* Body copy rhythm inside the main entry area. */
.amx-entry h2, .amx-section h2 { margin-top: var(--amx-space-5); }
.amx-entry h3, .amx-section h3 { margin-top: var(--amx-space-4); }
.amx-entry img, .amx-section img { border-radius: var(--amx-radius); }
