/*
Theme Name: Hindbro Blog
Theme URI: https://hindbro.com/
Author: Hindbro
Description: A WordPress blog theme matched to the Hindbro website design.
Version: 1.0.0
Text Domain: hindbro-blog
*/

:root {
  --hb-primary: #0d6efd;
  --hb-primary-dark: #001233;
  --hb-accent: #FC7646;
  --hb-ink: #001233;
  --hb-muted: #676B74;
  --hb-line: #EAEAEA;
  --hb-soft: #F6F8FA;
  --hb-footer: #000816;
  --hb-top-gradient: linear-gradient(90deg, #15B2FF 0%, #4867FF 100%);
  --hb-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--hb-ink);
  background: #fff;
  font-family: "Figtree", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hb-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hb-topbar {
  background: var(--hb-top-gradient);
  color: #fff;
  font-size: 14px;
  padding: 9px 0;
}

.hb-topbar__inner,
.hb-nav,
.hb-footer__grid,
.hb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hb-topbar a {
  color: #fff;
}

.hb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--hb-line);
  box-shadow: 0 10px 28px rgba(1, 15, 28, 0.06);
  backdrop-filter: blur(8px);
}

.hb-nav {
  min-height: 84px;
}

.hb-logo img {
  width: 164px;
  height: 50px;
  object-fit: contain;
}

.hb-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.hb-menu a {
  color: var(--hb-ink);
}

.hb-menu a:hover,
.hb-menu .is-active {
  color: var(--hb-primary);
}

.hb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--hb-primary);
  color: #fff;
  font-weight: 800;
  transition: all 0.4s;
}

.hb-btn:hover {
  background: var(--hb-primary-dark);
  color: #fff;
  transform: translateY(-3px);
}

.hb-hero {
  background-image: linear-gradient(90deg, rgba(0, 18, 51, 0.92), rgba(0, 18, 51, 0.18)), var(--hb-hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 96px 0 82px;
}

.hb-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--hb-white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hb-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
}

.hb-hero p {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hb-section {
  padding: 78px 0;
}

.hb-section--soft {
  background: var(--hb-soft);
}

.hb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.hb-section-head h2,
.hb-section-head h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.hb-section-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--hb-muted);
}

.hb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hb-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 30px rgba(1, 15, 28, 0.1);
}

.hb-card__image {
  aspect-ratio: 16 / 10;
  background: #EAEAEA;
}

.hb-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-card__body {
  padding: 24px;
}

.hb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
  color: var(--hb-muted);
  font-size: 14px;
  font-weight: 700;
}

.hb-card h2,
.hb-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.24;
}

.hb-card p {
  margin: 0 0 18px;
  color: var(--hb-muted);
}

.hb-readmore {
  color: var(--hb-primary);
  font-weight: 900;
}

.hb-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hb-cats a {
  padding: 8px 14px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hb-ink);
  font-weight: 800;
}

.hb-cats a:hover {
  border-color: var(--hb-primary);
  color: var(--hb-primary);
}

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

.search-field {
  min-height: 46px;
  width: min(280px, 100%);
  border: 1px solid var(--hb-line);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--hb-ink);
  font: inherit;
}

.search-field:focus {
  border-color: var(--hb-primary);
  outline: 3px solid rgba(13, 110, 253, 0.14);
}

.hb-single {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.hb-single__title {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
}

.hb-single__image {
  overflow: hidden;
  margin: 34px 0;
  border-radius: 8px;
}

.hb-content {
  font-size: 18px;
}

.hb-content h2,
.hb-content h3,
.hb-content h4 {
  line-height: 1.2;
  margin-top: 34px;
}

.hb-content a {
  color: var(--hb-primary);
  font-weight: 800;
}

.hb-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--hb-primary);
  background: var(--hb-soft);
}

.hb-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.hb-pagination .page-numbers {
  min-width: 42px;
  padding: 9px 13px;
  border: 1px solid var(--hb-line);
  border-radius: 6px;
  text-align: center;
  font-weight: 800;
}

.hb-pagination .current {
  background: var(--hb-primary);
  color: #fff;
}

.hb-footer {
  background: var(--hb-footer);
  color: #fff;
  padding: 62px 0 26px;
}

.hb-footer__grid,
.hb-footer-row {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 36px;
}

.hb-footer-row {
  row-gap: 30px;
}

.hb-footer__brand {
  max-width: 360px;
}

.hb-footer__brand img {
  width: 170px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 18px;
}

.hb-footer p,
.hb-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.hb-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.hb-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-footer li {
  margin: 8px 0;
}

.hb-footer__bottom {
  padding-top: 24px;
  font-size: 14px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.hindbro-wp-hero {
  position: relative;
  overflow: hidden;
}

.hindbro-wp-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 18, 51, 0.92), rgba(0, 18, 51, 0.18));
  pointer-events: none;
}

.hindbro-wp-hero > .container,
.hindbro-wp-hero .hero-img1 {
  position: relative;
  z-index: 1;
}

.hindbro-wp-hero .hero-heading-area h2,
.hindbro-wp-hero .hero-heading-area a {
  color: #fff;
}

.hindbro-wp-hero .hero-heading-area a span {
  color: rgba(255, 255, 255, 0.8);
}

.hindbro-wp-blog-list .heading2 p {
  color: var(--hb-muted);
}

.hindbro-wp-search {
  display: flex;
  justify-content: flex-end;
}

.hindbro-wp-card {
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 30px rgba(1, 15, 28, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hindbro-wp-card:hover {
  box-shadow: 0 24px 42px rgba(1, 15, 28, 0.14);
  transform: translateY(-8px);
}

.hindbro-wp-card .vl-blog-1-thumb {
  display: block;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.hindbro-wp-card .vl-blog-1-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.hindbro-wp-card:hover .vl-blog-1-thumb img {
  transform: scale(1.06) rotate(-2deg);
}

.hindbro-wp-card .vl-blog-1-content {
  border-radius: 0 0 8px 8px;
}

.hindbro-wp-card .vl-blog-1-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hindbro-wp-card .vl-blog-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
}

.hindbro-wp-card .vl-blog-meta li {
  margin: 0;
}

.hindbro-wp-empty {
  padding: 34px;
  border: 1px solid var(--hb-line);
  border-radius: 8px;
  background: #fff;
}

.hindbro-single-section {
  background: #fff;
}

.hindbro-single-card {
  padding: 38px;
  border: 1px solid var(--hb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 30px rgba(1, 15, 28, 0.1);
}

.hindbro-single-card .vl-blog-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hindbro-single-card .vl-blog-meta a,
.hindbro-single-card .vl-blog-meta li {
  color: var(--hb-muted);
  font-weight: 700;
}

.hindbro-single-excerpt {
  color: var(--hb-muted);
  font-size: 18px;
}

.hindbro-single-image {
  overflow: hidden;
  margin: 30px 0;
  border-radius: 8px;
}

.hindbro-single-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.hindbro-single-content {
  color: var(--hb-ink);
  font-size: 18px;
  line-height: 1.8;
}

.hindbro-single-content h2,
.hindbro-single-content h3,
.hindbro-single-content h4 {
  margin-top: 34px;
  line-height: 1.2;
}

.hindbro-single-content p {
  margin-bottom: 18px;
}

.hindbro-single-content a {
  color: var(--hb-primary);
  font-weight: 800;
}

.hindbro-single-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--hb-primary);
  background: var(--hb-soft);
}

.hindbro-related-section {
  background: var(--hb-soft);
}

@media (max-width: 991px) {
  .hb-topbar__inner,
  .hb-nav,
  .hb-footer__grid,
  .hb-footer__bottom,
  .hb-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hb-menu {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hindbro-wp-search {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .hb-topbar {
    display: none;
  }

  .hb-nav {
    min-height: 0;
    padding: 18px 0;
  }

  .hb-logo img {
    width: 142px;
    height: auto;
  }

  .hb-menu {
    font-size: 14px;
  }

  .search-form {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .search-field {
    width: 100%;
  }

  .hb-hero {
    padding: 68px 0 58px;
  }

  .hb-section {
    padding: 54px 0;
  }

  .hb-grid {
    grid-template-columns: 1fr;
  }

  .hb-card__body {
    padding: 20px;
  }

  .hindbro-single-card {
    padding: 24px;
  }
}
