.batch-hero {
    padding: 160px 0 100px;
    background-color: #03213D;
    color: #FFFFFF;
    overflow: hidden;
}

.batch-container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
}

.batch-hero__content {
    max-width: 800px;
    margin-bottom: 60px;
}

.batch-hero__title {
    font-family: sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.batch-hero__text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #FFFFFF;
}

.batch-accent {
    color: #FF8A3D;
    font-weight: 700;
}

.batch-hero__media {
    display: flex;
    justify-content: center;
}

.batch-hero__gif {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.batch-split {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.batch-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.batch-split__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.batch-heading {
    font-family: sans-serif;
    font-size: 2.25rem;
    color: #03213D;
    margin-bottom: 25px;
    line-height: 1.2;
}

.batch-body {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #03213D;
    margin-bottom: 20px;
}

.batch-features {
    padding: 100px 0;
    background-color: #E2EEF4;
}

.batch-features__inner {
    max-width: 800px;
}

.batch-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
}

.batch-list li {
    position: relative;
    padding-left: 25px;
    font-size: 1.125rem;
    color: #03213D;
}

.batch-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #54ABDF;
    font-weight: bold;
}

.batch-action {
    margin-top: 40px;
}

.batch-btn-primary {
    display: inline-block;
    background-color: #FF8A3D;
    color: #03213D;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.batch-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 138, 61, 0.4);
}

@media (max-width: 900px) {
    .batch-hero {
        padding: 120px 0 60px;
    }
    .batch-hero__title {
        font-size: 2.5rem;
    }
    .batch-split__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .batch-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .batch-hero__title {
        font-size: 2rem;
    }
    .batch-heading {
        font-size: 1.75rem;
    }
    .batch-hero {
        padding-top: 100px;
    }
}

/* A bounded local example: only the checked vehicle images receive the tag. */
main .batch-tag-demo { max-width: 1100px; margin: 0 auto; padding: 28px; border-radius: 8px; background: #E2EEF4; color: #03213D; text-align: left; font-family: 'Open Sans', sans-serif; }
main .batch-tag-demo__heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
main .batch-tag-demo__heading h2 { margin: 0; font: 600 24px/1.35 'Open Sans', sans-serif; color: #03213D; }
main .batch-tag-demo__heading > p { margin: 0; color: #50697A; font-size: 14px; line-height: 1.5; }
main .batch-tag-demo__media { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
main .batch-tag-demo__media legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main .batch-tag-demo__asset { display: block; min-width: 0; border: 2px solid #fff; border-radius: 4px; background: #fff; overflow: hidden; cursor: default; }
main .batch-tag-demo[data-render-ready="batch-tag-example"]:not([data-applied="true"]) .batch-tag-demo__asset { cursor: pointer; }
main .batch-tag-demo__asset:has(input:checked) { border-color: #216D99; }
main .batch-tag-demo__asset:has(input:focus-visible) { outline: 3px solid #03213D; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
main .batch-tag-demo__selection { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; font-size: 13px; line-height: 1.4; }
main .batch-tag-demo__selection input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #03213D; }
main .batch-tag-demo__asset img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
main .batch-tag-demo__file { display: block; margin: 12px 10px 8px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; color: #50697A; }
main .batch-tag-demo__tag { display: inline-block; margin: 0 10px 12px; padding: 4px 6px; border-radius: 3px; font-size: 12px; line-height: 1.5; color: #50697A; }
main .batch-tag-demo__asset[data-tagged="true"] .batch-tag-demo__tag { background: #B7FF3C; color: #03213D; font-weight: 600; }
main .batch-tag-demo__controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; visibility: hidden; }
main .batch-tag-demo[data-render-ready="batch-tag-example"] .batch-tag-demo__controls { visibility: visible; }
main .batch-tag-demo__operation { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
main .batch-tag-demo__target { padding: 7px 12px; background: #fff; border-radius: 3px; font-size: 15px; font-weight: 600; }
main .batch-tag-demo__controls button { min-height: 44px; padding: 10px 16px; border: 1px solid #03213D; border-radius: 4px; background: #03213D; color: #fff; font: 600 14px/1.4 'Open Sans', sans-serif; cursor: pointer; }
main .batch-tag-demo__controls .batch-tag-demo__reset { background: transparent; color: #03213D; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
main .batch-tag-demo__controls button:disabled { color: #50697A; background: #E2EEF4; border-color: #A4BFD0; cursor: default; text-decoration: none; }
main .batch-tag-demo__controls button:focus-visible { outline: 3px solid #03213D; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
main .batch-tag-demo__status { min-height: 45px; margin: 16px 0 0; font-size: 14px; font-weight: 600; line-height: 1.6; }
main .batch-tag-demo figcaption, main .batch-tag-demo__note { margin: 8px 0 0; color: #50697A; font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) {
  main .batch-tag-demo__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  main .batch-tag-demo { padding: 20px; }
  main .batch-tag-demo__heading { gap: 8px; margin-bottom: 18px; }
  main .batch-tag-demo__media { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  main .batch-tag-demo__selection { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; min-height: 56px; padding: 6px; font-size: 13px; }
  main .batch-tag-demo__selection > span { overflow-wrap: anywhere; hyphens: auto; }
  main .batch-tag-demo__file { margin: 8px 8px 6px; }
  main .batch-tag-demo__tag { max-width: calc(100% - 16px); margin: 0 8px 10px; padding: 4px 5px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
  main .batch-tag-demo__controls, main .batch-tag-demo__operation { align-items: stretch; flex-direction: column; }
  main .batch-tag-demo__controls { margin-top: 18px; }
  main .batch-tag-demo__target { align-self: flex-start; }
}
