/* ============================================================
   12TesterPro — Blog & WordPress additions
   Loaded after assets/css/styles.css and reuses its design tokens.
   ============================================================ */

/* ---------- WordPress essentials ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 1023px) {
  body.admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
}
@media (max-width: 782px) {
  body.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
}

/* ---------- Hero shared by blog / single / pages ---------- */
.blog-hero,
.post-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #f4f6ff 0%, var(--bg-tint) 100%);
}
.blog-hero-glow,
.post-hero-glow,
.page-hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -220px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55), transparent 70%);
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
}
.blog-hero-inner,
.post-hero-inner { position: relative; z-index: 1; }

.blog-title {
  margin: 16px 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.blog-intro {
  max-width: 640px;
  margin: 0 0 26px;
  font-size: 17px;
  color: var(--ink-2);
}
.notfound-hero .blog-intro { margin-bottom: 22px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------- Search form ---------- */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 0 28px;
}
.search-label { flex: 1 1 auto; }
.search-field {
  width: 100%;
  padding: 13px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.search-field::placeholder { color: var(--ink-3); }
.search-field:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}
.search-submit { flex: 0 0 auto; padding: 13px 26px; }

/* ---------- Category filter chips ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.chip:hover {
  color: var(--brand-1);
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}
.chip.is-active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}
.chip-count {
  padding: 2px 7px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(14, 21, 38, 0.07);
}
.chip.is-active .chip-count { background: rgba(255, 255, 255, 0.24); }

/* ---------- Blog listing ---------- */
.blog-section { padding: 64px 0 84px; }

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.28);
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grad-soft);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--brand-1);
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.16), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.16), transparent 55%),
    linear-gradient(135deg, #eef1fe, #f7f8ff);
}

.post-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 24px 24px;
}

.post-cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-1);
  background: rgba(79, 70, 229, 0.1);
  border-radius: 999px;
}
.post-cat:hover { background: rgba(79, 70, 229, 0.18); }

.post-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand-1); }

.post-card-excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- Pagination ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.pagination .page-numbers:hover {
  color: var(--brand-1);
  border-color: rgba(79, 70, 229, 0.45);
}
.pagination .page-numbers.current {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}
.pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 4px;
  background: transparent;
  border-color: transparent;
}

/* ---------- Single post ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand-1); }

.post-hero-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.post-single-title {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.post-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-3);
}
.meta-author {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--ink);
}
.meta-avatar,
.meta-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.post-single-thumb {
  max-width: 900px;
  margin: 36px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-single-img { width: 100%; height: auto; }

.post-single-body { padding: 48px 0 80px; }

/* ---------- Article typography ---------- */
.entry-content {
  max-width: 760px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.entry-content p { margin: 0 0 1.2em; }
.entry-content strong { color: var(--ink); }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.entry-content h2 { margin: 1.9em 0 0.6em; font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; }
.entry-content h3 { margin: 1.6em 0 0.5em; font-size: clamp(20px, 2.6vw, 23px); font-weight: 700; }
.entry-content h4 { margin: 1.4em 0 0.5em; font-size: 18px; font-weight: 700; }
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.3em;
  padding-left: 1.4em;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--brand-1); }

.entry-content a {
  color: var(--brand-1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: var(--brand-2); }

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  font-size: 17.5px;
  color: var(--ink);
  background: var(--bg-tint);
  border-left: 4px solid var(--brand-1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { font-size: 14px; color: var(--ink-3); }

.entry-content code {
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: #4532c6;
  background: #f2f4fa;
  border-radius: 6px;
}
.entry-content pre {
  margin: 1.6em 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #e6e9f2;
  background: var(--ink);
  border-radius: var(--radius-sm);
}
.entry-content pre code { padding: 0; color: inherit; background: none; }

.entry-content img { height: auto; border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption,
.entry-content .wp-caption-text {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
}

.entry-content table {
  width: 100%;
  margin: 1.6em 0;
  font-size: 15px;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--line);
}
.entry-content th {
  font-family: var(--font-head);
  background: var(--bg-soft);
}

.entry-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
}
.page-links-title { color: var(--ink-3); }
.page-links a,
.page-links > span:not(.page-links-title) {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ---------- Tags, author, post navigation ---------- */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 34px auto 0;
}
.post-tags-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.post-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag-list a {
  display: inline-flex;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-1);
  background: var(--bg-tint);
  border-radius: 999px;
}
.post-tag-list a:hover { background: rgba(79, 70, 229, 0.16); }

.author-box {
  display: flex;
  gap: 18px;
  max-width: 760px;
  margin: 36px auto 0;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.author-box-avatar,
.author-box img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
.author-box-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.author-box-name { margin: 6px 0 8px; font-size: 19px; }
.author-box-body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.post-nav {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 48px auto 0;
}
.post-nav-item {
  display: block;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.post-nav-item:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.post-nav-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.post-nav-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}
.post-nav-next { text-align: right; }

.related-posts { max-width: 1000px; margin: 64px auto 0; }
.related-posts h2 {
  margin-bottom: 24px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}

/* ---------- Pages ---------- */
.page-title {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.entry-content-page { padding: 48px 0 80px; }
.page-content-section { padding: 8px 0 72px; }

.no-results {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 0 16px;
  text-align: center;
}
.no-results-ico { display: block; margin-bottom: 14px; font-size: 34px; }
.no-results h2 { margin-bottom: 10px; font-size: 24px; }
.no-results p { color: var(--ink-2); font-size: 15.5px; }
.no-results .search-form { margin: 24px auto; }
.no-results .btn { margin-top: 4px; }

/* ---------- Comments ---------- */
.comments-area {
  max-width: 760px;
  margin: 56px auto 0;
}
.comments-title,
.comment-reply-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}
.comment-list {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.comment-list .children {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding-left: 24px;
  list-style: none;
}
.comment-body {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.comment-author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.comment-content { font-size: 15.5px; color: var(--ink-2); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { text-decoration: underline; }
.comment-list .reply a {
  font-size: 13px;
  font-weight: 600;
}
.bypostauthor > .comment-body { border-color: rgba(79, 70, 229, 0.3); }
.comment-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
}
.no-comments { font-size: 15px; color: var(--ink-3); }

.comment-respond { margin-top: 40px; }
.comment-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comment-form p { margin: 0; }
.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fafbff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
  font-size: 13px;
  color: var(--ink-3);
}
.comment-form-cookies-consent label { display: inline; margin-left: 6px; }
.comment-awaiting-moderation { font-size: 13.5px; color: var(--amber); }

/* ---------- Blog responsive breakpoints ---------- */
@media (min-width: 600px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .blog-hero,
  .post-hero,
  .page-hero { padding: 84px 0 68px; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-section { padding: 76px 0 100px; }
  .post-single-body { padding: 56px 0 96px; }
}

@media (max-width: 520px) {
  .search-form { flex-direction: column; }
  .search-submit { width: 100%; }
  .author-box { flex-direction: column; }
  .post-nav-next { text-align: left; }
  .comment-list .children { padding-left: 12px; }
}

/* ---------- Brand logo ---------- */
.brand-mark { filter: drop-shadow(0 4px 10px rgba(14, 21, 38, 0.18)); }
.brand-mark img {
  width: 40px;
  height: 40px;
  max-width: none;
  border-radius: 11px;
}
.footer-brand .brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

/* Keep the eight-item navigation on one line on smaller laptops. */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-wrap { gap: 10px; }
  .site-nav { gap: 14px; }
  .nav-list { gap: 14px; }
  .nav-link { font-size: 14px; }
  .nav-cta { padding: 10px 16px; font-size: 13.5px; }
  .brand-text { font-size: 18px; }
}

/* ---------- About section (front page) ---------- */
.about-section {
  padding: 8px 0 72px;
  background: var(--bg-soft);
}
.about-profile {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-profile-media { display: flex; justify-content: center; }
.about-avatar {
  width: 150px;
  height: 150px;
  max-width: none;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 36px rgba(14, 21, 38, 0.2);
}
.about-profile-copy .eyebrow { margin-bottom: 0; }
.about-profile-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(23px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}
.about-profile-copy p {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- Social links grid ---------- */
.about-social {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-social-head h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}
.about-social-head p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--social-color, var(--brand-1));
  box-shadow: var(--shadow-md);
}
.social-link-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--social-color, var(--brand-1));
  border-radius: 11px;
}
.social-icon { display: block; }
.social-link-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.social-link-body strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.social-link-body small {
  font-size: 12.5px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 520px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .about-profile {
    grid-template-columns: 210px 1fr;
    gap: 40px;
    padding: 40px 44px;
  }
  .about-avatar { width: 180px; height: 180px; }
}
@media (min-width: 900px) {
  .about-section { padding: 24px 0 88px; }
  .about-profile { grid-template-columns: 260px 1fr; gap: 52px; }
  .about-avatar { width: 220px; height: 220px; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Compact social row inside the About card ---------- */
.mini-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.mini-social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--social-color, var(--brand-1));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(14, 21, 38, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mini-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 21, 38, 0.22);
}
.mini-social .social-icon { display: block; }

@media (max-width: 599px) {
  .about-actions { gap: 10px; }
  .about-actions .btn { padding: 12px 18px; font-size: 14.5px; }
  .mini-socials { margin-left: 0; }
}

/* ---------- Marketplace profile cards (About page) ---------- */
.about-marketplaces {
  max-width: 760px;
  margin: 52px auto 0;
  padding: 0;
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 480px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .market-grid { grid-template-columns: repeat(3, 1fr); }
}
.market-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.market-link:hover {
  transform: translateY(-2px);
  border-color: var(--social-color, var(--brand-1));
  box-shadow: var(--shadow-md);
}
.market-link-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: var(--social-color, var(--brand-1));
  border-radius: 11px;
}
.market-link-fiverr { --social-color: #1dbf73; }
.market-link-upwork { --social-color: #108a00; }
.market-link-kwork { --social-color: #6a52e8; }
.market-link-go {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--social-color, var(--brand-1));
  opacity: 0.75;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.market-link:hover .market-link-go {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- About page ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #f4f6ff 0%, var(--bg-tint) 100%);
}
.about-hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -220px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55), transparent 70%);
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
}
.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}
.about-title {
  margin: 16px 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.about-sub {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--ink-2);
}
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-hero-media { display: grid; place-items: center; }
.about-hero-img,
.about-hero-avatar {
  width: 220px;
  height: 220px;
  max-width: none;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 22px 44px rgba(14, 21, 38, 0.22);
}
.entry-content-page.about-content { padding: 34px 0 8px; }

.about-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  max-width: 900px;
  margin: 8px auto 80px;
  padding: 32px 26px;
  background: linear-gradient(120deg, rgba(79, 70, 229, 0.07), rgba(6, 182, 212, 0.07));
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: var(--radius-lg);
}
.about-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); }
.about-cta p { margin: 0; font-size: 15px; color: var(--ink-2); }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) {
  .about-hero { padding: 88px 0 76px; }
  .about-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .about-hero-img { width: 280px; height: 280px; }
  .about-cta { grid-template-columns: 1fr auto; padding: 40px 44px; }
}

/* ---------- Contact section ---------- */
.contact-section {
  padding: 84px 0 88px;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.contact-aside {
  display: grid;
  gap: 18px;
}
.contact-grid .wa-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 28px;
}
.contact-grid .wa-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--brand-1);
  background: var(--bg-tint);
  border-radius: 10px;
}
.contact-detail-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-detail-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-detail-body a,
.contact-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.contact-detail-body a:hover { color: var(--brand-1); }

.contact-form-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form-title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
}
.contact-form-sub {
  margin-bottom: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form p { margin: 0; }
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.contact-form .req { color: var(--brand-1); }
.contact-form .opt { font-weight: 500; color: var(--ink-3); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fafbff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-row { display: grid; gap: 16px; }
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.contact-form-note a { text-decoration: underline; }

.form-notice {
  margin-bottom: 18px;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
}
.form-notice-ok {
  color: #0b6b3f;
  background: #e8f9f0;
  border: 1px solid #b9e9d0;
}
.form-notice-error {
  color: #8a4b00;
  background: #fff4e5;
  border: 1px solid #f6d9ae;
}

@media (min-width: 700px) {
  .contact-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 32px; }
  .contact-form-card { padding: 38px 34px; }
}

/* ---------- Footer ---------- */
.footer { padding: 64px 0 26px; }
.footer-top {
  display: grid;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-tagline {
  max-width: 330px;
  margin: 14px 0 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.footer-marketplaces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.footer-market {
  display: inline-flex;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
}
.footer-market-fiverr { background: linear-gradient(140deg, #1dbf73, #12a05e); }
.footer-market-upwork { background: linear-gradient(140deg, #22b400, #108a00); }
.footer-market-kwork { background: linear-gradient(140deg, #7c6bf0, #5b46d6); }
.footer-market:hover { filter: brightness(1.07); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--brand-1);
  background: var(--bg-tint);
  border-radius: 9px;
}
.footer-contact-list a { font-weight: 600; color: var(--ink-2); }
.footer-contact-list a:hover { color: var(--brand-1); }
.footer-cta {
  margin-top: 18px;
  padding: 11px 20px;
  font-size: 14px;
}
.footer-contact .footer-cta,
.footer-contact .footer-cta:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}
.footer-legal a { color: var(--ink-3); }
.footer-legal a:hover { color: var(--brand-1); }
.footer-top-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.footer-top-link:hover { color: var(--brand-1); }
.footer-copy { margin: 0; }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.footer-social-col h3 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.footer-social a:hover { color: var(--social-color, var(--brand-1)); }
.footer-social-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--social-color, var(--brand-1));
  border-radius: 9px;
}

@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 32px;
  }
}

@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.45fr 0.85fr 0.9fr 1.15fr;
    gap: 40px;
    padding-bottom: 44px;
  }
}
