/* ==========================================================================
   Moderni vzhled celeho webu (verejna cast i ucty) - pouze vzhled.
   - HTML struktura stranek se nemeni; mobilni menu a tlacitka v hlavicce doplnuje js/site-modern.js
     (bez JavaScriptu zustava menu i prihlaseni viditelne jako dosud).
   - Nacita se jako uplne posledni styl (func/func_header.php, funkce style()).
   - Vraceni zpet: odebrat odkazy na css/site-modern.css a js/site-modern.js ve style().
   ========================================================================== */

:root {
  --sm-brand: #e5007d;
  --sm-brand-600: #c8006d;
  --sm-brand-700: #a3005a;
  --sm-brand-50: #fff1f8;
  --sm-brand-100: #ffe0ef;
  --sm-plum: #2a0b20;
  --sm-plum-2: #4a1238;
  --sm-ink: #23161f;
  --sm-text: #3b2f37;
  --sm-muted: #7a6873;
  --sm-line: #f1dbe7;
  --sm-card: #ffffff;
  --sm-page: #fbf3f7;
  --sm-radius: 18px;
  --sm-radius-sm: 12px;
  --sm-shadow: 0 1px 2px rgba(42, 11, 32, .06), 0 10px 28px -14px rgba(120, 0, 70, .28);
  --sm-shadow-hover: 0 2px 4px rgba(42, 11, 32, .08), 0 18px 36px -14px rgba(229, 0, 125, .42);
  --sm-grad: linear-gradient(135deg, #ff3d9a 0%, #e5007d 45%, #a3005a 100%);
  --sm-grad-hero: linear-gradient(135deg, rgba(42, 11, 32, .92) 0%, rgba(122, 0, 72, .88) 55%, rgba(229, 0, 125, .82) 100%);
  --sm-font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Calibri, Arial, sans-serif;
}
html[data-theme="dark"] {
  --sm-ink: #f4eef2;
  --sm-text: #d8ccd3;
  --sm-muted: #a8959f;
  --sm-line: #3a2632;
  --sm-card: #1f171c;
  --sm-page: #140f12;
  --sm-brand-50: #2a1220;
  --sm-brand-100: #3a1529;
  --sm-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  --sm-shadow-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 18px 36px -14px rgba(229, 0, 125, .45);
}

@media screen {

  /* ---- zaklad: pismo, pozadi ------------------------------------------------ */
  body {
    font-family: var(--sm-font);
    color: var(--sm-text);
    background-color: var(--sm-page);
    background-image:
      radial-gradient(1200px 600px at 100% -10%, rgba(229, 0, 125, .14), transparent 60%),
      radial-gradient(900px 500px at -10% 10%, rgba(163, 0, 90, .10), transparent 60%),
      linear-gradient(rgba(251, 243, 247, .88), rgba(251, 243, 247, .94)),
      url("../img/pozadi.jpg");
    background-size: auto, auto, auto, cover;
    background-attachment: fixed;
    background-position: center top;
    -webkit-font-smoothing: antialiased;
  }
  html[data-theme="dark"] body {
    background-image:
      radial-gradient(1200px 600px at 100% -10%, rgba(229, 0, 125, .16), transparent 60%),
      linear-gradient(rgba(20, 15, 18, .93), rgba(20, 15, 18, .96)),
      url("../img/pozadi.jpg");
    background-size: auto, auto, cover;
  }
  a { transition: color .15s ease; }
  ::selection { background: var(--sm-brand); color: #fff; }

  /* ---- tlacitka (odeslani formulare, akce) ---------------------------------- */
  #header input[type="submit"],
  #central input[type="submit"],
  #central button:not(.ui-button):not([class*="ui-"]):not(.im-btn),
  a.sm-btn {
    border: 0;
    border-radius: 999px;
    background: var(--sm-grad);
    color: #fff;
    font-family: var(--sm-font);
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 6px 16px -6px rgba(229, 0, 125, .6);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
  }
  #header input[type="submit"]:hover,
  #central input[type="submit"]:hover,
  #central button:not(.ui-button):not([class*="ui-"]):not(.im-btn):hover,
  a.sm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(229, 0, 125, .7); filter: saturate(1.1); }
  #central input[type="submit"]:focus-visible,
  #central button:focus-visible,
  a.sm-btn:focus-visible { outline: 3px solid rgba(229, 0, 125, .35); outline-offset: 2px; }

  a.sm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-size: 15px; text-decoration: none !important; color: #fff !important; }
  a.sm-btn.sm-btn-ghost { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  a.sm-btn.sm-btn-ghost:hover { background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1.5px #fff; }

  /* ---- pole formularu ------------------------------------------------------- */
  #central input[type="text"], #central input[type="password"], #central input[type="email"],
  #central input[type="tel"], #central input[type="number"], #central input[type="date"],
  #central input[type="search"], #central input[type="url"], #central select, #central textarea,
  #login_box .login_input {
    border: 1px solid #e6cfdc;
    border-radius: 10px;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  #central input:focus, #central select:focus, #central textarea:focus, #login_box .login_input:focus {
    border-color: var(--sm-brand);
    box-shadow: 0 0 0 3px rgba(229, 0, 125, .16);
    outline: none;
  }
  html[data-theme="dark"] #central input[type="text"], html[data-theme="dark"] #central input[type="password"],
  html[data-theme="dark"] #central input[type="email"], html[data-theme="dark"] #central input[type="tel"],
  html[data-theme="dark"] #central input[type="number"], html[data-theme="dark"] #central input[type="date"],
  html[data-theme="dark"] #central input[type="search"], html[data-theme="dark"] #central select,
  html[data-theme="dark"] #central textarea, html[data-theme="dark"] #login_box .login_input {
    background-color: #191216; border-color: #46303d; color: #eee;
  }

  /* ---- prihlasovaci box ----------------------------------------------------- */
  #login_box {
    border: 0;
    border-radius: var(--sm-radius-sm);
    background: var(--sm-card);
    box-shadow: var(--sm-shadow);
    font-family: var(--sm-font);
  }
  #login_box .heading { font-weight: 800; color: var(--sm-ink); }
  #login_box .heading a { font-weight: 700; color: var(--sm-brand); }
  #login_box input[type="submit"] { padding: 7px 20px; font-size: 13px; }
  #login_box a { color: var(--sm-brand); }
  html[data-theme="dark"] #login_box { background: var(--sm-card); border: 0; }

  /* ---- prepinac jazyka a vzhledu ------------------------------------------- */
  #lang_switch select {
    border-radius: 999px !important;
    border-color: #ecc4da !important;
    box-shadow: 0 2px 8px -4px rgba(120, 0, 70, .3);
  }
  #theme_switch { border-radius: 999px; border-color: #ecc4da; box-shadow: 0 2px 8px -4px rgba(120, 0, 70, .3); }

  /* ---- hlavni obsah --------------------------------------------------------- */
  #central h1 { color: var(--sm-ink); letter-spacing: -.015em; }
  #left h2, #right h2 {
    border: 0 !important;
    border-radius: 999px;
    background: var(--sm-brand-50);
    color: var(--sm-brand) !important;
    font-weight: 800;
    letter-spacing: .01em;
  }
  #left h2 a, #right h2 a { color: inherit !important; text-decoration: none; }

  /* ---- paticka -------------------------------------------------------------- */
  #footer {
    background: linear-gradient(135deg, var(--sm-plum) 0%, var(--sm-plum-2) 100%) !important;
    color: #e9d6e1;
  }
  #footer a { color: #ff9ccc; }
  #footer a:hover { color: #fff; }
}

/* ==========================================================================
   Pocitac a tablet na sirku (>= 821 px)
   ========================================================================== */
@media screen and (min-width: 821px) {

  .sm-tools { display: none !important; }
  #header, #menu, #main, #footer { max-width: 1240px; }

  /* hlavicka jako bila karta s logem */
  #header {
    margin-top: 16px !important;
    border-radius: var(--sm-radius) var(--sm-radius) 0 0;
    background-color: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #header::after { display: none !important; }
  html[data-theme="dark"] #header { background-color: var(--sm-card) !important; }
  #login_box { margin-top: 12px; margin-right: 18px; box-shadow: 0 0 0 1px var(--sm-line), 0 8px 24px -14px rgba(120, 0, 70, .35); }

  /* menu: barevny pruh pod hlavickou, pri posunu zustava nahore */
  #menu {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 6px 10px !important;
    background: var(--sm-grad) !important;
    border-radius: 0 0 var(--sm-radius) var(--sm-radius);
    box-shadow: 0 10px 24px -14px rgba(163, 0, 90, .8) !important;
    gap: 2px;
  }
  #menu a { min-height: 38px !important; border-radius: 999px; padding: 0 14px !important; font-size: 14px !important; }
  #menu a + a::before { display: none; }
  #menu a:hover { background: rgba(255, 255, 255, .18) !important; }
  #menu a.active { background: rgba(255, 255, 255, .95) !important; color: var(--sm-brand-700) !important; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .35) !important; }
  #menu a.emp { margin: 0 2px !important; min-height: 38px !important; background: #fff !important; color: var(--sm-brand-700) !important; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .4); }
  #menu a.emp:hover { background: var(--sm-brand-50) !important; }
  #menu a.emp.active { background: #fff !important; }

  /* telo: tri samostatne karty se mezerou */
  #main {
    margin-top: 18px !important;
    padding: 0 !important;
    gap: 18px;
    background: transparent !important;
  }
  #left, #right, #central {
    border-radius: var(--sm-radius);
    background: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #left, #right { flex: 0 0 196px !important; padding: 14px 12px !important; box-sizing: border-box; }
  #central { padding: 26px 32px !important; }
  /* administrator a agent: siroke tabulky - uzsi boky a mensi okraje */
  html.sm-role-3 #left, html.sm-role-3 #right, html.sm-role-4 #left, html.sm-role-4 #right { flex-basis: 150px !important; padding: 10px 8px !important; }
  html.sm-role-3 #central, html.sm-role-4 #central { padding: 18px 18px !important; }
  html.sm-role-3 #main, html.sm-role-4 #main { gap: 12px; }
  html[data-theme="dark"] #central { background: var(--sm-card) !important; }

  #footer {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    padding: 18px 24px !important;
    border-radius: var(--sm-radius) !important;
    box-shadow: var(--sm-shadow);
  }
}

/* ==========================================================================
   Uvodni stranka pro navstevniky (index.php): uvod jako vyrazny "hero" blok,
   sekce s informacemi jako karty ve dvou sloupcich
   ========================================================================== */
@media screen {
  html.sm-page-index #central .container > header {
    position: relative;
    overflow: hidden;
    margin: 0 0 22px 0;
    padding: 34px 32px 30px 32px;
    border-radius: var(--sm-radius);
    background: var(--sm-grad-hero), url("../img/pozadi.jpg") center 30% / cover;
    color: #fbe9f2;
    box-shadow: 0 18px 40px -20px rgba(122, 0, 72, .8);
  }
  html.sm-page-index #central .container > header::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
    pointer-events: none;
  }
  html.sm-page-index #central .container > header h1 {
    margin: 0 0 12px 0 !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -.02em;
  }
  html.sm-page-index #central .container > header p { color: #fbe3ef !important; font-size: 15.5px; max-width: 62ch; }
  html.sm-page-index #central .container > header strong { color: #fff !important; }
  .sm-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
  .sm-hero-badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #ffd3e8; position: relative; z-index: 1; }
  .sm-hero-badges li::before { content: "✓"; margin-right: 6px; color: #fff; font-weight: 800; }
  #central .container ul.sm-hero-badges li { padding: 0; margin: 0; }
  #central .container ul.sm-hero-badges li::before { content: "✓"; color: #fff; position: static; width: auto; height: auto; background: none; border-radius: 0; display: inline; }

  /* tri karty s obrazky */
  html.sm-page-index #central .container .image-links { gap: 16px; }
  html.sm-page-index #central .container .image-links a { border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); }
  html.sm-page-index #central .container .image-links a:hover { box-shadow: var(--sm-shadow-hover); transform: translateY(-4px); }

  /* karty s novymi obrazky (img/home/*.jpg); puvodni obrazek zustava v HTML jen pro citacky (alt), je skryty */
  #central .container .image-links a.sm-card {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: #5a1046 center / cover no-repeat;
    line-height: 1.2;
    isolation: isolate;
  }
  #central .container .image-links a.sm-card-for-dancers { background-image: url("../img/home/card-dancers-hostesses.jpg"); }
  #central .container .image-links a.sm-card-for-clubs { background-image: url("../img/home/card-clubs.jpg"); }
  #central .container .image-links a.sm-card-for-agents { background-image: url("../img/home/card-agencies.jpg"); }
  #central .container .image-links a.sm-card img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  #central .container .image-links a.sm-card::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(to top, rgba(42, 11, 32, .85), rgba(42, 11, 32, 0));
    z-index: 1;
    transition: height .25s ease;
  }
  #central .container .image-links a.sm-card:hover::after { height: 60%; }
  .sm-card-label {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
    color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  }
  .sm-card-arrow {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--sm-grad); font-size: 18px; text-shadow: none;
    box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .8);
    transition: transform .2s ease;
  }
  #central .container .image-links a.sm-card:hover .sm-card-arrow { transform: translateX(3px); }
  @media screen and (max-width: 820px) {
    /* mobil: karty vedle sebe s posunem prstem */
    #central .container .image-links {
      display: flex !important; gap: 12px !important;
      overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
      margin-left: -16px; margin-right: -16px; padding: 4px 16px 10px 16px;
      scrollbar-width: none;
    }
    #central .container .image-links::-webkit-scrollbar { display: none; }
    #central .container .image-links a.sm-card { flex: 0 0 62%; scroll-snap-align: start; }
    .sm-card-label { font-size: 18px; }
  }

  /* informacni sekce jako karty */
  html.sm-page-index #central .container > section {
    margin: 0 0 16px 0;
    padding: 18px 20px 8px 20px;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius);
    background: linear-gradient(180deg, var(--sm-brand-50), var(--sm-card) 70px);
  }
  html.sm-page-index #central .container > section h2 { margin-top: 0 !important; }
  html.sm-page-index #central .container > section:last-of-type {
    text-align: center;
    background: var(--sm-grad);
    border: 0;
    color: #fff;
    box-shadow: 0 18px 40px -20px rgba(163, 0, 90, .9);
  }
  html.sm-page-index #central .container > section:last-of-type h2 { border: 0; padding: 0; color: #fff !important; text-align: center !important; font-size: 20px; }
  html.sm-page-index #central .container > section:last-of-type p { color: #ffe3f1; text-align: center !important; }
  html.sm-page-index #central .container > section:last-of-type .register-button { background: #fff !important; color: var(--sm-brand-700) !important; border: 0; font-size: 15px; padding: 13px 30px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
}
@media screen and (min-width: 1000px) {
  html.sm-page-index #central .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
  }
  html.sm-page-index #central .container > header,
  html.sm-page-index #central .container > .image-links,
  html.sm-page-index #central .container > section:first-of-type,
  html.sm-page-index #central .container > section:last-of-type,
  html.sm-page-index #central .container > footer { grid-column: 1 / -1; }
}

/* ==========================================================================
   Mobil (<= 820 px): kompaktni hlavicka s logem, tlacitko Prihlasit a menu (hamburger).
   Plati jen kdyz bezi js/site-modern.js (trida sm-js na <html>).
   ========================================================================== */
@media screen and (max-width: 820px) {

  html.sm-js #header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, .94) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 6px 20px -12px rgba(120, 0, 70, .45);
  }
  html.sm-js[data-theme="dark"] #header { background: rgba(31, 23, 28, .94) !important; }
  html.sm-js #header::before { display: none !important; }
  html.sm-js #clickable {
    position: static !important;
    order: 1;
    flex: 0 0 auto;
    display: block;
    width: 172px !important;
    height: 52px !important;
    background: url("../img/header_bg.png") no-repeat 0 50% / auto 52px;
  }
  html.sm-js[data-theme="dark"] #clickable { filter: brightness(1.15); border-radius: 8px; background-color: rgba(255, 255, 255, .92); }
  html.sm-js .sm-tools { order: 2; margin-left: auto; display: flex; gap: 6px; }
  .sm-tool {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 44px; height: 44px; padding: 0 12px;
    border: 0; border-radius: 999px;
    background: var(--sm-brand-50); color: var(--sm-brand-700);
    font: 700 14px/1 var(--sm-font);
    cursor: pointer;
  }
  .sm-tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .sm-tool.sm-tool-primary { background: var(--sm-grad); color: #fff; box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .7); }
  .sm-tool[aria-expanded="true"] { background: var(--sm-plum); color: #fff; }
  html[data-theme="dark"] .sm-tool:not(.sm-tool-primary) { background: #2e1d27; color: #ffb3d6; }

  /* prihlaseni a jazyk/vzhled: skryte, otevira se tlacitkem */
  html.sm-js #login_box { display: none; order: 5; flex: 1 1 100%; margin: 6px 0 2px 0 !important; padding: 14px !important; }
  html.sm-js.sm-login-open #login_box { display: block; animation: sm-drop .18s ease-out; }
  html.sm-js #lang_switch { display: none !important; order: 4; flex: 1 1 100%; margin: 6px 0 0 0 !important; }
  html.sm-js.sm-nav-open #lang_switch { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; }
  html.sm-js #lang_switch select { flex: 1 1 160px; min-height: 42px; }

  /* menu: svisly seznam pod hlavickou */
  html.sm-js #menu { display: none !important; }
  html.sm-js.sm-nav-open #menu {
    display: flex !important;
    flex-direction: column;
    position: relative;
    z-index: 70;
    margin: 0 10px !important;
    padding: 6px !important;
    border-radius: 0 0 var(--sm-radius) var(--sm-radius);
    background: var(--sm-grad) !important;
    box-shadow: 0 18px 30px -16px rgba(122, 0, 72, .9);
    animation: sm-drop .18s ease-out;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  html.sm-js.sm-nav-open #menu a {
    display: block;
    padding: 13px 16px !important;
    border: 0 !important;
    border-radius: 12px;
    text-align: left !important;
    font-size: 16px !important;
    color: #fff !important;
    background: transparent;
    box-shadow: none !important;
  }
  html.sm-js.sm-nav-open #menu a.active { background: rgba(255, 255, 255, .2) !important; }
  html.sm-js.sm-nav-open #menu a.emp { margin-top: 4px; background: #fff !important; color: var(--sm-brand-700) !important; text-align: center !important; font-weight: 800; }

  /* obsah */
  #main { padding: 10px !important; background: transparent !important; gap: 12px; }
  #central, #left, #right {
    border-radius: var(--sm-radius);
    background: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #central { padding: 18px 16px !important; }
  #left, #right { padding: 12px !important; }
  #footer { margin: 0 10px 14px 10px !important; padding: 16px !important; border-radius: var(--sm-radius); }

  html.sm-page-index #central .container > header { margin: -2px -4px 18px -4px; padding: 24px 18px 22px 18px; }
  html.sm-page-index #central .container > header h1 { font-size: 26px !important; }
  html.sm-page-index #central .container > header p { font-size: 15px; }
  .sm-hero-cta a.sm-btn { flex: 1 1 100%; justify-content: center; }
}

@keyframes sm-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .sm-tools, .sm-hero-cta, .sm-hero-badges { display: none !important; }
}

/* ==========================================================================
   Stranka Kluby: zalozky Vse / Tanecnice / Hostesky (func/func_clubs.php, club_type_tabs)
   ========================================================================== */
@media screen {
  .club-type-tabs {
    display: inline-flex; flex-wrap: wrap; gap: 4px;
    margin: 0 0 14px 0; padding: 5px;
    border-radius: 999px;
    background: var(--sm-brand-50);
    box-shadow: inset 0 0 0 1px var(--sm-line);
  }
  .club-type-tabs a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700; font-size: 14px;
    color: var(--sm-brand-700) !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
  }
  .club-type-tabs a:hover { background: rgba(229, 0, 125, .1); }
  .club-type-tabs a.active { background: var(--sm-grad); color: #fff !important; box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .7); }
  .club-type-count {
    min-width: 22px; padding: 1px 7px;
    border-radius: 999px;
    background: rgba(229, 0, 125, .12);
    font-size: 12px; font-weight: 800; text-align: center;
  }
  .club-type-tabs a.active .club-type-count { background: rgba(255, 255, 255, .25); }
  html[data-theme="dark"] .club-type-tabs a { color: #ffb3d6 !important; }
  html[data-theme="dark"] .club-type-tabs a.active { color: #fff !important; }
}
@media screen and (max-width: 820px) {
  .club-type-tabs { display: flex; flex-wrap: nowrap; gap: 2px; padding: 4px; }
  .club-type-tabs a { flex: 1 1 auto; justify-content: center; gap: 5px; padding: 9px 6px; font-size: 13.5px; white-space: nowrap; }
  .club-type-count { min-width: 0; padding: 1px 6px; font-size: 11px; }
}


/* ==========================================================================
   Obrazky "pro tanecnice / kluby / agentury" v obsahu stranek (Pro tanecnice, Pro kluby, Pro agentury ...):
   misto starych obrazku s ceskym textem nove karty s prelozenym popiskem (js/site-modern.js, initInlineCards).
   Puvodni obrazky se do nahrazeni skryji, aby neproblikly (trida sm-js-on nastavuje skript v hlavicce).
   ========================================================================== */
@media screen {
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_dancers.jpg"],
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_clubs.jpg"],
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_agencies.jpg"] { visibility: hidden; }

  .sm-bg-for-dancers { background-image: url("../img/home/card-dancers-hostesses.jpg") !important; }
  .sm-bg-for-clubs { background-image: url("../img/home/card-clubs.jpg") !important; }
  .sm-bg-for-agents { background-image: url("../img/home/card-agencies.jpg") !important; }

  .sm-inline-card {
    position: relative;
    float: right;
    display: block;
    width: 170px;
    aspect-ratio: 2 / 3;
    margin: 0 0 14px 20px;
    border-radius: var(--sm-radius);
    overflow: hidden;
    background: #5a1046 center / cover no-repeat;
    box-shadow: var(--sm-shadow);
    line-height: 1.2;
  }
  .sm-inline-card.sm-inline-left { float: left; margin: 0 20px 14px 0; }
  .sm-inline-card img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0; }
  .sm-inline-card::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
    background: linear-gradient(to top, rgba(42, 11, 32, .85), rgba(42, 11, 32, 0));
  }
  .sm-inline-card .sm-card-label { left: 12px; right: 12px; bottom: 12px; font-size: 16px; }
}
@media screen and (max-width: 560px) {
  .sm-inline-card { width: 120px; margin-left: 12px; }
  .sm-inline-card.sm-inline-left { margin-right: 12px; }
  .sm-inline-card .sm-card-label { left: 9px; right: 9px; bottom: 9px; font-size: 13.5px; }
}
/* nadpis s kartou: stejny ramecek jako dosud nadpis s obrazkem (css/content-modern.css), karta zustava uvnitr */
#central h2:has(> .sm-inline-card) { display: flow-root; margin: 4px 0 14px 0; padding: 16px 18px; border: 1px solid var(--hm-line, #e9d3e0); border-radius: 18px; background: linear-gradient(135deg, rgba(229, 0, 125, .09), rgba(229, 0, 125, .02)); font-size: 22px; line-height: 1.25; }
#central h1:has(> .sm-inline-card) { display: flow-root; }
#central h1 > .sm-inline-card, #central h2 > .sm-inline-card { margin: 0 0 6px 14px; }
