/* Tennisclub Schlanders – 1.3.6: einheitliche Seitenbreite & Kacheln
   Begrenzt auf öffentliche Seiten; Admin/Portal/Registrierung bleiben unverändert.
   Referenz ist die zentrale Breite der bestehenden Startseite. */
@media (min-width: 851px) {
  html body.atc-approved-home-standalone:not(.atc-registration-134) .atc-approved-design .shell > main {
    width: 100% !important;
    max-width: 1180px !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
    padding: clamp(18px,2.7vw,36px) clamp(16px,2.8vw,40px) 48px !important;
  }
  html body.atc-public-subpage-3536 .atc-public-inner .atc-public-main {
    width:100% !important;
    max-width:1180px !important;
    box-sizing:border-box !important;
    margin-inline:auto !important;
  }
  /* All public sections fill the same usable inner width. */
  html body.atc-public-subpage-3536 .atc-public-inner :is(.atc-public-article,.atc-page-content,.atc-public-hub,.atc-public-hub-grid) {
    min-width:0 !important;
    max-width:100% !important;
  }
  html body.atc-public-subpage-3536 .atc-public-inner :is(.atc-public-article,.atc-page-content,.atc-public-hub) {
    width:100% !important;
    box-sizing:border-box !important;
  }
  /* Shared sizes, gutter and treatment – not a new design. */
  html body .atc-approved-design .bento,
  html body .atc-public-inner .atc-public-hub-grid,
  html body.atc-club-page-128 .atc-club-grid-128 {
    column-gap:14px !important;
    row-gap:14px !important;
  }
  html body .atc-approved-design .bento > a.panel,
  html body .atc-public-inner .atc-public-hub-grid > a.atc-hub-card,
  html body.atc-club-page-128 .atc-club-grid-128 > a.atc-club-tile-128 {
    border-radius:16px !important;
  }
  html body .atc-public-inner .atc-public-hub-grid > a.atc-hub-card .atc-hub-card-heading h2 {
    font-size:clamp(20px,1.8vw,27px) !important;
    letter-spacing:.025em !important;
    line-height:1.12 !important;
    text-wrap:balance !important;
    max-width:100% !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
  /* Clubleben previously inherited the width of a nested half-column. */
  html body.atc-club-page-128 .atc-public-inner .atc-page-content > #atc-clubleben-grid-128,
  html body.atc-club-page-128 .atc-public-inner #atc-clubleben-grid-128 {
    display:grid !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
    margin:16px 0 26px !important;
  }
  html body.atc-club-page-128 .atc-club-grid-128 > .atc-club-news-128 {
    grid-column:1 / -1 !important;
    height:255px !important;
  }
  html body.atc-club-page-128 .atc-club-grid-128 > :is(.atc-club-flohmarkt-128,.atc-club-kalender-128) {
    height:214px !important;
  }
  html body.atc-club-page-128 .atc-club-grid-128 .atc-club-visual-128 {
    font-size:clamp(23px,2.5vw,33px) !important;
    letter-spacing:.045em !important;
  }
  html body.atc-club-page-128 .atc-club-grid-128 .atc-club-news-128 .atc-club-visual-128 {
    font-size:clamp(32px,3.1vw,41px) !important;
  }
  html body.atc-club-page-128 .atc-club-grid-128 .atc-club-label-128 {
    font-size:clamp(12px,1.05vw,15px) !important;
  }
}
/* The same spacing in the mobile layout, without changing its approved grid. */
@media (max-width: 850px) {
  html body.atc-public-subpage-3536 .atc-public-inner #atc-clubleben-grid-128,
  html body .atc-public-inner .atc-public-hub-grid,
  html body .atc-approved-design .bento {
    gap:10px !important;
  }
}
