/*
Theme Name: Fake TF
Theme URI: https://example.com/
Author: Benjamin Gergaud
Description: Thème minimaliste : une page d'accueil, une grande photo, une liste de liens alimentée par un Google Sheet partagé.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fake-tf
*/

:root {
  --ftf-bg: #ffffff;
  --ftf-text: #222222;
  --ftf-muted: #666666;
  --ftf-link: #1a4fb3;
  --ftf-link-hover: #0d2f73;
  --ftf-border: #e6e6e6;
  --ftf-max: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ftf-bg);
  color: var(--ftf-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.ftf {
  max-width: var(--ftf-max);
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.ftf-hero { margin: 0 0 36px; }

.ftf-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ftf-content {
  max-width: 760px;
  margin: 0 auto 40px;
}

.ftf-title {
  margin: 0 0 28px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ftf-content h3 {
  margin: 32px 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.ftf-content p { margin: 0 0 1em; }

.ftf-content ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.ftf-content li { margin: 0 0 6px; }

.ftf-links {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--ftf-border);
}

.ftf-links h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ftf-muted);
}

.ftf-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ftf-links li { margin: 0 0 8px; }

.ftf-links a {
  color: var(--ftf-link);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ftf-links a:hover,
.ftf-links a:focus { color: var(--ftf-link-hover); text-decoration: underline; }

.ftf-empty { color: var(--ftf-muted); text-align: center; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .ftf { padding: 20px 16px 40px; }
  .ftf-hero img { border-radius: 4px; }
}
