/* ============================================================
   MAIN-SITE CHROME (videoshala.com header + footer)
   ------------------------------------------------------------
   Scoped to .vs-chrome so it cannot bleed into blog content.
   Every selector below is prefixed so blog CSS keeps working
   for the article body / cards / post-hero / share-bar / etc.
   ============================================================ */

/* ---- Open Sans (matches main site) ---- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url(https://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'),
       url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
       url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.vs-chrome .navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 4%;
  height: 70px;
  background: rgb(255, 255, 255); /* white menu bar */
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: 'Open Sans', Arial, sans-serif;
  box-sizing: border-box;
}
.vs-chrome .navbar * { box-sizing: border-box; }

.vs-chrome .navbar .nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.vs-chrome .navbar .nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.vs-chrome .navbar .nav-links {
  margin-left: 0;
  margin-right: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto 0 24px;        /* push search to the right */
  padding: 0;
  flex-wrap: nowrap;
}
.vs-chrome .navbar .nav-links li { list-style: none; }
.vs-chrome .navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  color: #1f1f1f;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.vs-chrome .navbar .nav-links a:hover { background: #fbeeee; color: #d61f26; }
.vs-chrome .navbar .nav-links a.active {
  background: #d61f26;
  color: #fff;
}

/* Search bar removed site-wide */
.vs-chrome .navbar .nav-search-form,
.vs-chrome .mobile-nav .mobile-search { display: none !important; }

.vs-chrome .navbar .nav-search-form-OLD {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  height: 40px;
  flex-shrink: 0;
  overflow: hidden;
  width: 280px;
  max-width: 32vw;
}
.vs-chrome .navbar .nav-search {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #333;
  font: inherit;
  font-size: 14px;
  height: 100%;
  padding: 0 14px;
  min-width: 0;
}
.vs-chrome .navbar .nav-search::placeholder { color: #999; }
.vs-chrome .navbar .nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 0;
  color: #fff;
  width: 44px;
  height: 100%;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.vs-chrome .navbar .nav-search-btn:hover { background: #000; }

.vs-chrome .navbar .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 38px;
  background: transparent;
  border: 1px solid #d61f26;
  border-radius: 4px;
  cursor: pointer;
  padding: 0 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.vs-chrome .navbar .hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: #d61f26;
  border-radius: 1px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.vs-chrome .navbar .hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vs-chrome .navbar .hamburger.is-active span:nth-child(2) { opacity: 0; }
.vs-chrome .navbar .hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* backdrop behind mobile drawer */
.vs-chrome .mobile-nav-backdrop {
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 98;
}
.vs-chrome .mobile-nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* mobile drawer (off-canvas) */
.vs-chrome .mobile-nav {
  position: fixed;
  top: 70px;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: calc(100vh - 70px);
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateX(100%);
  transition: transform .3s;
  overflow-y: auto;
}
.vs-chrome .mobile-nav.open { transform: translateX(0); }
.vs-chrome .mobile-nav a {
  color: #b2060a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
}
.vs-chrome .mobile-nav a:hover { background: #f8f8f8; }
.vs-chrome .mobile-nav .mobile-nav-divider {
  height: 1px; background: #ddd; margin: 8px 0;
}
.vs-chrome .mobile-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 6px;
}
.vs-chrome .mobile-search input {
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #333;
}

/* tablet — drop nav links, keep search */
@media (max-width: 1100px) {
  .vs-chrome .navbar { gap: 12px; padding: 0 16px; }
  .vs-chrome .navbar .nav-links { display: none; }
  .vs-chrome .navbar .nav-search-form { margin-left: auto; width: 240px; }
  .vs-chrome .navbar .hamburger { display: flex; }
}
/* mobile — drop search bar too, only logo + hamburger */
@media (max-width: 640px) {
  .vs-chrome .navbar { padding: 0 14px; gap: 10px; }
  .vs-chrome .navbar .nav-logo img { height: 32px; }
  .vs-chrome .navbar .nav-search-form { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.vs-chrome footer[role="contentinfo"] {
  background: #f9f9f9;
  color: rgba(0,0,0,.72);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 48px;
}
.vs-chrome footer[role="contentinfo"] * { box-sizing: border-box; }

.vs-chrome footer[role="contentinfo"] .footer-top {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 5% 32px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
}

.vs-chrome footer[role="contentinfo"] .footer-brand .logo img {
  height: 33px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.vs-chrome footer[role="contentinfo"] .footer-brand p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(0,0,0,.7);
  margin: 0 0 18px;
  max-width: 320px;
}
.vs-chrome footer[role="contentinfo"] .footer-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(0,0,0,.7);
  font-size: 13px;
  line-height: 1.6;
}
.vs-chrome footer[role="contentinfo"] .footer-address svg {
  stroke: #d61f26;
  flex-shrink: 0;
  margin-top: 3px;
}

.vs-chrome footer[role="contentinfo"] .footer-links-group {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.vs-chrome footer[role="contentinfo"] .footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d61f26;
  display: inline-block;
}
.vs-chrome footer[role="contentinfo"] .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-chrome footer[role="contentinfo"] .footer-col--wide ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.vs-chrome footer[role="contentinfo"] .footer-col ul li { list-style: none; }
.vs-chrome footer[role="contentinfo"] .footer-col ul a {
  color: rgba(0,0,0,.7);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .2s;
}
.vs-chrome footer[role="contentinfo"] .footer-col ul a:hover { color: #d61f26; }

.vs-chrome footer[role="contentinfo"] .footer-bottom {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 18px 5%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vs-chrome footer[role="contentinfo"] .footer-copy {
  font-size: 13px;
  color: rgba(0,0,0,.6);
  margin: 0;
}
.vs-chrome footer[role="contentinfo"] .footer-copy a { color: #d61f26; text-decoration: none; }
.vs-chrome footer[role="contentinfo"] .footer-copy a:hover { color: #1f1f1f; }

.vs-chrome footer[role="contentinfo"] .footer-socials {
  display: flex;
  gap: 8px;
}
.vs-chrome footer[role="contentinfo"] .footer-socials .social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.7);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.vs-chrome footer[role="contentinfo"] .footer-socials .social-btn:hover {
  background: #d61f26;
  color: #fff;
  transform: translateY(-2px);
}
.vs-chrome footer[role="contentinfo"] .footer-socials .social-btn svg { fill: currentColor; }

@media (max-width: 991px) {
  .vs-chrome footer[role="contentinfo"] .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .vs-chrome footer[role="contentinfo"] .footer-links-group { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .vs-chrome footer[role="contentinfo"] .footer-links-group { grid-template-columns: 1fr; }
  .vs-chrome footer[role="contentinfo"] .footer-col--wide ul { grid-template-columns: 1fr 1fr; }
  .vs-chrome footer[role="contentinfo"] .footer-bottom { flex-direction: column; text-align: center; }
}
