/*
 * AG pilot, client feedback round: MOBILE SIMPLIFICATION and the people-photo crop. Loaded after the captured stylesheet and ag-shop.css. Brand, colours, fonts, wording and the interactions are untouched.
 * Every rule below is mobile-only (max-width 767px) unless it says otherwise; each numbered change is documented in docs/cloud/AG_CLIENT_FEEDBACK.md.
 */

/* C1 (all widths): photographs of people keep the HEAD in the frame. The cards crop a 9:16 portrait to 5:6; a centred crop cut the top of the man's head, so the crop is anchored to the top. */
.ag-people-photo { object-position: 50% 10%; }
.ag-people-tile { background-position: 50% 10% !important; }
/* E1 (all widths): a concert without a ticket link shows a calm, non-interactive label in the shape of the existing buttons */
.standartbutton.ag-soon { cursor: default; pointer-events: none; opacity: .6; border-style: dashed; }
/* B1 (all widths): the booking sentence is its own paragraph with the section's own paragraph style */

@media (max-width: 767px) {
  /* M1 shop lists: two even columns instead of one very long column; one picture ratio; name and price stay under each picture */
  .product7_list { grid-template-columns: 1fr 1fr; grid-column-gap: 12px; grid-row-gap: 28px; }
  .product7_image-wrapper { padding-top: 125%; }
  .product7_item-link .text-size-medium { font-size: .92rem; line-height: 1.3; }
  .product7_item-link .text-size-large { font-size: .95rem; }
  .product7_item-link .margin-bottom { margin-bottom: .4rem; }
  .section-product7 .padding-vertical { padding-top: 1.5rem; padding-bottom: 2.5rem; }
  .heading-108 { margin-bottom: 1.25rem; }

  /* M2 home: merchandise and album tiles in a compact two-column grid (the odd third tile is centred) instead of three full-width pictures */
  .collection-list, .collection-list-2 { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row; grid-column-gap: 10px; grid-row-gap: 10px; min-height: 0; margin-top: 20px; padding: 0; }
  .collection-item { aspect-ratio: 4 / 5; min-height: 0; height: auto; }
  .collection-item-2 { aspect-ratio: 1 / 1; min-height: 0; margin-top: 0; }
  .collection-list > .collection-item:last-child:nth-child(odd), .collection-list-2 > .collection-item-2:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }

  /* M3 calmer rhythm between the home sections */
  .container-138.cc-margin-bottom { margin-bottom: 24px; }
  .section-6 { padding-top: 20px; padding-bottom: 20px; }
  .container-1282 .w-embed-youtubevideo { margin-top: 28px; }
  .section-4.reverse-color { padding-top: 36px; padding-bottom: 36px; }

  /* M4 concerts: tighter cards, the photograph behind them stays */
  .datesline { margin-top: 28px; margin-bottom: 8px; padding-bottom: 20px; }
  .cz.cz-dates { padding-top: 56px; }

  /* M5 about page: long paragraphs are left-aligned (centred long lines are hard to read) */
  .section-8 .text-16-60 { text-align: left; }

  /* M6 footer: link groups in two columns instead of one tall column */
  .footer2_left-wrapper { grid-template-columns: 1fr 1fr; grid-column-gap: 16px; grid-row-gap: 24px; }
  .footer2_logo-link { grid-column: 1 / -1 !important; }
  .footer2_top-wrapper { grid-row-gap: 24px; }
  .padding-bottom.padding-xxlarge { padding-bottom: 24px; }

  /* M7 navigation (open menu): the booking button and the cart sit in one row; tap targets stay at least 48px */
  .navbar12_menu-buttons { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
  .navbar12_menu-buttons .nav-link { flex: 1 1 auto; text-align: center; }
  .navbar12_menu-buttons .cart_menu-wrapper { flex: none; }
  .navbar12_link { min-height: 48px; }

  /* M8 music page only (the two blocks exist nowhere else): side space for the live video, headings and video cards; the YouTube channel button is centred */
  .pd-live > .container-1281, .pd-youtube > .container-1281 { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  .pd-youtube a.pd-ghost { display: block; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; box-sizing: border-box; }
}
@media (max-width: 340px) { .product7_list { grid-template-columns: 1fr; } }

/* I1 Owner photographs (home hero: solo photograph; booking section: band photograph). Responsive crops keep the faces in frame; the hero gets a dark veil so the white heading and button stay legible on the bright photograph. */
.section-home-header .header30_background-image { object-position: 63% 40%; }
.section-home-header .header30_background-image-wrapper::after { content: ""; position: absolute; inset: 0; border-radius: 30px; background: linear-gradient(#00000066, #00000066); }
.short-image.ag-band-photo { object-position: 50% 30%; }

/* H1 Home hero box: the source gives the box 4rem on the left and nothing on the right, so the text touched the right edge. Equal inner space left and right (the box, photo, veil and button are unchanged); long lines wrap inside the box. */
.section-home-header .padding-vertical.padding-xhuge { padding-right: 4rem; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; }
@media (max-width: 479px) { .section-home-header .padding-vertical.padding-xhuge { padding-right: 1rem; } }

/* ---- hotfix 30.11.2026 (seen on a real Android phone) ---- */
/* Home, introduction: the framework gives the photograph "height: 75%" of a cell that has no height of its own. The browser then sizes the stacked grid before it knows the photograph's final
   height, the grid ends up shorter than its rows and the end of the introduction runs under the "AG MERCH" heading (depending on the phone's width AND height, and more with larger text).
   The cell now states the height it already had (the photograph's own height: 1.25 x its width, which is the screen width, at most 50vh), so the photograph and the text stay exactly where they
   were and only the grid becomes as tall as its content. */
@media (max-width: 479px) {
  .quick-stack-2 > .cell:first-child { height: min(125vw, 62.5vh); }
}
/* The two legal pages on a phone: one layout for both. Sizes are in rem (16px by default), so the reader's own text size setting keeps working. */
@media (max-width: 767px) {
  h1.heading-111, h1.heading-112, h1.heading-111 ~ .w-richtext, h1.heading-112 ~ .w-richtext { box-sizing: border-box; padding-left: 20px; padding-right: 20px; }
  h1.heading-111 ~ .ag-review-note, h1.heading-112 ~ .ag-review-note { margin-left: 20px; margin-right: 20px; }
  h1.heading-111, h1.heading-112 { margin: 24px 0 0; font-size: clamp(1.75rem, 8vw, 2rem); line-height: 1.2; text-align: left; overflow-wrap: break-word; }
  h1.heading-111 ~ .w-richtext, h1.heading-112 ~ .w-richtext { margin-top: 20px; padding-bottom: 32px; font-size: 1rem; line-height: 1.6; text-align: left; overflow-wrap: break-word; }
  h1.heading-111 ~ .w-richtext h4, h1.heading-112 ~ .w-richtext h4 { margin: 28px 0 12px; font-size: 1.375rem; line-height: 1.3; }
  h1.heading-111 ~ .w-richtext p, h1.heading-112 ~ .w-richtext p { margin: 0 0 12px; line-height: 1.6; }
  h1.heading-111 ~ .w-richtext ul, h1.heading-112 ~ .w-richtext ul, h1.heading-111 ~ .w-richtext ol, h1.heading-112 ~ .w-richtext ol { margin: 0 0 16px; padding-left: 22px; }
  h1.heading-111 ~ .w-richtext li, h1.heading-112 ~ .w-richtext li { margin: 0 0 8px; line-height: 1.6; }
  h1.heading-111 ~ .w-richtext > :first-child, h1.heading-112 ~ .w-richtext > :first-child { margin-top: 0; }
}
