/*
Theme Name: Studio Image Pro Theme
Theme URI: https://example.com/studio-image-pro-theme
Author: OpenAI
Author URI: https://example.com
Description: Thème WordPress classique orienté studio d’image haute qualité : front page plein écran, outils professionnels, export robuste, unités px/cm/in/mm et préparation WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: studio-image-pro-theme
Tags: custom-background, custom-logo, editor-style, featured-images, full-width-template, one-column, photography, portfolio
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --sipt-bg: #07111f;
  --sipt-surface: rgba(15, 27, 46, 0.9);
  --sipt-card: rgba(17, 29, 50, 0.92);
  --sipt-line: rgba(255, 255, 255, 0.08);
  --sipt-text: #e5eefc;
  --sipt-muted: #9fb2ce;
  --sipt-accent: #61c4ff;
  --sipt-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --sipt-radius: 20px;
  --sipt-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sipt-font);
  color: var(--sipt-text);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.12), transparent 26%),
    linear-gradient(180deg, #050c17 0%, var(--sipt-bg) 100%);
}

a {
  color: var(--sipt-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 12px 14px;
  top: 8px;
  width: auto;
  z-index: 100000;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  box-shadow: var(--sipt-shadow);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto;
  border: 1px solid var(--sipt-line);
  border-radius: var(--sipt-radius);
  background: linear-gradient(180deg, rgba(17, 29, 50, 0.92) 0%, rgba(9, 18, 33, 0.9) 100%);
  box-shadow: var(--sipt-shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
}

.site-description {
  margin: 6px 0 0;
  color: var(--sipt-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--sipt-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sipt-line);
  text-decoration: none;
}

.site-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 28px;
  flex: 1;
}

.content-card,
.entry-card,
.page-card,
.empty-card,
.not-found-card {
  padding: 24px;
  border: 1px solid var(--sipt-line);
  border-radius: var(--sipt-radius);
  background: var(--sipt-surface);
  box-shadow: var(--sipt-shadow);
  backdrop-filter: blur(16px);
}

.entry-card + .entry-card {
  margin-top: 20px;
}

.entry-title,
.archive-title,
.page-title,
.search-title,
.not-found-title {
  margin-top: 0;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.2;
}

.page-header,
.archive-header,
.search-header {
  margin-bottom: 22px;
}

.entry-meta,
.archive-description,
.search-description,
.not-found-text,
.entry-summary {
  color: var(--sipt-muted);
  line-height: 1.7;
}

.entry-content {
  color: var(--sipt-text);
  line-height: 1.8;
}

.entry-content > *:first-child,
.page-card > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child,
.page-card > *:last-child {
  margin-bottom: 0;
}

.posts-navigation,
.post-navigation {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.posts-navigation a,
.post-navigation a,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(97, 196, 255, 0.14);
  color: #dff5ff;
  border: 1px solid rgba(97, 196, 255, 0.2);
  text-decoration: none;
}

.site-footer {
  padding: 18px 24px;
  color: var(--sipt-muted);
  text-align: center;
  line-height: 1.6;
}

.sipt-studio-only {
  display: block;
}

.sipt-studio-view .site-content,
.sipt-studio-view .site-header,
.sipt-studio-view .site-footer {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.sipt-studio-view .site-shell {
  min-height: auto;
}

.sipt-studio-view .site-content {
  max-width: none;
}

.sipt-studio-view footer.site-footer,
.sipt-studio-view header.site-header {
  display: none;
}

.search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.search-form label {
  flex: 1 1 280px;
}

.search-form input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--sipt-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sipt-text);
}

.search-form input[type="submit"] {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(97, 196, 255, 0.2);
  background: rgba(97, 196, 255, 0.14);
  color: #dff5ff;
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-header,
  .site-content,
  .site-footer {
    width: min(100%, calc(100% - 20px));
  }
}
