/* ============================================================
   FAIZALFLIX NETFLIX THEME — WordPress Edition
   Precision CSS for automationsxpert.org
   Slider preserved | All pages covered | Zero errors
   Paste into: Appearance > Customize > Additional CSS
   ============================================================ */

/* === 1. GLOBAL DARK BASE === */
body,
body.hb-stretched-layout,
body.theme-HighendWP,
body.home,
body.page-template-default,
#hb-wrap,
.hb-main-content,
#main-content,
#main-wrapper,
.wpb-content-wrapper {
  background: #141414 !important;
  background-color: #141414 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

::selection {
  background: #E50914;
  color: #fff;
}

/* === 2. SCROLLBAR === */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

/* === 3. HEADER / NAVBAR (Netflix fixed style) === */
#header-inner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 4% !important;
  background: #141414 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.4s ease !important;
}

/* Transparent gradient at top of page, solid when scrolled */
body:not(.scrolled) #header-inner {
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 80%, transparent 100%) !important;
}

/* Hide top bar (phone, email line above header) */
#header-bar {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

/* Push page content down for fixed header */
body {
  padding-top: 68px !important;
}

/* Logo */
#logo {
  margin-right: 30px !important;
}

#logo img,
.hb-logo-wrap img,
.hb-dark-logo img,
.hb-visible-logo img {
  max-height: 28px !important;
  width: auto !important;
}

/* If logo is dark and invisible on dark bg, uncomment: */
/* #logo img { filter: invert(1) !important; } */

/* === 4. NAVIGATION === */
#main-nav,
.main-navigation {
  background: transparent !important;
  border: none !important;
}

.sf-menu {
  display: flex !important;
  align-items: center !important;
}

.sf-menu > li {
  margin: 0 !important;
  padding: 0 !important;
}

.sf-menu > li > a,
.menu-item > a,
#main-nav > ul > li > a {
  color: #e5e5e5 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 7px 10px !important;
  background: transparent !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 54px !important;
  border: none !important;
  transition: color 0.15s ease !important;
}

.sf-menu > li > a:hover,
.menu-item > a:hover {
  color: #b3b3b3 !important;
  background: transparent !important;
}

.sf-menu > li.current-menu-item > a,
.sf-menu > li.current_page_item > a {
  color: #ffffff !important;
  font-weight: 500 !important;
}

/* Dropdown menus */
.sf-menu .sub-menu {
  background: rgba(0,0,0,0.95) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-top: 2px solid #e5e5e5 !important;
  padding: 10px 0 !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6) !important;
  border-radius: 0 !important;
}

.sf-menu .sub-menu li a {
  color: #b3b3b3 !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  background: transparent !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.sf-menu .sub-menu li a:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #ffffff !important;
}

/* Cart icon in nav */
.hb-cart-total-header,
.hb-bag-buttons {
  color: #e5e5e5 !important;
}

/* === 5. SLIDER / HERO (Preserved + Netflix styled container) === */
.highend-featured-section-revolution {
  position: relative !important;
  margin-top: -68px !important;
}

/* Netflix-style vignette overlay ON TOP of slider (doesn't break slider) */
.highend-featured-section-revolution {
  position: relative !important;
}

/* The slider itself stays untouched — only the container gets Netflix treatment */
rs-module-wrap,
rs-module,
.rev_slider_wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* === 6. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.hb-page-title,
.page-title,
.entry-title,
.wpb_text_column h1,
.wpb_text_column h2,
.wpb_text_column h3,
.wpb_text_column h4 {
  color: #ffffff !important;
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

h1, .entry-content h1 { font-size: 2.5rem !important; font-weight: 700 !important; }
h2, .entry-content h2 { font-size: 1.6rem !important; font-weight: 600 !important; }
h3, .entry-content h3 { font-size: 1.25rem !important; font-weight: 600 !important; }

.wpb_text_column p,
.entry-content p {
  color: #cccccc !important;
  line-height: 1.7 !important;
  font-size: 16px !important;
}

/* Row titles (like Netflix category titles) */
.wpb_text_column h2,
.vc_row .wpb_text_column h2,
.hb-custom-title {
  font-size: clamp(15px, 1.4vw, 22px) !important;
  font-weight: 500 !important;
  color: #e5e5e5 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* === 7. BUTTONS (Netflix style) === */
.hb-button,
.btn,
.button,
.vc_btn3,
a.hb-button,
.vc_btn3-container .vc_btn3,
.wp-block-button__link {
  border-radius: 4px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: all 0.2s ease !important;
  border: none !important;
  font-size: 16px !important;
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* White primary button (Netflix "Play") */
.hb-button.hb-second-light,
a.hb-button,
.vc_btn3.vc_btn3-color-primary,
.vc_btn3-color-primary {
  background: #ffffff !important;
  color: #000000 !important;
}

.hb-button.hb-second-light:hover,
a.hb-button:hover,
.vc_btn3-color-primary:hover {
  background: rgba(255,255,255,0.75) !important;
  color: #000000 !important;
}

/* Dark semi-transparent button (Netflix "More Info") */
.hb-button.hb-second-dark {
  background: rgba(109,109,110,0.7) !important;
  color: #ffffff !important;
}

.hb-button.hb-second-dark:hover {
  background: rgba(109,109,110,0.4) !important;
  color: #ffffff !important;
}

/* Small buttons */
.hb-button.hb-small-button,
.hb-push-button {
  padding: 6px 16px !important;
  font-size: 13px !important;
}

/* Large buttons */
.hb-button.hb-large-button {
  padding: 14px 32px !important;
  font-size: 18px !important;
}

/* === 8. FEATURE BOXES (become Netflix-style cards) === */
.feature-box,
.hb-process-step,
.hb-process .process-step {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 8px !important;
  padding: 28px 24px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.feature-box:hover,
.hb-process-step:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6) !important;
  border-color: rgba(255,255,255,0.12) !important;
}

.feature-box h4,
.feature-box h5,
.hb-process-step h4 {
  color: #ffffff !important;
  font-weight: 600 !important;
  margin-top: 12px !important;
}

.feature-box p,
.hb-process-step p {
  color: #999999 !important;
  line-height: 1.6 !important;
}

.feature-box .hb-icon-wrapper,
.hb-process-step .hb-icon-wrapper {
  color: #E50914 !important;
  font-size: 2rem !important;
}

/* === 9. BLOG / POST CARDS === */
.hb-stream article,
.blog article {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
/* Full article pages must NOT clip content (equal-height layout) */
.post,
.type-post {
  background: #181818 !important;
  border-radius: 6px !important;
  overflow: visible !important;
}

.hb-stream article:hover,
.blog article:hover,
.post:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

.hb-stream article img,
.blog article img,
.post img {
  border-radius: 6px 6px 0 0 !important;
  width: 100% !important;
  object-fit: cover !important;
}

.hb-stream article .hb-post-title a,
.blog article h2 a,
.post h2 a,
.post .entry-title a {
  color: #e5e5e5 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.hb-stream article .hb-post-title a:hover,
.blog article h2 a:hover {
  color: #ffffff !important;
}

.hb-stream article p,
.blog article p,
.post p {
  color: #999999 !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

/* Post meta (date, categories) */
.hb-post-info,
.hb-post-categories,
.post-meta {
  color: #777777 !important;
  font-size: 12px !important;
}

.hb-post-categories a {
  color: #999999 !important;
}

.hb-post-categories a:hover {
  color: #ffffff !important;
}

/* === 10. PORTFOLIO / GRID ITEMS === */
.portfolio-item,
.esg-grid .esg-media-cover-wrapper {
  border-radius: 4px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.portfolio-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
}

/* === 11. SINGLE PAGES (blog, project, tutorial) === */
.single-post article,
.single article,
.single-portfolio article,
.page article {
  background: #181818 !important;
  border-radius: 8px !important;
  padding: 30px !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  margin-bottom: 30px !important;
}

.single-post .entry-content p,
.page .entry-content p {
  color: #cccccc !important;
  line-height: 1.8 !important;
  font-size: 16px !important;
}

/* === 12. SIDEBAR === */
.sidebar .widget,
.widget-area .widget,
aside .widget,
#sidebar .widget,
.hb-sidebar .widget {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 8px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  color: #999999 !important;
}

.sidebar .widget-title,
.widget-area .widget-title {
  color: #e5e5e5 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding-bottom: 10px !important;
  margin-bottom: 12px !important;
}

.sidebar a,
.widget-area a {
  color: #999999 !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.sidebar a:hover,
.widget-area a:hover {
  color: #ffffff !important;
}

.sidebar ul li,
.widget-area ul li {
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.03) !important;
}

/* === 13. FOOTER === */
#footer,
#copyright-wrapper,
.pre-footer-area,
#pre-footer-area {
  background: #141414 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 4vw 4% 2vw !important;
  color: #808080 !important;
}

#footer a,
#copyright-wrapper a,
.pre-footer-area a {
  color: #808080 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

#footer a:hover,
#copyright-wrapper a:hover {
  color: #ffffff !important;
}

#footer h4,
#footer .widget-title {
  color: #999999 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#footer p,
#copyright-wrapper p {
  color: #808080 !important;
  font-size: 12px !important;
}

/* === 14. FORMS & INPUTS === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select,
.wpcf7-form input,
.wpcf7-form textarea,
.woocommerce input,
.woocommerce textarea {
  background: #333333 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #E50914 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(229,9,20,0.3) !important;
}

/* Contact Form 7 */
.wpcf7-form {
  background: #181818 !important;
  padding: 30px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}

.wpcf7-form label {
  color: #e5e5e5 !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.wpcf7-form input[type="submit"],
.wpcf7-submit,
input.wpcf7-submit {
  background: #E50914 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 32px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: #f40612 !important;
}

/* === 15. TABLES === */
table,
.woocommerce table.shop_table {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 6px !important;
  color: #e5e5e5 !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

table th,
.woocommerce table.shop_table th {
  background: #1f1f1f !important;
  color: #e5e5e5 !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  text-align: left !important;
}

table td,
.woocommerce table.shop_table td {
  color: #cccccc !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

/* === 16. WOOCOMMERCE === */
.woocommerce .products .product,
.woocommerce-page .products .product {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce .products .product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
}

.woocommerce .products .product h2,
.woocommerce .products .product .woocommerce-loop-product__title {
  color: #e5e5e5 !important;
}

.woocommerce .products .product .price {
  color: #E50914 !important;
  font-weight: 700 !important;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
  background: #E50914 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 10px 20px !important;
  transition: background 0.2s ease !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: #f40612 !important;
  color: #ffffff !important;
}

.woocommerce .button.alt {
  background: #ffffff !important;
  color: #000000 !important;
}

.woocommerce .button.alt:hover {
  background: rgba(255,255,255,0.75) !important;
}

.woocommerce-message,
.woocommerce-info {
  background: #181818 !important;
  color: #e5e5e5 !important;
  border-color: rgba(255,255,255,0.1) !important;
}

.woocommerce-message {
  border-left: 4px solid #46d369 !important;
}

.woocommerce-error {
  border-left: 4px solid #E50914 !important;
}

/* === 17. TABS & ACCORDIONS === */
.vc_tta-panel,
.wpb-js-composer .vc_tta.vc_tta-accordion .vc_tta-panel {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 4px !important;
  margin-bottom: 8px !important;
}

.vc_tta-panel-heading,
.vc_tta-title {
  color: #e5e5e5 !important;
  background: transparent !important;
  padding: 14px 16px !important;
  font-weight: 500 !important;
}

.vc_tta-panel-body {
  color: #999999 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: 14px 16px !important;
}

.wpb-js-composer .vc_tta.vc_tta-tabs .vc_tta-tab > a {
  background: #181818 !important;
  color: #999999 !important;
  border-radius: 4px 4px 0 0 !important;
  padding: 10px 20px !important;
}

.wpb-js-composer .vc_tta.vc_tta-tabs .vc_tta-tab.vc_active > a {
  background: #252525 !important;
  color: #ffffff !important;
}

/* === 18. BLOCKQUOTES === */
blockquote,
.wp-block-quote,
.wp-block-pullquote {
  background: #181818 !important;
  border-left: 4px solid #E50914 !important;
  border-radius: 4px !important;
  padding: 20px 24px !important;
  color: #cccccc !important;
  font-style: italic !important;
  margin: 24px 0 !important;
}

/* === 19. CODE BLOCKS (for tutorials) === */
pre, code {
  background: #1a1a1a !important;
  color: #46d369 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 4px !important;
}

code {
  padding: 2px 8px !important;
  font-size: 14px !important;
}

pre {
  padding: 16px !important;
  overflow-x: auto !important;
  line-height: 1.5 !important;
}

pre code {
  border: none !important;
  padding: 0 !important;
}

/* === 20. PAGINATION === */
.pagination,
.page-numbers,
.hb-pagination {
  display: flex !important;
  gap: 4px !important;
  justify-content: center !important;
  padding: 20px 0 !important;
}

.pagination .current,
.page-numbers.current,
.navigation .current {
  background: #E50914 !important;
  color: #ffffff !important;
  border-color: #E50914 !important;
  font-weight: 600 !important;
}

.pagination a,
.page-numbers a,
.page-numbers span {
  background: #181818 !important;
  color: #999999 !important;
  padding: 8px 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.pagination a:hover,
.page-numbers a:hover {
  background: #252525 !important;
  color: #ffffff !important;
}

/* === 21. SEPARATORS === */
.vc_separator .vc_sep_holder .vc_sep_line {
  border-color: rgba(255,255,255,0.1) !important;
}

/* === 22. BREADCRUMBS === */
.breadcrumbs,
.hb-breadcrumbs,
.woocommerce-breadcrumb {
  color: #777777 !important;
  font-size: 13px !important;
  padding: 10px 0 !important;
}

.breadcrumbs a,
.hb-breadcrumbs a {
  color: #999999 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.breadcrumbs a:hover,
.hb-breadcrumbs a:hover {
  color: #ffffff !important;
}

/* === 23. BACK TO TOP === */
#back-to-top,
.back-to-top {
  background: rgba(229,9,20,0.8) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  border: none !important;
  width: 44px !important;
  height: 44px !important;
}

#back-to-top:hover {
  background: #E50914 !important;
}

/* === 24. TEAM / TESTIMONIALS === */
.team-member,
.hb-team-member,
.hb-testimonial,
.testimonial {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 8px !important;
  padding: 20px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.team-member:hover,
.hb-team-member:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.team-member h4,
.hb-team-member h4 {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.team-member p,
.hb-team-member p {
  color: #999999 !important;
}

/* === 25. SEARCH RESULTS === */
.search-results article,
.search article {
  background: #181818 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  transition: transform 0.2s ease !important;
}

.search-results article:hover,
.search article:hover {
  transform: translateY(-3px) !important;
}

.search-results .entry-title a,
.search .entry-title a {
  color: #e5e5e5 !important;
}

/* === 26. 404 PAGE === */
.error404 .hb-main-content {
  text-align: center !important;
  min-height: 60vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.error404 h1 {
  font-size: 6rem !important;
  color: #E50914 !important;
  font-weight: 900 !important;
}

/* === 27. SOCIAL ICONS === */
.hb-socials-widget a,
#footer .hb-socials-widget a,
.social-share a {
  color: #808080 !important;
  font-size: 20px !important;
  margin-right: 20px !important;
  transition: color 0.2s ease !important;
}

.hb-socials-widget a:hover,
#footer .hb-socials-widget a:hover {
  color: #ffffff !important;
}

/* === 28. COMMENTS AREA === */
.comments-area {
  background: #181818 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  margin-top: 30px !important;
}

.comments-area h3,
.comments-area .comments-title {
  color: #ffffff !important;
}

.comment {
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  padding: 16px 0 !important;
}

.comment .fn {
  color: #e5e5e5 !important;
  font-weight: 600 !important;
}

.comment .comment-meta {
  color: #777777 !important;
  font-size: 12px !important;
}

.comment p {
  color: #cccccc !important;
}

/* === 29. WC PRODUCT SINGLE === */
.single-product .product_title {
  color: #ffffff !important;
  font-size: 2rem !important;
}

.single-product .price {
  color: #E50914 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.single-product .description {
  color: #cccccc !important;
  line-height: 1.7 !important;
}

/* === 30. ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.vc_row {
  animation: fadeInUp 0.6s ease-out both;
}

.vc_row:nth-child(2) { animation-delay: 0.1s; }
.vc_row:nth-child(3) { animation-delay: 0.2s; }
.vc_row:nth-child(4) { animation-delay: 0.3s; }
.vc_row:nth-child(5) { animation-delay: 0.4s; }

/* === 31. RESPONSIVE === */
@media (max-width: 768px) {
  body {
    padding-top: 56px !important;
  }

  #header-inner {
    height: 56px !important;
    padding: 0 3% !important;
  }

  h1, .entry-content h1 { font-size: 1.8rem !important; }
  h2, .entry-content h2 { font-size: 1.3rem !important; }

  .sf-menu > li > a {
    font-size: 12px !important;
    line-height: 42px !important;
    padding: 7px 6px !important;
  }

  .hb-button, .btn, .button {
    font-size: 0.9rem !important;
    padding: 8px 18px !important;
  }

  .single-post article,
  .single article,
  .page article {
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .hb-button, .btn, .button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* === 32. REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .feature-box:hover,
  .team-member:hover,
  .hb-stream article:hover,
  .portfolio-item:hover {
    transform: none !important;
  }
}

/* === 33. PRINT === */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding-top: 0 !important;
  }
}

/* === 34. CONTENT IMAGES (v5 upgrade — display inline, professional) === */
.entry-content img,
.page-content img,
.post-content img,
article img,
.hb-main-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 6px;
}
.entry-content .aligncenter,
.entry-content img.aligncenter,
.page-content img.aligncenter {
  display: block !important;
  margin: 24px auto !important;
}
.entry-content img.alignleft { margin: 8px 24px 8px 0; }
.entry-content img.alignright { margin: 8px 0 8px 24px; }
.wp-caption { max-width: 100% !important; }
.wp-caption img { border-radius: 6px 6px 0 0; }
.wp-caption-text, figcaption { color: #999 !important; font-size: 13px; text-align: center; padding: 8px; }

/* === 35. SLIDER CONTAINER DARKENING (v5 upgrade) === */
rs-module-wrap,
.rs-module-wrap {
  background-color: #141414 !important;
}
/* ============================================================
   FOOTER — Professional Multi-Column Footer
   ============================================================ */

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 80px;
  padding: 70px 4% 0;
}

.footer-container {
  max-width: 100%;
  padding: 0 4%;
}

/* === TOP GRID === */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.7fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* === COLUMN 1 — BRAND (LEFT) === */
.footer-col-brand {}

.footer-logo {
  color: #E50914;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}

.footer-bio {
  color: #999;
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 20px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags span {
  background: rgba(229,9,20,0.07);
  border: 1px solid rgba(229,9,20,0.12);
  color: #b3b3b3;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

/* === COLUMN HEADINGS === */
.footer-col-heading {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
}

.footer-col-heading::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #E50914;
  margin-top: 10px;
  border-radius: 2px;
}

/* === COLUMN LINKS === */
.footer-col a {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 13px;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 400;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* === SOCIAL LINKS === */
.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  color: #888 !important;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 0 !important;
}

.footer-social-link:hover {
  background: rgba(229,9,20,0.06) !important;
  border-color: rgba(229,9,20,0.2);
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.footer-social-link strong {
  color: #ccc;
  font-weight: 500;
  display: block;
  font-size: 14px;
}

.footer-social-link span {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 1px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #E50914 !important;
  border: 1px solid rgba(229,9,20,0.2);
  flex-shrink: 0;
  transition: all 0.2s;
}

.footer-social-link:hover .footer-social-icon {
  background: #E50914;
  color: #fff !important;
  border-color: #E50914;
}

/* === BOTTOM BAR === */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #666;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #E50914;
}

.footer-copyright {
  color: #555;
  font-size: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* === 37. BOX-SIZING RESET (v5 — match homepage rendering) === */
*, *::before, *::after {
  box-sizing: border-box;
}

/* === 38. FLAT BACKGROUND ENFORCEMENT (v5 — match homepage) === */
html, body {
  background-image: none !important;
  background-color: #141414 !important;
}
.site-footer {
  background-image: none !important;
  background-color: #0a0a0a !important;
}

/* === 40. OWL CAROUSEL HORIZONTAL SAFE LAYOUT (v5) === */
/* When the carousel JS doesn't init, items stack vertically creating a
   huge gap — force a horizontal scroll row so layout stays compact. */
.hb-owl-slider {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 12px !important;
  padding: 10px 0 !important;
}
.hb-owl-item {
  flex: 0 0 300px !important;
  width: 300px !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* === 41. WRAPPER COMPACT LAYOUT (v5 — footer directly after content) === */
#hb-wrap {
  min-height: 0 !important;
}

/* === 42. WPBakery CONTENT READABILITY (v5) === */
.vc_column-inner p,
.wpb_wrapper p,
.content-box p,
.content-box .alignleft p,
.content-box .alignright p,
.hb-main-content p,
.wpb_wrapper li,
.content-box li {
  color: #cccccc !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.vc_column-inner strong,
.content-box strong {
  color: #ffffff !important;
}
.wpb_wrapper h2,
.content-box h2 {
  color: #ffffff !important;
}
.vc_column-inner a:not(.hb-button),
.content-box a:not(.hb-button) {
  color: #E50914 !important;
}
