/*
Theme Name: Goke
Theme URI:
Author: Goke
Description: Goke & His Thoughts — A clean, minimal personal blog with dark mode.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS Variables ─────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f7f6f3;
  --border:      #eae7e1;
  --text:        #1a1714;
  --text-muted:  #888078;
  --text-light:  #bbb4a8;
  --link:        #1a1714;
  --link-hover:  #888078;

  --serif:       'Playfair Display', Georgia, serif;
  --body-font:   'Lora', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;

  --max-width:   680px;
  --wide-width:  900px;
  --nav-height:  64px;
  --ease:        0.2s ease;
}

[data-theme="dark"] {
  --bg:          #111110;
  --bg-alt:      #191917;
  --border:      #2c2a27;
  --text:        #f0ece5;
  --text-muted:  #8a8278;
  --text-light:  #5a5650;
  --link:        #f0ece5;
  --link-hover:  #8a8278;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1.05rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: background var(--ease), color var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--ease), opacity var(--ease); }
a:hover { color: var(--link-hover); }

/* ── Layout ────────────────────────────────────── */
.wrap       { max-width: var(--max-width);  margin: 0 auto; padding: 0 1.5rem; }
.wrap--wide { max-width: var(--wide-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: background var(--ease), border-color var(--ease);
}
.site-header .wrap--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.site-logo:hover { color: var(--text); opacity: 0.7; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.site-nav li a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-nav li a:hover,
.site-nav li.current-menu-item a { color: var(--text); }

.nav-right { display: flex; flex-direction: row; align-items: center; gap: 1.8rem; }

/* ── Dark Toggle ───────────────────────────────── */
.dark-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  width: 40px;
  height: 22px;
  cursor: pointer;
  position: relative;
  transition: border-color var(--ease);
  flex-shrink: 0;
}
.dark-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.25s ease, background var(--ease);
}
[data-theme="dark"] .dark-toggle::after {
  transform: translateX(18px);
  background: var(--text);
}

/* ── Home Hero ─────────────────────────────────── */
.home-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.home-hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.home-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.home-hero__title em { font-style: italic; }
.home-hero__tagline {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Post List ─────────────────────────────────── */
.posts-section { padding: 3rem 0; }
.posts-label {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.post-list { list-style: none; }
.post-item {
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border);
}
.post-item:last-child { border-bottom: none; }
.post-item__meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  display: inline-block;
}
.post-item__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.post-item__title a { color: var(--text); }
.post-item__title a:hover { opacity: 0.55; color: var(--text); }
.post-item__excerpt {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}
.read-more:hover { color: var(--text); border-color: var(--text); }

/* ── Archive Header ────────────────────────────── */
.archive-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.archive-header__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.archive-header__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.archive-header__title em { font-style: italic; }

/* ── Single Post ───────────────────────────────── */
.single-post { padding: 4rem 0 6rem; }

.single-post__meta {
  font-family: var(--sans);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.single-post__category a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}
.single-post__category a:hover { color: var(--text); border-color: var(--text); }

.single-post__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.single-post__featured { margin-bottom: 3rem; border-radius: 3px; overflow: hidden; }
.single-post__featured img { width: 100%; }

/* ── Post Content ──────────────────────────────── */
.post-content { font-family: var(--body-font); font-size: 1.05rem; line-height: 1.88; }
.post-content p  { margin-bottom: 1.7rem; }
.post-content h2 {
  font-family: var(--serif);
  font-size: 1.65rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}
.post-content h3 {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 600;
  margin: 2.5rem 0 0.8rem;
}
.post-content strong { font-weight: 600; color: var(--text); }
.post-content em    { font-style: italic; }
.post-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.post-content a:hover { text-decoration-color: var(--text); }
.post-content blockquote {
  border-left: 2px solid var(--text-light);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
}
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.7rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content img { width: 100%; border-radius: 3px; margin: 2.5rem 0; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

/* ── Post Footer ───────────────────────────────── */
.single-post__footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.post-nav {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.post-nav span {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.post-nav:hover { opacity: 0.6; }

/* ── Static Page ───────────────────────────────── */
.page-content { padding: 4rem 0 6rem; }
.page-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* ── Pagination ────────────────────────────────── */
.pagination {
  padding: 3rem 0 1rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.pagination a, .pagination span {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  text-decoration: none;
  transition: all var(--ease);
}
.pagination a:hover, .pagination .current {
  color: var(--text);
  border-color: var(--text);
}

/* ── Footer ────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  transition: border-color var(--ease);
}
.site-footer .wrap--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.73rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Empty / 404 ───────────────────────────────── */
.no-content {
  padding: 5rem 0;
  text-align: center;
  font-family: var(--body-font);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.post-item { animation: fadeUp 0.5s ease both; }

/* ── Share Buttons ─────────────────────────────── */
.share-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
}
.share-btn:hover              { color: var(--text); border-color: var(--text); }
.share-btn--x:hover           { color: #000; border-color: #000; }
.share-btn--facebook:hover    { color: #1877f2; border-color: #1877f2; }
.share-btn--whatsapp:hover    { color: #25d366; border-color: #25d366; }
.share-btn--linkedin:hover    { color: #0a66c2; border-color: #0a66c2; }
[data-theme="dark"] .share-btn--x:hover       { color: #fff; border-color: #fff; }
[data-theme="dark"] .share-btn--facebook:hover { color: #5ba4f5; border-color: #5ba4f5; }

/* ── Comments ───────────────────────────────────── */
.comments-section {
  padding: 4rem 0 5rem;
}
.comments-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
/* Comment list */
.comment-list { list-style: none; }
.comment-list .comment {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-list .comment:last-child { border-bottom: none; }

.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.comment-author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.comment-author .fn {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  font-style: normal;
}
.comment-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.comment-meta a { color: var(--text-light); text-decoration: none; }
.comment-content p {
  font-family: var(--body-font);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.reply a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: all var(--ease);
}
.reply a:hover { color: var(--text); border-color: var(--text); }

/* Nested comments */
.children { margin-left: 2rem; list-style: none; border-left: 1px solid var(--border); padding-left: 1.5rem; }

/* ── Comment Form ────────────────────────────────── */
#respond {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
#reply-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
#reply-title small a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 0.8rem;
}
.comment-form { display: flex; flex-direction: column; gap: 1rem; }
.comment-form p { display: flex; flex-direction: column; gap: 0.3rem; }
.comment-form label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 3px rgba(136,128,120,0.1);
}
.comment-form textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--text-light); }

.comment-form-cookies-consent {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
}
.comment-form-cookies-consent input { width: auto; }
.comment-form-cookies-consent label {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

#submit {
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
}
#submit:hover { opacity: 0.75; transform: translateY(-1px); }

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-height: 56px; }
  .site-nav { gap: 1.2rem; }
  .home-hero { padding: 3rem 0 2.5rem; }
  .single-post { padding: 2.5rem 0 4rem; }
  .single-post__footer { flex-direction: column; }
  .site-footer .wrap--wide { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════
   UPDATES — Header, Footer, Share, Comments, More
   ════════════════════════════════════════════════ */

/* ── Header: NoteSphere Style ───────────────────── */
.site-header {
  height: var(--nav-height);
  padding: 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: var(--bg);
  transition: background var(--ease), border-color var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1.5rem;
}

/* Logo — text, left aligned */
.site-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--ease);
}
.site-logo:hover { opacity: 0.7; color: var(--text); }

/* Right side */
.site-header__right {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 2rem;
}

/* Nav */
.site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.site-nav li a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}
.site-nav li a:hover,
.site-nav li.current-menu-item a { color: var(--text); }

/* ── Share Buttons — Correct Definition ────────── */
.share-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.42rem 1.1rem;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.share-btn svg { flex-shrink: 0; }
.share-btn:hover              { color: var(--text); border-color: var(--text); }
.share-btn--x:hover           { color: #000; border-color: #000; }
.share-btn--facebook:hover    { color: #1877f2; border-color: #1877f2; }
.share-btn--whatsapp:hover    { color: #25d366; border-color: #25d366; }
.share-btn--linkedin:hover    { color: #0a66c2; border-color: #0a66c2; }
[data-theme="dark"] .share-btn--x:hover { color: #fff; border-color: #fff; }

/* ── Comments — Desktop Fix ────────────────────── */
.comments-wrap {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 5rem;
  transition: background var(--ease), border-color var(--ease);
}
#comments { }
.comments-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.comment-list { list-style: none; }
.comment-list .comment {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-list .comment:last-child { border-bottom: none; }
.comment-author.vcard {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.comment-author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.comment-author .fn {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  font-style: normal;
}
.comment-metadata {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 0.9rem;
  padding-left: calc(36px + 0.75rem);
}
.comment-metadata a { color: var(--text-light); text-decoration: none; }
.comment-body .comment-content p {
  font-family: var(--body-font);
  font-size: 0.97rem;
  line-height: 1.77;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.reply { margin-top: 0.7rem; }
.reply a, .comment-reply-link {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: all var(--ease);
}
.reply a:hover { color: var(--text); border-color: var(--text); }
.children {
  margin-left: 2rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
  list-style: none;
}

/* Comment Form */
#respond {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
#reply-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
}
#reply-title small { display: block; margin-top: 0.3rem; }
#reply-title small a {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.comment-form-comment,
.comment-form-cookies-consent,
.form-submit { grid-column: 1 / -1; }
.comment-form p { display: flex; flex-direction: column; gap: 0.3rem; margin: 0; }
.comment-form label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 3px rgba(136,128,120,0.1);
}
.comment-form textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--text-light); }
.comment-form-cookies-consent {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
}
.comment-form-cookies-consent input { width: auto; }
.comment-form-cookies-consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
#submit {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  padding: 0.72rem 2rem;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
}
#submit:hover { opacity: 0.75; transform: translateY(-1px); }

/* ── More Reading Section ───────────────────────── */
.more-reading {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  transition: background var(--ease), border-color var(--ease);
}
.more-reading__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.more-reading__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
}
.more-reading__tabs {
  display: flex;
  gap: 0.4rem;
}
.more-tab {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--ease);
  user-select: none;
}
.more-tab--active, .more-tab:hover {
  color: var(--text);
  border-color: var(--text);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.more-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.more-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.more-card__image { aspect-ratio: 16/9; overflow: hidden; }
.more-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.more-card:hover .more-card__image img { transform: scale(1.03); }
.more-card__image--empty {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-card__image--empty::after {
  content: '✦';
  font-size: 1.5rem;
  color: var(--text-light);
  opacity: 0.4;
}
.more-card__body { padding: 1.2rem; flex: 1; }
.more-card__meta {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.more-card__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.more-card__excerpt {
  font-family: var(--body-font);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Footer — New Layout ────────────────────────── */
.site-footer { border-top: none; padding: 0; }

.footer-top {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  transition: background var(--ease), border-color var(--ease);
}
.footer-top__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.footer-section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Instagram area */
.footer-ig .sbi-feed-el { /* Smash Balloon override */ }

/* Newsletter */
.footer-newsletter__sub {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
/* Fluent Forms overrides inside footer */
.footer-newsletter .ff-el-form-control,
.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"] {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  font-family: var(--body-font) !important;
  font-size: 0.93rem !important;
  color: var(--text) !important;
  padding: 0.72rem 1rem !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color var(--ease) !important;
}
.footer-newsletter .ff-el-form-control:focus,
.footer-newsletter input:focus {
  border-color: var(--text-muted) !important;
}
.footer-newsletter .ff-btn,
.footer-newsletter .ff-btn-submit,
.footer-newsletter button[type="submit"],
.footer-newsletter input[type="submit"] {
  background: var(--text) !important;
  color: var(--bg) !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--serif) !important;
  font-size: 0.95rem !important;
  font-style: italic !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.6rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: opacity var(--ease) !important;
}
.footer-newsletter .ff-btn:hover { opacity: 0.75 !important; }
.footer-newsletter .ff-el-group label { display: none !important; }
.footer-newsletter .ff-el-group { margin-bottom: 0.75rem !important; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
}
.footer-bottom .wrap--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.footer-copy strong { font-weight: 500; color: var(--text-muted); }
.footer-tagline {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Mobile Updates ────────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  .site-nav { gap: 1.2rem; }
  .site-nav li a { font-size: 0.75rem; }

  /* Share */
  .share-btn { font-size: 0.72rem; padding: 0.38rem 0.85rem; }

  /* Comments form */
  .comment-form { grid-template-columns: 1fr; }

  /* More reading */
  .more-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Footer */
  .footer-top__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom .wrap--wide { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════
   GOKE THEME — FIXES v7
   ════════════════════════════════════════════════ */

/* ── 1. Header ───────────────────────────────────── */
:root { --nav-height: 56px; }
.site-header { height: var(--nav-height); padding: 0; }
.site-header__inner { height: 100%; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.site-header .wrap--wide { padding-top: 0 !important; padding-bottom: 0 !important; max-width: 780px; }
.site-header__right { display: flex; flex-direction: row; align-items: center; gap: 1.8rem; }
.site-nav { display: flex; flex-direction: row; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.dark-toggle { flex-shrink: 0; align-self: center; margin: 0; }

/* ── 2. Single post: remove unnecessary lines ────── */
.share-section { margin-top: 3rem; padding: 1.5rem 0 !important; border-top: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
.single-post__footer { border-top: none !important; padding-top: 1rem; margin-top: 2rem; }
.more-reading { border-top: none !important; }

/* ── 3. Comments ─────────────────────────────────── */
.comments-wrap { background: transparent !important; border-top: none !important; border-bottom: none !important; padding: 0 !important; margin: 0 !important; }
.comments-wrap--inline { margin-top: 2rem; background: transparent !important; border-top: none !important; border-bottom: none !important; padding: 0 0 4rem !important; }
.comments-wrap--inline #comments, #comments { background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { background: var(--bg) !important; }

/* ══════════════════════════════════════════════════
   HOME HERO
══════════════════════════════════════════════════ */
.home-hero {
  position: relative;
  width: 100%;
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.75) 100%
  );
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.home-hero__cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}
.home-hero__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 640px;
}
.home-hero__title a { color: inherit; text-decoration: none; }
.home-hero__title a:hover { opacity: 0.85; }
.home-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.home-hero__meta span {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
}
.home-hero__author { font-weight: 500; }
.home-hero__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  display: inline-block;
  flex-shrink: 0;
}
.home-hero__avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  object-fit: cover;
}

/* ══════════════════════════════════════════════════
   BLOG SECTION
══════════════════════════════════════════════════ */
.blog-section {
  padding: 4rem 0 5rem;
}

/* Section heading */
.blog-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.blog-section__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.blog-section__sub {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Filter tabs row */
.blog-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.blog-filter-tab {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.blog-filter-tab:hover { color: var(--text); }
.blog-filter-tab--active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* 3-column post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Card */
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--ease);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.blog-card:hover { opacity: 0.88; }

/* Card image */
.blog-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__image img { transform: scale(1.03); }
.blog-card__image--empty {
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
}

/* Category badge on image */
.blog-card__cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

/* Card body */
.blog-card__body {
  padding: 1.1rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.blog-card__dot {
  width: 2.5px; height: 2.5px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}
.blog-card__title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.blog-card__excerpt {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}
.blog-card__avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}
.blog-pagination a,
.blog-pagination span {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--ease);
}
.blog-pagination a:hover,
.blog-pagination .current {
  color: var(--text);
  border-color: var(--text);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer { border-top: none !important; padding: 0 !important; }
.site-footer .wrap--wide { display: block !important; }
.footer-top {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
  transition: background var(--ease), border-color var(--ease);
}
.footer-main-grid--single {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}
.footer-right-col { display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.footer-newsletter__sub { font-family: var(--body-font); font-style: italic; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.footer-newsletter .ff-el-form-control,
.footer-newsletter input[type="email"],
.footer-newsletter input[type="text"] { background: var(--bg) !important; border: 1px solid var(--border) !important; border-radius: 6px !important; font-family: var(--body-font) !important; font-size: 0.9rem !important; color: var(--text) !important; padding: 0.65rem 1rem !important; width: 100% !important; outline: none !important; box-sizing: border-box !important; transition: border-color var(--ease) !important; }
.footer-newsletter .ff-el-form-control:focus, .footer-newsletter input:focus { border-color: var(--text-muted) !important; }
.footer-newsletter .ff-btn, .footer-newsletter .ff-btn-submit, .footer-newsletter button[type="submit"], .footer-newsletter input[type="submit"] { background: var(--text) !important; color: var(--bg) !important; border: none !important; border-radius: 6px !important; font-family: var(--serif) !important; font-size: 0.93rem !important; font-style: italic !important; font-weight: 600 !important; padding: 0.65rem 1.4rem !important; cursor: pointer !important; width: 100% !important; margin-top: 0.4rem !important; transition: opacity var(--ease) !important; }
.footer-newsletter .ff-btn:hover { opacity: 0.75 !important; }
.footer-newsletter .ff-el-group label { display: none !important; }
.footer-newsletter .ff-el-group { margin-bottom: 0.6rem !important; }
.footer-social-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.footer-social-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1.5px solid var(--border); border-radius: 10px; color: var(--text-muted); text-decoration: none; transition: color var(--ease), border-color var(--ease); flex-shrink: 0; }
.footer-social-icon svg { flex-shrink: 0; }
.footer-social-icon:hover { color: var(--text); border-color: var(--text); }
.footer-section-label { font-family: var(--sans); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem; text-align: center; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; }
.footer-bottom .wrap--wide { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap; gap: 0.5rem; max-width: 780px; }
.footer-copy { font-family: var(--sans); font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.04em; }
.footer-copy strong { font-weight: 500; color: var(--text-muted); }
.footer-tagline { font-family: var(--body-font); font-style: italic; font-size: 0.8rem; color: var(--text-light); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .home-hero { height: 420px; }
}

@media (max-width: 600px) {
  :root { --nav-height: 52px; }
  .home-hero { height: 360px; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-filters { flex-direction: column; align-items: flex-start; }
  .footer-bottom .wrap--wide { flex-direction: column !important; text-align: center; }
  .comments-wrap--inline { padding: 2rem 0 3rem !important; }
}
