/*
Theme Name: Elevent Blog
Theme URI: https://eleventrecord.fr
Author: Elevent Record
Author URI: https://eleventrecord.fr
Description: Thème sur-mesure pour le blog d'Elevent Record. Reprend la direction artistique du site principal (dark theme, gradient rose→jaune, Poppins + Roboto) et intègre un maillage interne SEO poussé vers eleventrecord.fr. Chaque article se met automatiquement en page dans l'identité de la marque.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: elevent-blog
Tags: blog, seo, custom-menu, featured-images, dark
*/

/* ============================================================
   ELEVENT BLOG — Design system aligné sur eleventrecord.fr
   Poppins + Roboto | Dark theme | Gradient #FA03C1 → #F2B929
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --surface: #191919;
  --surface2: #111111;
  --white: #FFFFFF;
  --gray: #B9B9B9;
  --muted: #ADADAD;
  --dark-muted: #7A7A7A;
  --warm: #FFF2E2;
  --cool: #EEEEEE;
  --pink-light: #FFE2FC;
  --divider: #2E2E2E;
  --gradient: linear-gradient(236deg, #FA03C1 0%, #F2B929 100%);
  --pink: #FA03C1;
  --gold: #F2B929;
  --radius: 25px;
  --radius-sm: 16px;
  --font: 'Poppins', Sans-serif;
  --font2: 'Roboto', Sans-serif;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.14);
  --transition: .25s ease;
  --wrap: 1180px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gradient); color: #000; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 600; font-size: 13px;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px; display: block;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==============================  NAVBAR  ============================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), top .3s ease;
}
.navbar-logo img { height: 38px; width: auto; transition: opacity var(--transition); }
.navbar-logo:hover img { opacity: .8; }

.navbar-nav { display: flex; align-items: center; gap: 30px; list-style: none; }
.navbar-nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.navbar-nav li { list-style: none; margin: 0; padding: 0; display: contents; }
.navbar-nav a {
  font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,0.85);
  transition: color var(--transition); position: relative; white-space: nowrap;
}
.navbar-nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--gradient); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.navbar-nav a:hover { color: var(--white); }
.navbar-nav a:hover::after { transform: scaleX(1); }
.navbar-nav a.current { color: var(--white); font-weight: 500; }
.navbar-nav a.current::after { transform: scaleX(1); }

.btn-cta {
  background: var(--gradient); color: #000; font-family: var(--font);
  font-weight: 600; font-size: 13.5px; padding: 10px 20px; border-radius: 203px;
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-cta:hover { opacity: .9; transform: scale(1.02) translateY(-1px); box-shadow: 0 6px 20px rgba(250,3,193,0.3); }
.btn-cta::after { display: none; }
.btn-cta svg { width: 13px; height: 13px; fill: currentColor; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; display: block; }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.97);
  z-index: 1050; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 400; color: var(--white); transition: opacity var(--transition); }
.mobile-menu a:hover { opacity: .6; }
.mobile-menu .btn-cta { font-size: 16px; padding: 14px 32px; margin-top: 6px; }
.mobile-menu-close {
  position: absolute; top: 22px; right: 28px; font-size: 32px; cursor: pointer;
  color: var(--white); background: none; border: none; line-height: 1; opacity: .7;
  transition: opacity var(--transition);
}
.mobile-menu-close:hover { opacity: 1; }

/* ==============================  PAGE SHELL  ============================== */
.site-main { padding-top: 66px; min-height: 60vh; }

/* ==============================  BLOG HERO  ============================== */
.blog-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius); margin: 10px;
  padding: 88px 6% 72px;
  background: radial-gradient(1200px 500px at 15% -10%, rgba(250,3,193,0.18), transparent 60%),
              radial-gradient(1000px 500px at 95% 0%, rgba(242,185,41,0.12), transparent 55%),
              var(--surface2);
  border: 1px solid rgba(255,255,255,0.06);
}
.blog-hero-inner { max-width: 720px; position: relative; z-index: 2; }
.blog-hero h1 {
  font-size: clamp(30px, 4.2vw, 56px); font-weight: 700; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 16px;
}
.blog-hero p {
  font-family: var(--font2); font-size: 16px; color: var(--gray);
  max-width: 560px; line-height: 1.75;
}

/* ==============================  BREADCRUMB  ============================== */
.breadcrumb { padding: 22px 0 4px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-family: var(--font2); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--dark-muted); }
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb li[aria-current] { color: var(--gray); }

/* ==============================  POST GRID (listing)  ============================== */
.posts-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
@media (min-width: 992px) { .posts-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 56px; align-items: start; } }

.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(250,3,193,0.28); box-shadow: 0 18px 44px rgba(0,0,0,0.4); }
.post-card-media { aspect-ratio: 16/10; overflow: hidden; background: #0d0d0d; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media--placeholder { background: var(--gradient); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.post-card-cat {
  font-size: 10.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--pink); align-self: flex-start;
}
.post-card h2, .post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; }
.post-card h2 a, .post-card h3 a { transition: color var(--transition); }
.post-card:hover h2 a, .post-card:hover h3 a { color: #fff; }
.post-card-excerpt { font-family: var(--font2); font-size: 13.5px; color: var(--gray); line-height: 1.65; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dark-muted); font-family: var(--font2); margin-top: 4px; }
.post-card-more {
  font-size: 13px; font-weight: 600; color: var(--pink);
  display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition);
}
.post-card-more:hover { gap: 11px; }

/* Featured (first post large) */
.post-card--featured { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .post-card--featured { flex-direction: row; }
  .post-card--featured .post-card-media { aspect-ratio: auto; flex: 0 0 48%; }
  .post-card--featured .post-card-body { justify-content: center; padding: 34px 36px; }
  .post-card--featured h2 { font-size: 26px; }
  .post-card--featured .post-card-excerpt { font-size: 14.5px; }
}

/* ==============================  SINGLE ARTICLE  ============================== */
.article-shell { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 24px 0 80px; }
@media (min-width: 992px) { .article-shell { grid-template-columns: minmax(0,1fr) 320px; gap: 56px; align-items: start; } }

.article-header { margin: 8px 0 28px; }
.article-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--pink); display: inline-block; margin-bottom: 14px;
}
.article-title {
  font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; line-height: 1.12;
  letter-spacing: -1.4px; margin-bottom: 18px;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-family: var(--font2); font-size: 13px; color: var(--dark-muted);
  padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dark-muted); }
.article-featured { border-radius: var(--radius-sm); overflow: hidden; margin: 26px 0 34px; border: 1px solid rgba(255,255,255,0.06); }
.article-featured img { width: 100%; display: block; }

/* Article typography */
.article-body { font-family: var(--font2); font-size: 16.5px; line-height: 1.8; color: #d9d9d9; }
.article-body > * + * { margin-top: 22px; }
.article-body p { color: #d0d0d0; }
.article-body a {
  color: #fff; background-image: var(--gradient); background-size: 100% 1.5px;
  background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 1px;
  transition: opacity var(--transition);
}
.article-body a:hover { opacity: .8; }
.article-body h2 {
  font-family: var(--font); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  color: #fff; letter-spacing: -.6px; line-height: 1.25; margin-top: 46px; padding-top: 6px;
}
.article-body h3 {
  font-family: var(--font); font-size: clamp(19px, 2.1vw, 23px); font-weight: 600;
  color: #fff; letter-spacing: -.3px; margin-top: 36px;
}
.article-body h4 { font-family: var(--font); font-size: 17px; font-weight: 600; color: #fff; margin-top: 28px; }
.article-body ul, .article-body ol { padding-left: 4px; display: flex; flex-direction: column; gap: 12px; }
.article-body ul li { position: relative; padding-left: 26px; color: #d0d0d0; }
.article-body ul li::before {
  content: ''; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gradient);
}
.article-body ol { counter-reset: li; }
.article-body ol li { position: relative; padding-left: 38px; counter-increment: li; color: #d0d0d0; }
.article-body ol li::before {
  content: counter(li); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(250,3,193,0.14);
  color: var(--pink); font-family: var(--font); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.article-body blockquote {
  border-left: 3px solid transparent; border-image: var(--gradient) 1;
  padding: 6px 0 6px 24px; margin-left: 0; font-size: 19px; font-style: italic;
  color: #fff; line-height: 1.6;
}
.article-body img { border-radius: var(--radius-sm); margin: 12px 0; }
.article-body figure figcaption { font-size: 12.5px; color: var(--dark-muted); text-align: center; margin-top: 8px; }
.article-body code {
  background: #1a1a1a; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  padding: 2px 7px; font-size: 14px; color: var(--gold);
}
.article-body pre { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; overflow-x: auto; }
.article-body pre code { background: none; border: none; padding: 0; color: #eee; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid rgba(255,255,255,0.1); padding: 10px 14px; text-align: left; }
.article-body th { background: #151515; color: #fff; font-family: var(--font); font-weight: 600; }
.article-body hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 40px 0; }

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); }
.article-tags a {
  font-size: 12px; color: var(--muted); background: #141414; border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px; border-radius: 100px; transition: border-color var(--transition), color var(--transition);
}
.article-tags a:hover { border-color: rgba(250,3,193,0.4); color: #fff; }

/* Share */
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 13px; color: var(--dark-muted); font-family: var(--font2); }
.article-share a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.article-share a:hover { border-color: var(--pink); background: rgba(250,3,193,0.12); }
.article-share a svg { width: 15px; height: 15px; fill: var(--gray); }
.article-share a:hover svg { fill: #fff; }

/* ==============================  CONVERSION CTA (money block)  ============================== */
.convert-cta {
  margin: 44px 0; border-radius: var(--radius); padding: 40px 40px;
  background: radial-gradient(700px 300px at 10% 0%, rgba(250,3,193,0.16), transparent 60%), var(--surface);
  border: 1px solid rgba(250,3,193,0.22);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.convert-cta-txt { flex: 1 1 340px; }
.convert-cta .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.convert-cta h2, .convert-cta h3 { font-family: var(--font); font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; color: #fff; letter-spacing: -.6px; line-height: 1.2; margin: 0 0 10px; }
.convert-cta p { font-family: var(--font2); font-size: 14.5px; color: var(--gray); line-height: 1.65; margin: 0; }
.convert-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.convert-cta .btn-lg {
  background: var(--gradient); color: #000; font-weight: 700; font-size: 14px;
  padding: 15px 30px; border-radius: 203px; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(250,3,193,0.32); transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap; justify-content: center;
}
.convert-cta .btn-lg:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(250,3,193,0.5); opacity: .93; }
.convert-cta .btn-lg svg { width: 13px; height: 13px; fill: currentColor; }
.convert-cta .btn-ghost {
  color: #fff; font-weight: 500; font-size: 13.5px; padding: 13px 26px; border-radius: 203px;
  border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.convert-cta .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.convert-cta .btn-ghost svg { width: 13px; height: 13px; fill: var(--gray); }

/* Inline mid-article CTA (slimmer) */
.inline-cta {
  margin: 34px 0; padding: 22px 26px; border-radius: var(--radius-sm);
  background: rgba(250,3,193,0.07); border: 1px solid rgba(250,3,193,0.2);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.inline-cta p { font-family: var(--font2); font-size: 14.5px; color: #eee; margin: 0; flex: 1 1 260px; line-height: 1.55; }
.inline-cta p strong { color: #fff; font-family: var(--font); }
.inline-cta a {
  background: var(--gradient); color: #000; font-weight: 700; font-size: 13px;
  padding: 12px 22px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px; transition: transform var(--transition), opacity var(--transition);
}
.inline-cta a:hover { transform: translateY(-1px); opacity: .92; }
.inline-cta a svg { width: 12px; height: 12px; fill: currentColor; }

/* ==============================  AUTHOR BOX  ============================== */
.author-box {
  margin-top: 40px; padding: 26px; border-radius: var(--radius-sm);
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.07);
  display: flex; gap: 20px; align-items: center;
}
.author-box-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; color: #000; }
.author-box-name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.author-box-bio { font-family: var(--font2); font-size: 13px; color: var(--gray); line-height: 1.6; }
.author-box-bio a { color: var(--pink); }

/* ==============================  RELATED POSTS (maillage inter-articles)  ============================== */
.related { padding: 56px 0 8px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 20px; }
.related-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.related-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.6px; }
.related-head a { font-size: 13px; font-weight: 600; color: var(--pink); display: inline-flex; gap: 6px; align-items: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }

/* ==============================  SIDEBAR (maillage services)  ============================== */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 88px; }
@media (max-width: 991px) { .sidebar { position: static; } }
.widget {
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm); padding: 24px 22px;
}
.widget-title {
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; width: 16px; height: 2px; background: var(--gradient); border-radius: 2px; }
.widget ul { display: flex; flex-direction: column; gap: 2px; }
.widget ul li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font2); font-size: 13.5px; color: var(--gray);
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color var(--transition), padding var(--transition);
}
.widget ul li:last-child a { border-bottom: none; }
.widget ul li a:hover { color: #fff; padding-left: 5px; }
.widget ul li a .arw { color: var(--pink); opacity: 0; transition: opacity var(--transition); }
.widget ul li a:hover .arw { opacity: 1; }

/* Services widget (deep links to main site) */
.widget-services li a strong { color: #fff; font-family: var(--font); font-weight: 500; font-size: 13.5px; }

/* Devis widget (money) */
.widget-devis {
  background: radial-gradient(500px 240px at 100% 0%, rgba(250,3,193,0.2), transparent 60%), var(--surface);
  border-color: rgba(250,3,193,0.25); text-align: center;
}
.widget-devis h3 { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.4px; margin-bottom: 8px; }
.widget-devis p { font-family: var(--font2); font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.widget-devis .btn-cta { width: 100%; justify-content: center; padding: 13px; }
.widget-devis .rating { font-size: 12px; color: var(--gold); margin-top: 12px; }

.widget-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 0; }
.widget-toc ol li { counter-increment: toc; }
.widget-toc ol li a { font-size: 13px; }
.widget-toc ol li a::before { content: counter(toc, decimal-leading-zero); color: var(--pink); font-family: var(--font); font-weight: 600; font-size: 11px; margin-right: 8px; }

/* ==============================  PAGINATION  ============================== */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 20px 0 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--gray);
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.pagination a.page-numbers:hover { border-color: rgba(250,3,193,0.4); color: #fff; }
.pagination .page-numbers.current { background: var(--gradient); color: #000; border-color: transparent; font-weight: 700; }
.pagination .dots { background: none; border: none; }

/* ==============================  PAGE (static)  ============================== */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -1.4px; line-height: 1.1; }
.page-content { max-width: 760px; margin: 0 auto; padding: 30px 0 80px; }

/* ==============================  404 / SEARCH EMPTY  ============================== */
.notice-block { text-align: center; padding: 90px 24px; max-width: 620px; margin: 0 auto; }
.notice-block .big { font-size: clamp(60px, 12vw, 130px); font-weight: 700; line-height: 1; letter-spacing: -4px; }
.notice-block h1 { font-size: 26px; font-weight: 700; margin: 10px 0 14px; letter-spacing: -.6px; }
.notice-block p { font-family: var(--font2); color: var(--gray); font-size: 15px; line-height: 1.7; margin-bottom: 26px; }

.searchform { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.searchform input[type="search"] {
  flex: 1; background: var(--surface2); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 13px 20px; color: #fff; font-family: var(--font2); font-size: 14px;
}
.searchform input[type="search"]:focus { outline: none; border-color: rgba(250,3,193,0.5); }
.searchform button { border: none; }

/* ==============================  FOOTER  ============================== */
.site-footer { background: var(--surface2); padding: 60px 40px 24px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--divider);
}
.footer-brand-logo img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-family: var(--font2); font-size: 13px; color: var(--dark-muted); line-height: 1.65; max-width: 280px; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col nav, .footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--dark-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dark-muted); transition: color var(--transition); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 20px auto 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--dark-muted);
}
.footer-bottom strong { color: var(--white); }
.footer-bottom a { color: inherit; opacity: .7; transition: opacity var(--transition); }
.footer-bottom a:hover { opacity: 1; }

/* ==============================  FADE-IN  ============================== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ==============================  RESPONSIVE  ============================== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .navbar { padding: 12px 18px; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .blog-hero { margin: 8px; padding: 66px 24px 48px; }
  .convert-cta { padding: 30px 24px; }
  .convert-cta-actions { width: 100%; }
  .convert-cta .btn-lg, .convert-cta .btn-ghost { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 20px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wrap { padding: 0 18px; }
}
