/*
Theme Name: Thyamate
Theme URI: https://thyamate.local
Author: Thyamate
Description: Thème WordPress entièrement personnalisable — header fixe, sidebar gauche, menus déroulants, responsive. Conçu pour les débutants comme pour les experts.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thyamate
Tags: custom-logo, custom-menu, custom-background, featured-images, left-sidebar, fixed-header, responsive-layout, full-width-template, translation-ready
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Couleurs principales — modifiables via le Customizer */
  --thy-color-primary:    #2563eb;
  --thy-color-secondary:  #1e40af;
  --thy-color-accent:     #f59e0b;
  --thy-color-bg:         #f8fafc;
  --thy-color-surface:    #ffffff;
  --thy-color-text:       #1e293b;
  --thy-color-text-light: #64748b;
  --thy-color-border:     #e2e8f0;

  /* Header */
  --thy-header-height:    70px;
  --thy-header-bg:        #ffffff;
  --thy-header-text:      #1e293b;
  --thy-header-shadow:    0 2px 12px rgba(0,0,0,.08);

  /* Sidebar */
  --thy-sidebar-width:    280px;
  --thy-sidebar-bg:       #f1f5f9;
  --thy-sidebar-text:     #334155;
  --thy-sidebar-border:   #e2e8f0;

  /* Typographie */
  --thy-font-body:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --thy-font-heading:     var(--thy-font-body);
  --thy-font-size-base:   16px;
  --thy-font-size-sm:     14px;
  --thy-font-size-lg:     18px;
  --thy-font-size-xl:     24px;
  --thy-font-size-2xl:    32px;
  --thy-font-size-3xl:    42px;

  /* Layout */
  --thy-max-width:        1280px;
  --thy-content-radius:   10px;
  --thy-transition:       0.2s ease;
}

html { font-size: var(--thy-font-size-base); scroll-behavior: smooth; }

body {
  font-family: var(--thy-font-body);
  color: var(--thy-color-text);
  background: var(--thy-color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Offset for fixed header */
body { padding-top: var(--thy-header-height); }
.admin-bar { --thy-header-top: 32px; }
.admin-bar .thy-header { top: 32px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--thy-font-heading);
  color: var(--thy-color-text);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: .6em;
}
h1 { font-size: var(--thy-font-size-3xl); }
h2 { font-size: var(--thy-font-size-2xl); }
h3 { font-size: var(--thy-font-size-xl); }
h4 { font-size: var(--thy-font-size-lg); }
p  { margin-bottom: 1em; }
a  { color: var(--thy-color-primary); text-decoration: none; transition: color var(--thy-transition); }
a:hover { color: var(--thy-color-secondary); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
blockquote {
  border-left: 4px solid var(--thy-color-primary);
  padding: .8em 1.2em;
  margin: 1.5em 0;
  background: rgba(37,99,235,.05);
  border-radius: 0 var(--thy-content-radius) var(--thy-content-radius) 0;
  font-style: italic;
}
code, pre {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: #f1f5f9;
  border-radius: 4px;
}
code { padding: .2em .4em; font-size: .9em; }
pre { padding: 1em; overflow-x: auto; margin-bottom: 1em; }

/* ============================================================
   HEADER FIXE
   ============================================================ */
.thy-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--thy-header-height);
  background: var(--thy-header-bg);
  box-shadow: var(--thy-header-shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--thy-transition), box-shadow var(--thy-transition);
}
.thy-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.thy-header-inner {
  width: 100%;
  max-width: var(--thy-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.thy-logo { flex-shrink: 0; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.thy-logo img { height: calc(var(--thy-header-height) - 24px); width: auto; object-fit: contain; }
.thy-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--thy-header-text);
  white-space: nowrap;
  text-decoration: none;
}
.thy-logo:hover .thy-logo-text { color: var(--thy-color-primary); text-decoration: none; }

/* Navigation principale */
.thy-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.thy-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.thy-nav ul li { position: relative; }
.thy-nav ul li a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .85rem;
  color: var(--thy-header-text);
  font-size: var(--thy-font-size-sm);
  font-weight: 500;
  border-radius: 6px;
  transition: background var(--thy-transition), color var(--thy-transition);
  white-space: nowrap;
  text-decoration: none;
}
.thy-nav ul li a:hover,
.thy-nav ul li.current-menu-item > a,
.thy-nav ul li.current-menu-parent > a {
  background: rgba(37,99,235,.08);
  color: var(--thy-color-primary);
  text-decoration: none;
}

/* Flèche dropdown */
.thy-nav ul li.menu-item-has-children > a::after {
  content: '▾';
  font-size: .75rem;
  opacity: .7;
  margin-left: .2rem;
}

/* Sous-menu dropdown */
.thy-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--thy-color-surface);
  border: 1px solid var(--thy-color-border);
  border-radius: var(--thy-content-radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  flex-direction: column;
  gap: 0;
  padding: .4rem;
  z-index: 200;
  animation: thyDropIn .15s ease;
}
@keyframes thyDropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.thy-nav ul li:hover > ul,
.thy-nav ul li:focus-within > ul { display: flex; }

.thy-nav ul li ul li { width: 100%; }
.thy-nav ul li ul li a {
  padding: .5rem .8rem;
  border-radius: 6px;
  font-size: var(--thy-font-size-sm);
  color: var(--thy-color-text);
}
.thy-nav ul li ul li a:hover { background: rgba(37,99,235,.08); color: var(--thy-color-primary); }

/* Sous-sous-menu */
.thy-nav ul li ul li ul {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

/* Actions header droite */
.thy-header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Bouton lien externe */
.thy-btn-external {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  background: var(--thy-color-primary);
  color: #fff !important;
  border-radius: 7px;
  font-size: var(--thy-font-size-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--thy-transition), transform var(--thy-transition);
  text-decoration: none !important;
}
.thy-btn-external:hover { background: var(--thy-color-secondary); transform: translateY(-1px); text-decoration: none !important; }
.thy-btn-external svg { width: 14px; height: 14px; }

/* Bouton recherche */
.thy-search-toggle {
  width: 36px; height: 36px;
  border: none; background: transparent;
  cursor: pointer; border-radius: 6px;
  color: var(--thy-header-text);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--thy-transition);
}
.thy-search-toggle:hover { background: rgba(37,99,235,.08); color: var(--thy-color-primary); }

/* Burger menu mobile */
.thy-burger {
  display: none;
  width: 38px; height: 38px;
  border: none; background: transparent;
  cursor: pointer; border-radius: 6px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background var(--thy-transition);
}
.thy-burger:hover { background: rgba(37,99,235,.08); }
.thy-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--thy-header-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.thy-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.thy-burger.active span:nth-child(2) { opacity: 0; }
.thy-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BANNIÈRE HERO
   ============================================================ */
.thy-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: var(--thy-color-primary) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thy-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.thy-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
  color: #fff;
}
.thy-banner-content h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .5rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.thy-banner-content p { color: rgba(255,255,255,.9); font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.thy-wrapper {
  display: flex;
  min-height: calc(100vh - var(--thy-header-height));
  max-width: var(--thy-max-width);
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   SIDEBAR GAUCHE
   ============================================================ */
.thy-sidebar-left {
  width: var(--thy-sidebar-width);
  flex-shrink: 0;
  background: var(--thy-sidebar-bg);
  border-right: 1px solid var(--thy-sidebar-border);
  min-height: calc(100vh - var(--thy-header-height));
}
.thy-sidebar-left.is-sticky {
  position: sticky;
  top: var(--thy-header-height);
  height: calc(100vh - var(--thy-header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.thy-sidebar-left.is-scrollable {
  overflow-y: auto;
}

/* Sidebar inner */
.thy-sidebar-inner { padding: 1.5rem 1rem; }

.thy-sidebar-section { margin-bottom: 1.8rem; }
.thy-sidebar-title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--thy-color-text-light);
  padding: 0 .5rem;
  margin-bottom: .6rem;
}

/* Liens sidebar */
.thy-sidebar-nav { list-style: none; margin: 0; padding: 0; }
.thy-sidebar-nav li { margin: 1px 0; }
.thy-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  border-radius: 7px;
  color: var(--thy-sidebar-text);
  font-size: var(--thy-font-size-sm);
  font-weight: 500;
  transition: background var(--thy-transition), color var(--thy-transition);
  text-decoration: none;
}
.thy-sidebar-nav li a:hover { background: rgba(37,99,235,.1); color: var(--thy-color-primary); text-decoration: none; }
.thy-sidebar-nav li.current a { background: rgba(37,99,235,.12); color: var(--thy-color-primary); font-weight: 600; }
.thy-sidebar-nav li a .nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--thy-color-border); flex-shrink: 0; }
.thy-sidebar-nav li.current a .nav-dot,
.thy-sidebar-nav li a:hover .nav-dot { background: var(--thy-color-primary); }

/* Widget sidebar */
.thy-sidebar-widget { margin-bottom: 1.5rem; }
.thy-sidebar-widget-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--thy-color-text-light);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--thy-color-border);
}

/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */
.thy-main {
  flex: 1;
  min-width: 0;
  padding: 2rem 2.5rem;
}

/* Post card */
.thy-post-card {
  background: var(--thy-color-surface);
  border-radius: var(--thy-content-radius);
  border: 1px solid var(--thy-color-border);
  overflow: hidden;
  transition: box-shadow var(--thy-transition), transform var(--thy-transition);
  display: flex;
  flex-direction: column;
}
.thy-post-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); transform: translateY(-2px); }

.thy-post-card-thumb { overflow: hidden; aspect-ratio: 16/9; }
.thy-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.thy-post-card:hover .thy-post-card-thumb img { transform: scale(1.04); }

.thy-post-card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.thy-post-card-meta { display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; flex-wrap: wrap; }
.thy-post-card-cat {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(37,99,235,.1);
  color: var(--thy-color-primary);
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.thy-post-card-date { font-size: .75rem; color: var(--thy-color-text-light); }
.thy-post-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.thy-post-card-title a { color: var(--thy-color-text); text-decoration: none; }
.thy-post-card-title a:hover { color: var(--thy-color-primary); }
.thy-post-card-excerpt { font-size: var(--thy-font-size-sm); color: var(--thy-color-text-light); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.thy-post-card-link { align-self: flex-start; }

/* Grille articles */
.thy-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Article complet */
.thy-article-header { margin-bottom: 2rem; }
.thy-article-featured { border-radius: var(--thy-content-radius); overflow: hidden; margin-bottom: 1.5rem; aspect-ratio: 16/6; }
.thy-article-featured img { width: 100%; height: 100%; object-fit: cover; }
.thy-article-meta { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; }
.thy-article-content { font-size: 1rem; line-height: 1.75; }
.thy-article-content > * + * { margin-top: 1em; }
.thy-article-content img { border-radius: 8px; margin: 1.5em auto; }

/* Bouton standard */
.thy-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.2rem;
  border-radius: 7px;
  font-size: var(--thy-font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--thy-transition), color var(--thy-transition), transform var(--thy-transition);
  text-decoration: none;
  border: none;
}
.thy-btn-primary { background: var(--thy-color-primary); color: #fff; }
.thy-btn-primary:hover { background: var(--thy-color-secondary); color: #fff; transform: translateY(-1px); text-decoration: none; }
.thy-btn-outline { background: transparent; color: var(--thy-color-primary); border: 1.5px solid var(--thy-color-primary); }
.thy-btn-outline:hover { background: var(--thy-color-primary); color: #fff; text-decoration: none; }

/* Badge catégorie */
.thy-badge {
  display: inline-block; padding: .25rem .65rem;
  background: rgba(37,99,235,.1); color: var(--thy-color-primary);
  border-radius: 20px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Pagination */
.thy-pagination { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.thy-pagination a, .thy-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--thy-color-border);
  font-size: var(--thy-font-size-sm); font-weight: 600;
  color: var(--thy-color-text); text-decoration: none;
  transition: background var(--thy-transition), color var(--thy-transition), border-color var(--thy-transition);
}
.thy-pagination a:hover { border-color: var(--thy-color-primary); color: var(--thy-color-primary); text-decoration: none; }
.thy-pagination .current { background: var(--thy-color-primary); color: #fff; border-color: var(--thy-color-primary); }

/* ============================================================
   IMAGES RECADRÉES — TAILLES STANDARD
   ============================================================ */
/* Les tailles sont enregistrées via add_image_size() dans functions.php */
.thy-img-landscape { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.thy-img-square    { width: 100%; aspect-ratio: 1/1;  object-fit: cover; }
.thy-img-portrait  { width: 100%; aspect-ratio: 3/4;  object-fit: cover; }
.thy-img-banner    { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.thy-img-thumb     { width: 100%; aspect-ratio: 4/3;  object-fit: cover; }

/* Bloc image dans l'éditeur */
.wp-block-image img { border-radius: 8px; }
.wp-block-image.aligncenter { margin: 1.5em auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.thy-footer {
  background: var(--thy-color-text);
  color: rgba(255,255,255,.8);
  margin-top: 3rem;
}
.thy-footer-inner {
  max-width: var(--thy-max-width);
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
}
.thy-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.thy-footer-col-title { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.thy-footer ul { list-style: none; padding: 0; margin: 0; }
.thy-footer ul li { margin-bottom: .4rem; }
.thy-footer ul li a { color: rgba(255,255,255,.65); font-size: var(--thy-font-size-sm); transition: color var(--thy-transition); text-decoration: none; }
.thy-footer ul li a:hover { color: #fff; text-decoration: none; }
.thy-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.thy-footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.thy-footer-bottom a:hover { color: #fff; }

/* ============================================================
   BARRE DE RECHERCHE MODALE
   ============================================================ */
.thy-search-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.thy-search-modal.open { display: flex; }
.thy-search-box {
  background: var(--thy-color-surface);
  border-radius: 14px;
  padding: 1.5rem;
  width: 90%; max-width: 580px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.thy-search-input-wrap { display: flex; gap: .5rem; }
.thy-search-input {
  flex: 1; padding: .7rem 1rem;
  border: 2px solid var(--thy-color-border);
  border-radius: 8px; font-size: 1rem;
  outline: none; transition: border-color var(--thy-transition);
}
.thy-search-input:focus { border-color: var(--thy-color-primary); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.thy-mobile-menu {
  display: none;
  position: fixed;
  top: var(--thy-header-height); left: 0; right: 0;
  background: var(--thy-color-surface);
  border-bottom: 1px solid var(--thy-color-border);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  z-index: 999;
  padding: 1rem;
  max-height: calc(100vh - var(--thy-header-height));
  overflow-y: auto;
}
.thy-mobile-menu.open { display: block; animation: thySlideDown .2s ease; }
@keyframes thySlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.thy-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.thy-mobile-menu ul li a {
  display: block; padding: .65rem .8rem;
  color: var(--thy-color-text); border-radius: 7px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  transition: background var(--thy-transition);
}
.thy-mobile-menu ul li a:hover { background: rgba(37,99,235,.08); color: var(--thy-color-primary); }
.thy-mobile-menu ul ul { padding-left: 1.2rem; }
.thy-mobile-menu ul ul li a { font-size: .9rem; color: var(--thy-color-text-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --thy-sidebar-width: 240px; }
  .thy-main { padding: 1.5rem; }
}

@media (max-width: 900px) {
  .thy-sidebar-left { display: none; }
  .thy-nav { display: none; }
  .thy-burger { display: flex; }
  .thy-main { padding: 1.2rem 1rem; }
  .thy-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root {
    --thy-header-height: 58px;
    --thy-font-size-3xl: 28px;
    --thy-font-size-2xl: 22px;
  }
  .thy-banner { min-height: 280px; }
  .thy-footer-grid { grid-template-columns: 1fr 1fr; }
  .thy-btn-external span.btn-label { display: none; }
}

/* ============================================================
   GUTENBERG / BLOCK EDITOR
   ============================================================ */
.wp-block-separator { border-color: var(--thy-color-border); }
.wp-block-quote { border-left: 4px solid var(--thy-color-primary); }
.wp-block-code { background: #f1f5f9; border-radius: 8px; }
.wp-block-button__link {
  background: var(--thy-color-primary) !important;
  border-radius: 7px !important;
}

/* Wide & Full alignment */
.alignwide  { margin-left: -2rem; margin-right: -2rem; }
.alignfull  { margin-left: calc(-50vw + 50% + var(--thy-sidebar-width)/2); margin-right: calc(-50vw + 50% + var(--thy-sidebar-width)/2); }

/* ============================================================
   CUSTOMIZER LIVE PREVIEW HELPERS
   ============================================================ */
.thy-primary-color-bg   { background-color: var(--thy-color-primary) !important; }
.thy-primary-color-text { color: var(--thy-color-primary) !important; }

/* ============================================================
   WIDGETS
   ============================================================ */
.widget { margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--thy-color-primary); }
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: .35rem 0; border-bottom: 1px solid var(--thy-color-border); font-size: var(--thy-font-size-sm); }
.widget ul li:last-child { border-bottom: none; }

/* ============================================================
   DIVERS UTILITAIRES
   ============================================================ */
.thy-container { max-width: var(--thy-max-width); margin: 0 auto; padding: 0 1.5rem; }
.thy-section  { padding: 4rem 0; }
.thy-card {
  background: var(--thy-color-surface);
  border: 1px solid var(--thy-color-border);
  border-radius: var(--thy-content-radius);
  padding: 1.5rem;
}
.thy-divider { height: 1px; background: var(--thy-color-border); margin: 2rem 0; }
.thy-tag {
  display: inline-block; padding: .2rem .55rem;
  background: var(--thy-color-bg); border: 1px solid var(--thy-color-border);
  border-radius: 4px; font-size: .75rem; color: var(--thy-color-text-light);
  text-decoration: none; transition: border-color var(--thy-transition), color var(--thy-transition);
}
.thy-tag:hover { border-color: var(--thy-color-primary); color: var(--thy-color-primary); }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
