/* Accueil 07 — mêmes composants que la galerie 05/06 */
.th-hero{padding:clamp(1.8rem,5vw,4rem) 0 1rem}
.th-hero h1{max-width:850px}
.th-search{margin-top:1.6rem;max-width:820px}
.th-section{margin:1.5rem 0 2rem}
.th-section-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}
.th-section-head h2{margin:.35rem 0 0}
.th-more{color:var(--st-accent, #ff9a4d);text-decoration:none;white-space:nowrap;font-weight:600}
.th-more:hover{text-decoration:underline}
.th-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.th-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.th-studio-card{display:flex;align-items:center;gap:.9rem;padding:1rem;background:var(--st-bg, #1e1004);border:1px solid var(--st-edge, #43230a);border-radius:15px;color:var(--st-ink, #fff0e2);text-decoration:none;min-width:0;transition:border-color .2s,transform .2s}
.th-studio-card:hover{border-color:var(--st-highlight, #ff6a00);transform:translateY(-2px)}
.th-studio-avatar{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;background:var(--st-panel, #38200d);border:1px solid var(--st-accent, #ff6a00);border-radius:12px;color:var(--st-accent, #ffad6d);font-weight:700;font-size:1.35rem}
.th-studio-details{display:grid;gap:.3rem;min-width:0;flex:1}
.th-studio-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-studio-details small{color:var(--st-muted, #c49c7a);display:flex;align-items:center;gap:.25rem}
.th-studio-details svg{width:14px;height:14px}
.th-studio-arrow{color:var(--st-muted, #d5a35c);font-size:1.3rem}
@media(max-width:800px){.th-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.th-studio-grid{grid-template-columns:1fr}.th-section-head{align-items:start;flex-direction:column}.th-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.th-photo-grid{grid-template-columns:1fr}}

/* Same natural image cards as the gallery; identical framing for studio visuals. */
.th-photo-grid{columns:3}
.th-studio-grid .th-studio-card{padding:0 16px 0 0;min-height:82px}
.th-studio-grid .th-studio-avatar{box-sizing:border-box;flex:0 0 82px;width:82px;height:82px;padding:1px;border:1px solid var(--st-accent,#ff9a4d);border-radius:14px 0 0 14px;object-fit:cover;overflow:hidden}
.th-studio-grid .th-studio-details{padding:10px 0}
.th-studio-grid .th-studio-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.th-studio-grid .th-studio-meta>.rating-stars-inline{display:inline-block!important}
.th-studio-grid .th-studio-meta .rating-stars-empty{color:var(--st-muted,#a8917d)!important;opacity:.65}
.th-studio-grid .th-studio-meta .rating-stars-filled{color:var(--st-accent,#ff9a4d)!important}
.th-search-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
@media(max-width:800px){.th-photo-grid{columns:2}}
@media(max-width:600px){.th-search-groups{grid-template-columns:1fr}}

@media(max-width:600px){.th-section{margin:1.25rem 0 1.5rem}.th-hero.site-hero{padding-bottom:1rem}}

/* Accueil : sections de tatouages à gauche, sections artistes à droite. */
.home-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:1.5rem}
.home-page-main,.home-page-sidebar{min-width:0}
.home-page-sidebar{display:block;margin-top:1.5rem}
.home-page-sidebar-card.tg-sidebar{display:block}
.home-page-sidebar-slider{padding:0 0 1.2rem;background:none;border:0}
.home-hero-visual{position:relative;min-height:328px;display:grid;place-items:center;isolation:isolate}
.home-hero-visual::before{content:"";position:absolute;width:240px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,var(--st-panel,#38200d),transparent 72%);opacity:.6;pointer-events:none}
.home-hero-phone{position:relative;z-index:1;width:148px;height:319px;padding:6px;background:#101115;border:2px solid #303238;border-radius:27px;box-shadow:12px 18px 30px #0005;transform:rotate(4deg)}
.home-hero-phone::before{content:"";position:absolute;right:-4px;top:70px;width:2px;height:40px;border-radius:2px;background:#343539}
.home-hero-phone .span-slider{width:100%;height:100%;border-radius:19px}
.home-hero-camera{position:absolute;z-index:4;top:12px;left:50%;transform:translateX(-50%);width:8px;height:8px;background:#08090c;border-radius:50%;box-shadow:inset 0 0 0 2px #27282b;pointer-events:none}
.home-page-sidebar .th-section{margin:0;padding:1.1rem 0;border-bottom:1px solid var(--st-edge,#43230a)}
.home-page-sidebar .th-section-head{align-items:start;flex-direction:column;gap:.45rem;margin-bottom:.65rem}
.home-page-sidebar .th-section-head h2{font-size:1.08rem;line-height:1.3}
.home-page-sidebar .th-section-head .tg-eyebrow{font-size:.65rem}
.home-page-sidebar .th-more{font-size:.78rem}
.home-page-sidebar .th-studio-grid{grid-template-columns:minmax(0,1fr);gap:.6rem}
.home-page-sidebar .th-studio-card{gap:.55rem;min-height:62px;padding:0 6px 0 0;border-radius:10px}
.home-page-sidebar .th-studio-card .th-studio-avatar{flex-basis:60px;width:60px;height:60px;border-radius:9px 0 0 9px}
.home-page-sidebar .th-studio-details{padding:5px 0}
.home-page-sidebar .th-studio-details strong{font-size:.82rem}
.home-page-sidebar .th-studio-details small{font-size:.7rem}
.home-page-sidebar .gallery-placement-section{margin-top:1rem}
.home-page-sidebar .gallery-placement-heading{font-size:1.08rem}
@media(max-width:950px){.home-page-layout{grid-template-columns:minmax(0,1fr)}.home-page-sidebar{margin-top:0}.home-page-sidebar .th-studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-page-sidebar .th-studio-grid{grid-template-columns:minmax(0,1fr)}}

/* Une seule rubrique Artistes pour toute la colonne latérale. */
.home-sidebar-artists-label{display:flex;align-items:center;gap:.35rem;margin:0 0 .55rem;font-size:.65rem}

/* HOME MOBILE : recherches en dernier et hero visuel masqué */
.home-page-main { grid-column: 1; grid-row: 1; min-width: 0; }
.home-page-sidebar { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.home-page-layout > .th-recent-searches { grid-column: 1; grid-row: 2; min-width: 0; }
@media (max-width: 950px) {
  .home-page-layout { grid-template-columns: minmax(0, 1fr); }
  .home-page-main, .home-page-sidebar,
  .home-page-layout > .th-recent-searches { grid-column: 1; grid-row: auto; }
  .home-hero-visual { display: none !important; }
}
