/* ============================= */
/* GLOBAL RESET */
/* ============================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #3e3e3e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================= */
/* HERO HEADER */
/* ============================= */

.hero {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px 100px;
  position: relative;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin: 0 0 15px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin: 0 0 40px;
  opacity: 0.95;
}

/* ============================= */
/* HERO VARIANTS (Images/Gradients) */
/* ============================= */

/* Home keeps your current space image */
.home-hero {
  background-image: url("https://images.unsplash.com/photo-1446776811953-b23d57bd21aa");
  background-size: cover;
  background-position: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Blog: Power BI-themed gradient (yellow + blue accents) */
.blog-hero {
  background-image:
    radial-gradient(circle at 18% 25%, rgba(255, 196, 0, 0.35), transparent 45%),
    radial-gradient(circle at 82% 30%, rgba(0, 120, 212, 0.35), transparent 48%),
    linear-gradient(135deg, #0b1220, #111827);
  background-size: cover;
  background-position: center;
  padding: 90px 20px 70px;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 10px;
}

/* Nav colors depending on header type */
.hero nav a {
  color: white;
}

.hero nav a:hover {
  opacity: 0.75;
}

.simple-header nav a {
  color: #333;
  margin: 0 14px;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.simple-header nav a:hover {
  color: #0077ff;
}

/* ============================= */
/* SIMPLE HEADER */
/* ============================= */

.simple-header {
  background: white;
  padding: 18px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

/* ============================= */
/* MAIN CONTENT CARD */
/* ============================= */

main {
  max-width: 980px;
  margin: 60px auto;
  background: white;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

/* ============================= */
/* HOMEPAGE INTRO */
/* ============================= */

.homepage-intro {
  text-align: center;
  margin-bottom: 50px;
}

.homepage-intro h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.homepage-intro p {
  color: #666;
}

/* ============================= */
/* POST GRID */
/* ============================= */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.post-card {
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: white;
}

.post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.post-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.post-card a {
  text-decoration: none;
  color: #111;
}

.post-card a:hover {
  color: #0077ff;
}

.post-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

/* Blog/Home card description + read more */

.post-desc {
  font-size: 15px;
  color: #555;
  margin: 10px 0 15px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: #0077ff;
  text-decoration: none;
  margin-top: 10px;
}

.read-more:hover {
  text-decoration: underline;
}

/* ============================= */
/* BLOG POST PAGE */
/* ============================= */

.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 10px;
}

/* ============================= */
/* POST HEADER */
/* ============================= */

.post-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.post-title {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #1f2937;
  letter-spacing: -0.6px;
  font-weight: 700;
}

.post-subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  font-style: italic;
  margin: 10px 0 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.post-meta {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}


/* ============================= */
/* TAGS */
/* ============================= */

.post-tags {
  margin-top: 18px;
}

.tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0 8px 10px 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.tag:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* ============================= */
/* POST CONTENT */
/* ============================= */

.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.post-content p {
  margin-bottom: 22px;
}

.post-content h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: 26px;
  color: #222;
  font-weight: 700;
}

.post-content h3 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
  font-weight: 600;
}

.post-content ul,
.post-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content a {
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
}

.post-content a:hover {
  text-decoration: underline;
}

/* Images inside posts */
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Blockquotes (if used) */
.post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #f9fafb;
  border-left: 4px solid #0077ff;
  font-style: italic;
  color: #444;
  border-radius: 6px;
}


/* ============================= */
/* CODE BLOCKS (DAX / SQL etc.) */
/* ============================= */

.post-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
}

.post-content code {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.95em;
}

.post-content p code,
.post-content li code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ============================= */
/* PAGINATION */
/* ============================= */

.pagination {
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
}

.pagination a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  color: #0077ff;
}

.pagination a:hover {
  text-decoration: underline;
}

.pagination span {
  color: #666;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
  text-align: center;
  padding: 40px;
  font-size: 14px;
  color: #777;
  margin-top: 60px;
}

/* ============================= */
/* MOBILE TWEAKS */
/* ============================= */

@media (max-width: 600px) {
  .hero {
    padding: 80px 16px 60px;
  }

  .hero h1 {
    font-size: 40px;
  }

  nav {
    gap: 8px;
    margin-top: 12px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 8px;
  }

  main {
    max-width: 100%;
    margin: 16px 12px;
    padding: 22px;
    border-radius: 12px;
  }

  .homepage-intro {
    margin-bottom: 28px;
  }

  .homepage-intro h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .post-grid {
    gap: 16px;
  }

  .post-card {
    padding: 18px;
  }

  .post-card h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .post-date {
    font-size: 13px;
  }

  .post-desc {
    font-size: 14px;
  }

  .post-title {
    font-size: 32px;
  }
}

/* ============================= */
/* SHARE BUTTONS */
/* ============================= */

.share {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-label {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}

.share-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}
/* ============================= */
/* NAV + SEARCH */
/* ============================= */

.main-nav {
  margin-top: 25px;
  display: flex;
  flex-direction: column;   /* 👈 stack links and search vertically */
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.site-search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-search input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  background: rgba(255,255,255,0.15);
  color: white;
  outline: none;
  min-width: 240px;
}

.site-search input::placeholder {
  color: rgba(255,255,255,0.8);
}

.site-search button {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  background: rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-search button:hover {
  background: rgba(255,255,255,0.35);
}
.hero {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("/assets/images/hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  text-align: center;
  padding: 140px 20px 120px;
  position: relative;
}
.site-footer {
  background: #111;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-main,
.footer-legal {
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.7;
}
/* ============================= */
/* FOOTER (FINAL CLEAN VERSION) */
/* ============================= */

.site-footer {
  background: #0d0d0d;
  color: #ccc;
  padding: 70px 20px 50px;
  text-align: center;
  margin-top: 100px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  margin: 0 16px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-main {
  margin-bottom: 18px;
}

.footer-legal {
  opacity: 0.7;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 20px;
}
/* ============================= */
/* HOMEPAGE FEATURED POST */
/* ============================= */

.featured-post {
  margin-bottom: 30px;
}

.featured-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.featured-title {
  margin: 10px 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.featured-title a {
  color: #111;
  text-decoration: none;
}

.featured-title a:hover {
  color: #0077ff;
}

.featured-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin: 0 0 14px;
}

.view-all {
  margin-top: 26px;
}

.view-all a {
  font-weight: 600;
  text-decoration: none;
  color: #0077ff;
}

.view-all a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
  .featured-card {
    padding: 22px;
  }

  .featured-title {
    font-size: 22px;
  }
}
/* Featured image */
.featured-image{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
  display: block;
}

/* Grid card image */
.post-card-image{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  display: block;
}
/* Constrain post content width (premium reading width) */
.blog-post {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Featured image inside post */
.post-featured-image {
  width: 100%;
  height: auto;              /* Let it scale naturally */
  max-width: 100%;
  border-radius: 18px;
  margin: 30px 0 40px;
  display: block;
}
/* ============================= */
/* COMMENTS SECTION */
/* ============================= */

.comments-section .comment-note {
  margin: 0 0 14px !important;
  font-size: 0.95rem !important;
  color: #555 !important;
}

.comments-section .comment-note a {
  text-decoration: underline !important;
}
/* ============================= */
/* SIDEBAR */
/* ============================= */

.sidebar {
  margin-top: 110px; /* pushes sidebar below large post header */
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.sidebar-widget h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.sidebar-widget p {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}

.sidebar-link:hover {
  text-decoration: underline;
}

.sidebar-list {
  margin: 0;
  padding-left: 16px;
  color: #444;
  font-size: 13px;
}

.sidebar-list li {
  margin-bottom: 6px;
}
/* ============================= */
/* LAYOUT (content + sidebar) */
/* ============================= */

.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-area {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}
.sidebar {
  margin-top: 140px; /* pushes sidebar below big title block */
}
/* ============================= */
/* SUBSCRIBE CARD */
/* ============================= */

.subscribe-inline {
  margin: 28px 0 40px;
}

.subscribe-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.subscribe-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.subscribe-header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.subscribe-header p {
  margin: 0 0 18px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Layout */
.subscribe-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Input */
.subscribe-input {
  flex: 1;
  width: 100% !important;
  padding: 13px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #e2e2e2 !important;
  background: #fafafa !important;
  color: #111 !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.subscribe-input:focus {
  background: #fff !important;
  border-color: #111 !important;
}

/* Button */
.subscribe-button {
  padding: 13px 18px !important;
  border-radius: 14px !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.subscribe-button:hover {
  background: #222 !important;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 600px) {
  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe-button {
    width: 100% !important;
  }
}
/* ============================= */
/* INLINE SITE SEARCH (Pagefind) */
/* ============================= */
.site-search {
  margin: 18px 0 26px;
}

.site-search-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.site-search-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
  font-size: 15px;
  outline: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.site-search-input:focus {
  border-color: #d2d2d2;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.site-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  overflow: hidden;
  z-index: 50;
}

.site-search-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.site-search-item + .site-search-item {
  border-top: 1px solid #f1f1f1;
}

.site-search-link {
  display: block;
  padding: 12px 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
}

.site-search-link:hover {
  background: #f7f7f7;
}

.site-search-title {
  font-weight: 700;
  font-size: 14px;
  color: #111;
  line-height: 1.3;
}

.site-search-excerpt {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.site-search-empty {
  padding: 14px 14px;
  color: #666;
  font-size: 13px;
}
/* ============================= */
/* INLINE SEARCH (PAGEFIND) */
/* ============================= */

.inline-search{
  max-width: 980px;
  margin: 18px auto 26px;
  padding: 0 18px;
}

.inline-search .pagefind-ui{
  width: 100%;
}

/* Make the input big + readable */
.inline-search .pagefind-ui__search-input{
  width: 100% !important;
  max-width: 720px;
  margin: 0 auto;
  display: block;

  padding: 14px 16px !important;
  font-size: 16px !important;
  line-height: 1.2;
  border-radius: 14px !important;

  background: #fff !important;
  color: #111 !important;
  border: 1px solid #e6e6e6 !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06) !important;
}

/* Fix "can't see text" issue */
.inline-search .pagefind-ui__search-input::placeholder{
  color: #777 !important;
  opacity: 1 !important;
}

.inline-search .pagefind-ui__search-input:focus{
  outline: none !important;
  border-color: #cfcfcf !important;
}

/* Center and constrain results */
.inline-search .pagefind-ui__results{
  max-width: 720px;
  margin: 12px auto 0;
}

/* Make results look premium/clean */
.inline-search .pagefind-ui__result{
  padding: 14px 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
  margin-bottom: 10px;
  background: #fff;
}

.inline-search .pagefind-ui__result-title{
  font-size: 16px;
}

.inline-search .pagefind-ui__result-excerpt{
  color: #555;
}

/* Hide extra Pagefind “credit” line if it shows */
.inline-search .pagefind-ui__form::after{
  display: none !important;
}
/* ============================= */
/* ACTIVE NAVIGATION STATE */
/* ============================= */

.main-nav .nav-links a {
  position: relative;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Bold active page */
.main-nav .nav-links a[aria-current="page"] {
  font-weight: 700;
}

/* Bottom underline effect */
.main-nav .nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #ffffff; /* white underline for dark hero */
  opacity: 0.95;
}
/* ============================= */
/* BLOG SEARCH IMPROVEMENT */
/* ============================= */

.search-bar {
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 45px 14px 18px; /* space on right */
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

/* Remove left icon if any */
.search-bar svg,
.search-bar .search-icon {
  left: auto !important;
  right: 16px;
}

/* If icon is pseudo-element */
.search-bar::after {
  content: "🔍";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  pointer-events: none;
}
/* ============================= */
/* PAGEFIND SEARCH STYLING */
/* ============================= */

/* Make search container clean */
#search {
  margin-top: 24px;
}

/* Style the search input */
#search .pagefind-ui__search-input {
  border-radius: 14px !important;
  padding: 14px 48px 14px 18px !important; /* space on right */
  border: 1px solid #e5e5e5 !important;
  font-size: 15px !important;
  outline: none;
}

/* Move search icon to right */
#search .pagefind-ui__search-input-wrapper {
  position: relative;
}

#search .pagefind-ui__search-input-wrapper svg {
  left: auto !important;
  right: 16px !important;
}

/* Improve focus look */
#search .pagefind-ui__search-input:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
/* ============================= */
/* FORCE PAGEFIND ICON TO RIGHT  */
/* ============================= */

/* Make wrapper a predictable layout */
.inline-search .pagefind-ui__search-input-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Input should take full width */
.inline-search .pagefind-ui__search-input {
  flex: 1 1 auto !important;
  width: 100% !important;

  /* space for icon on right */
  padding-right: 52px !important;
  padding-left: 18px !important;

  border-radius: 14px !important;
  border: 1px solid #e5e5e5 !important;
  font-size: 15px !important;
  outline: none !important;
}

/* Pagefind often renders the icon in a button/span with this class */
.inline-search .pagefind-ui__search-icon,
.inline-search .pagefind-ui__search-input-wrapper > button,
.inline-search .pagefind-ui__search-input-wrapper > span {
  order: 2 !important;
  margin-left: -44px !important;  /* pull into the input padding area */
  margin-right: 16px !important;
}

/* If the icon is an SVG, force it to the right as well */
.inline-search .pagefind-ui__search-icon svg,
.inline-search .pagefind-ui__search-input-wrapper svg {
  position: relative !important;
  left: auto !important;
  right: auto !important;
}

/* Focus polish */
.inline-search .pagefind-ui__search-input:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}




