/*
Theme Name: Cryptocode
Theme URI: 
Author: Moksha Design Studio
Author URI: 
Description: Cryptocode is specially designed product packaged for Cryptocode by Moksha.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns

  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES

    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* Theme Colors */
:root {
  --accent-color: #44E5AE;
  --dark-color: #151515;
  --light-color: #f2f2f2;
  --dim-light-color: #9d9d9d;
  --primary-color: #44E5AE;
  --secondary-color: #74CFCA;
}

/* Fonts */
:root {
  --body-font: "Lato", sans-serif;
  --heading-font: "Inter", sans-serif;
}


/*----------------------------------------------*/
/* 2 GENERAL TYPOGRAPHY */
/*----------------------------------------------*/

/* 2.1 General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  margin: 0;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--dim-light-color);
  text-decoration: none;
  transition: 0.3s color ease-out;
}

a.light {
  color: var(--light-color);
}

a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 0;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 5px;
  margin-bottom: 0;
}

ul li,
ol li {
  margin-bottom: 5px;
  outline: 0;
}

ul li.active a {
  color: var(--dark-color);
}

ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 2rem;
}

dt,
dd {
  line-height: 1.42857143;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: 0;
}

figure {
  margin: 0;
}

img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

::selection {
  background: var(--light-color);
  color: var(--dark-color);
  text-shadow: none;
}

::-moz-selection {
  background: var(--light-color);
  color: var(--dark-color);
  text-shadow: none;
}

/* Typography */
/*----------------------------------------------*/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  letter-spacing: 2px;
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: var(--light-color);
}

h1,
h2,
h3 {
  margin: 25px 0;
  text-transform: capitalize;
}

h5,
h6 {
  letter-spacing: 1px;
}

h1,
.h1 {
  font-size: 3em;
  line-height: 1.4;
}

h2,
.h2 {
  font-size: 2em;
  line-height: 1.4;
}

h3,
.h3 {
  font-size: 1.4em;
  line-height: 1.4;
}

h4,
.h4 {
  font-size: 1.1em;
  line-height: 1.4;
}

h5,
.h5 {
  font-size: .83em;
  line-height: 1.25;
}

h6,
.h6 {
  font-size: .67em;
  line-height: 1.1;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}

p {
  font-size: 19px;
  line-height: 2;
  margin: 0 0 20px 0;
}

p.dark {
  color: var(--dark-color);
}

p.light {
  color: var(--light-color);
}

p:empty {
  display: none;
}

small {
  font-size: 85%;
}

mark {
  background-color: var(--grey-color);
  padding: 0.28rem;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

::placeholder {
  color: var(--dim-light-color);
}

/*----------------------------------------------*/
/* 2.1 Floating & Alignment */
/*----------------------------------------------*/
.align-left {
  float: left;
  text-align: left;
}

.align-right {
  float: right;
  text-align: right;
}

.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/**::after,*/
.container::after,
.row::after,
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/** Text Align
--------------------------------------------------------------*/
.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
  margin: 0 auto;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lead {
  font-size: 120%;
  line-height: 1.7em;
}

.text-lead strong {
  font-size: 115%;
  font-weight: 500;
}

.text-muted {
  color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

/*------------------------------------------------
/* 2.3 Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 50px;
  padding: 6px 15px;
  background-color: var(--light-background-color);
  border: 1px solid var(--grey-color);
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  min-height: 130px;
  padding-top: 6px;
  padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--grey-color);
  outline: 0;
}

label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
}

fieldset {
  padding: 0;
  border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

label>.label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}

/*------------------------------------------------
/* 2.4 Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside;
}

ol {
  list-style: decimal inside;
}

ol,
ul {
  padding-left: 0;
  margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%;
}

li {
  margin-bottom: 1rem;
}

/*------------------------------------------------
/* 2.5 Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  border-radius: 4px;
  background-color: var(--accent-color);
  color: var(--light-color);
}

pre>code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: normal;
}

/*------------------------------------------------
/* 2.6 Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

/*------------------------------------------------
/* 2.7 Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem;
}

input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
table,
form {
  margin-bottom: 2rem;
}

/*------------------------------------------------
/* 2.8 Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box;
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}

.list-unstyled {
  list-style: none;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-capitalize {
  text-transform: capitalize;
}

.overflow-hidden {
  overflow: hidden;
}

.hide {
  display: none !important;
}

/* position */
.position-relative {
  position: relative !important;
}

/* display flex utilities */
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}

.justify-content-end {
  -ms-flex-pack: justify !important;
  justify-content: end !important;
}

.justify-content-center {
  -ms-flex-pack: justify !important;
  justify-content: center !important;
}

.justify-content-evenly {
  -ms-flex-pack: justify !important;
  justify-content: space-evenly !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}

.align-items-baseline {
  -ms-flex-align: baseline !important;
  align-items: baseline !important;
}

/* disable selction in section title */
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/*------------------------------------------------
/* 2.9 Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* -Row Border
------------------------------------------*/
hr {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border-width: 0;
  border-top: 1px solid rgba(83, 84, 136, 0.5);
}

/*--------------------------------------------------------------
/** 2.10 Buttons
--------------------------------------------------------------*/
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
button {
  background-image: none;
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  border: 2px solid transparent;
  text-transform: capitalize;
  border-radius: 0;
  padding: 0.75em 1.5em;
  margin-top: 15px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  color: var(--light-color);
  z-index: 1;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover,
.btn:focus,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="file"]:focus,
input[type="file"]:hover,
button:focus,
button:hover {
  text-decoration: none;
  outline: 0;
}

.light .btn:hover {
  color: var(--light-color);
}

.btn:last-child {
  margin-right: 0;
}

.btn:active,
.btn.btn-outline-light:active,
.btn.btn-outline-dark:active,
.btn.btn-outline-accent:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="file"]:active,
button:active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

/* - Button Sizes
------------------------------------------------------------- */
.btn.btn-small {
  padding: 0.8em 1.8em;
  font-size: 0.6em;
}

.btn.btn-medium {
  padding: 1.5em 3.9em;
  font-size: 1.0em;
}

.btn.btn-large {
  padding: 1.5em 5.5em;
  font-size: 1.3em;
}

.btn.btn-full {
  display: block;
  margin: .85em 0;
  width: 100%;
  text-align: center;
}

/* - Button Shapes
------------------------------------------------------------- */
.btn.btn-rounded,
.btn.btn-rounded::after {
  border-radius: 10px;
}

.btn.btn-pill,
.btn.btn-pill::after {
  border-radius: 2em;
}

/*---- Button Outline 
----------------------------------------------*/
.btn.btn-outline-dark,
.btn.btn-outline-light,
.btn.btn-outline-accent {
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}

.btn.btn-outline-dark:hover::after,
.btn.btn-outline-light:hover::after {
  background-color: transparent;
}

.btn.btn-outline-dark {
  border-color: rgba(0, 0, 0, 1);
  color: var(--dark-color);
}

.btn.btn-outline-dark:hover {
  background: var(--dark-color);
  color: var(--light-color);
}

.btn.btn-outline-accent {
  border-color: var(--accent-color);
  color: var(--light-color);
}

.btn.btn-outline-accent:hover {
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  color: var(--dark-color);
}

.btn.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--light-color);
}

.btn.btn-outline-light:hover {
  border-color: rgba(0, 0, 0, 0.5);
  color: var(--dark-color);
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-check:active+.btn-outline-primary,
.btn-check:checked+.btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active {
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-check:active+.btn-outline-primary:focus,
.btn-check:checked+.btn-outline-primary:focus,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus,
.btn-outline-primary:active:focus {
  box-shadow: none;
}


/* - Buttons Color Scheme
------------------------------------------------------------- */
.btn.btn-normal {
  color: var(--light-color);
}

.btn.btn-normal:hover {
  color: var(--dark-color);
  background: linear-gradient(var(--primary-color), var(--secondary-color));
}

.btn.btn-accent {
  color: var(--light-color);
  background-color: var(--accent-color);
}

.btn.btn-accent:hover {
  color: var(--light-color) !important;
  background-color: var(--primary-color);
}

.btn.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
}

.btn.btn-secondary:hover {
  color: var(--light-color);
}

.btn.btn-linear {
  background-color: var(--primary-color);
  /* For browsers that do not support gradients */
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  background: linear-gradient(180deg, var(--primary-color), transparent) var(--secondary-color);

  color: var(--dark-color);
  border: none;
  transition: background-color 0.3s ease-out;
}

.btn.btn-linear:hover {
  background-color: #1d9fba;
}

/* - Buttons Aligns
------------------------------------------------------------- */
.btn-left {
  text-align: left;
  display: block;
}

.btn-center {
  text-align: center;
  display: block;
}

.btn-right {
  text-align: right;
  display: block;
}

/*----------------------------------------------*/
/* 2.11 Section */
/*-----------------------------------------------------------*/

/*--- Section Title
-----------------------------------------------*/
.section-header {
  padding-bottom: 35px;
  margin: 0 auto;
}

.section-title h2 {
  font-size: 4.1em;
  font-weight: 700;
}

/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}

.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}

.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}

.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}

/* no padding */
.no-padding-top {
  padding-top: 0 !important;
}

.no-padding-bottom {
  padding-bottom: 0 !important;
}

.no-gutter {
  padding: 0 !important;
}

/* no padding and margin */
.no-padding {
  padding: 0;
}

.no-margin {
  margin: 0;
}

/* - Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}

.margin-medium {
  margin-top: 4.5em;
  margin-bottom: 4.5em;
}

.margin-large {
  margin-top: 6em;
  margin-bottom: 6em;
}

.margin-xlarge {
  margin-top: 7.5em;
  margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {

  .margin-small,
  .margin-medium,
  .margin-large,
  .margin-xlarge {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

/* - Section Bg Colors
--------------------------------------------------------------*/
.bg-light {
  background-color: var(--light-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.bg-blue-trans {
  background: rgba(134, 155, 223, 0.14) !important;
  border: 2px solid rgba(83, 84, 136, 0.4);
}

/* - Content Colors
--------------------------------------------------------------*/

/* - Content Border
--------------------------------------------------------------*/
table.border-bottom tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.content-light table.border-bottom tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.border-right {
  border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.border-left {
  border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.border-set-thin {
  border: 2px solid rgba(197, 229, 228, 0.2);
}

.border-set-bold {
  border: 6px solid rgba(197, 229, 228, 0.2);
}

.border-rounded-10 {
  border-radius: 10px;
}

.border-rounded-20 {
  border-radius: 20px;
}

.border-rounded-50 {
  border-radius: 50px;
}

.border-rounded-circle {
  border-radius: 50%;
}

/* - Content Border None
--------------------------------------------------------------*/
.no-border-top {
  border-top: none !important;
}

.no-border-right {
  border-right: none !important;
}

.no-border-bottom {
  border-bottom: none !important;
}

.no-border-left {
  border-left: none !important;
}

/*====================================================================*/
/* 3. EXTENDED TYPOGRAPHY */
/*====================================================================*/
/*----------------------------------------------*/
/* 3.1 Blockquote /Pullquote */
/*----------------------------------------------*/
.single-post .content p:first-child,
.quote blockquote,
blockquote,
.single-post .content blockquote p,
.pullquote-right,
.pullquote-left {
  font-family: var(--heading-font);
  font-size: 1.5em;
  line-height: 1.4em;
  font-weight: 500;
  letter-spacing: 2px;
  font-style: normal;
  margin: 0 0 20px;
  padding: 20px 40px;
  border-left: 1px solid var(--primary-color);
}

.pullquote-right,
.pullquote-left {
  width: 40%;
}

blockquote cite {
  display: block;
  font-size: 0.8em;
  margin-top: 20px;
  font-style: italic;
}

.pullquote-left {
  float: left;
  margin: 20px 20px 20px 0;
}

.pullquote-right {
  float: right;
  margin: 20px 0 20px 20px;
}

/*----------------------------------------------*/
/* 3.2 Text Highlights */
/*----------------------------------------------*/
.highlight {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1px 5px;
}

/*====================================================================*/
/* 4. CONTENT ELEMENTS */
/*====================================================================*/

/*--------------------------------------------------------------
/** 4.1 General Tabs
--------------------------------------------------------------*/


/*--------------------------------------------------------------
/** 4.3 Images and Text Style
--------------------------------------------------------------*/

/* Text Style
------------------------------------------*/
.text-linear {
  background: linear-gradient(297deg, var(--primary-color), var(--secondary-color));
  background: -webkit-linear-gradient(297deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*====================================================================*/
/* 5. BLOG STYLES */
/*====================================================================*/

/* 5.1 Blog Single Post
------------------------------------------*/
/* breadcrumbs */
.breadcrumbs span {
  display: inline-block;
}

/* 5.2 About Author
------------------------------------------*/
.author-post {
  padding-left: 30px;
}

.author-post h4 {
  margin: 0;
  font-weight: 700;
  text-transform: none;
}

/* 5.3 Comments List
------------------------------------------*/
.comment-list .comment-item {
  display: flex;
}

.comment-item .comment-meta {
  display: flex;
  align-items: baseline;
}

.comment-meta span.meta-date {
  font-size: 13px;
  padding-right: 50px;
}

.comments-wrap .child-comments {
  padding-left: 50px;
}

/* 5.4 Comments Form
------------------------------------------*/
.comment-respond .comment-form {
  display: flex;
}

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/

/* 6.1 Header
--------------------------------------------------------------*/

/* - Top Left Login
--------------------------------------------------------------*/
.btn-wrap .btn {
  margin: 0;
}

.btn-wrap a.login-btn {
  margin-right: 20px;
}

/* - Header Menu
--------------------------------------------------------------*/
.main-menu li.menu-item {
  padding: 10px 20px;
}

.main-menu li.menu-item a {
  color: #ffffff;
}

.main-menu li.menu-item a:hover,
.main-menu li.menu-item a.active {
  color: var(--secondary-color);
}

/* dropdown */
.dropdown-item.active,
.dropdown-item:active {
  color: var(--dark-color);
  text-decoration: none;
  background-color: var(--dim-light-color);
}

/* offcanvas */
.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  visibility: hidden;
  background-color: var(--dark-color);
  background-clip: padding-box;
  outline: 0;
  transition: transform .3s ease-in-out;
}

iconify-icon.hamburger-menu {
  font-size: 2rem;
  color: var(--primary-color);
}

/* modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}



/* 6.2 Billboard
--------------------------------------------------------------*/
#billboard .image-holder {
  padding: 40px;
}

#billboard .banner-content p {
  width: 90%;
  font-size: 1.5em;
  line-height: 2;
}

/* 6.3 Association With
--------------------------------------------------------------*/
#association-with img {
  width: auto;
}

/* 6.4 Collection NFT Card
--------------------------------------------------------------*/
#product-card .product-item {
  padding: 100px 60px;
}

#product-card i.icon {
  font-size: 4.3em;
  color: var(--primary-color);
}

#product-card .product-detail h3.card-title,
#product-card .product-detail .currency {
  font-size: 2.4em;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* 6.5 Track Earning
--------------------------------------------------------------*/

/* 6.6 Subscribe
--------------------------------------------------------------*/
.subscribe-content form#form {
  max-width: 820px;
  margin: 60px auto;
}

.subscribe-content input {
  width: 70%;
  font-size: 1.6em;
  font-style: italic;
  padding-left: 40px;
  color: var(--dim-light-color);
}

/* 6.7 Footer
--------------------------------------------------------------*/

/*  Footer Top
--------------------------------------------------------------*/
#footer .footer-item.item-001 {
  margin-right: 140px;
}

#footer .footer-item.item-001 p {
  margin: 20px 0;
}

.footer-item h4.widget-title {
  font-size: 1.9em;
  font-weight: 400;
  margin-bottom: 25px;
}

.footer-item ul.footer-menu a {
  color: var(--dim-light-color);
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-item ul.footer-menu a:hover {
  color: var(--light-color);
}

#footer .footer-item .social-links li {
  margin: 2px;
}

#footer .footer-item .social-links a {
  color: var(--light-color);
  text-align: center;
  display: inline-block;
  padding: 6px 10px;
}

#footer .footer-item .social-links a:hover {
  color: var(--dark-color);
  background: linear-gradient(var(--primary-color), var(--secondary-color));
  border-radius: 10px;
}

/* Footer Bottom
--------------------------------------------------------------*/
#footer-bottom a {
  font-weight: 700;
}

/* Comment section */
.commentorImg {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  border-radius: 50%;
}


/* Bootstrap theme override 
--------------------------------------------------------------*/
@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1440px;
  }
}

.nav-link {
  color: #9099a7;
}

.nav-link:hover {
  color: #111;
}

.tab-content {
  padding: 20px 0;
}


/* primary button */
.btn-link,
.link-primary {
  color: #44E5AE;
}

.btn-link:focus,
.btn-link:hover,
.link-primary:focus,
.link-primary:hover {
  color: #74CFCA;
}

.btn-primary {
  background-color: #44E5AE;
  border-color: #44E5AE;
}

.btn-primary:hover {
  color: #fff;
  background-color: #74CFCA;
  border-color: #74CFCA;
}

.border-primary {
  border-color: #44E5AE !important;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #44E5AE !important;
}

.text-white .border-top {
  border-top: 1px solid #3b3e42 !important;
}

.text-white p {
  color: var(--dim-light-color)
}

.display-3,
.display-5,
.display-6 {
  font-weight: 700;
}


/*--------------------------------------------------------------
contact page style start
--------------------------------------------------------------*/
iconify-icon .social-icon {
  color: var(--light-color);
}



/*--------------------------------------------------------------
FAQs page style start
--------------------------------------------------------------*/
.accordion-item {
  background-color: transparent;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  margin: 0px;
  font-size: 1rem;
  color: #ffffff;
  text-align: left;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-button:focus {
  border-color: #e5e6e7;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--secondary-color);
  background-color: transparent;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url('https://api.iconify.design/iconamoon/arrow-down-2-fill.svg?color=white');
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  background-image: url('https://api.iconify.design/iconamoon/arrow-down-2-fill.svg?color=white');
  transform: rotate(-180deg);
}


/*--------------------------------------------------------------
support page style start
--------------------------------------------------------------*/
textarea.form-control {
  min-height: calc(2em + 7rem + 2px);
}


/*--------------------------------------------------------------
services page style start
--------------------------------------------------------------*/
iconify-icon.services {
  font-size: 5rem;
  color: var(--primary-color);
}


/*======================================================================
  THEME SYSTEM — light / dark
  Переключается через data-theme="light|dark" на <html>
  Плавная анимация — transition на всех ключевых элементах
======================================================================*/

/* ── Плавные переходы цветов ── */
*,
*::before,
*::after {
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/*
  Класс .no-transitions вешается на <html> на один кадр при переключении темы.
  Это полностью отключает все анимации в момент смены data-theme,
  предотвращая белую вспышку container-fluid и других элементов.
*/
.no-transitions *,
.no-transitions *::before,
.no-transitions *::after {
  transition: none !important;
}

/* Исключаем анимацию для элементов где она мешает */
img,
.featured-img,
.post-image,
.btn,
.btn-link,
[class*="swiper"] {
  transition:
    transform 0.35s ease,
    opacity 0.3s ease !important;
}

/* ══════════════════════════════
   ТЁМНАЯ ТЕМА (по умолчанию)
   ══════════════════════════════ */
:root,
[data-theme="dark"] {
  --theme-bg: #121212;
  --theme-bg-secondary: #1c1c1c;
  --theme-surface: #1e1e1e;
  --theme-border: rgba(255, 255, 255, 0.1);
  --theme-text: #e8e8e8;
  --theme-text-muted: #9d9d9d;
  --theme-nav-bg: #121212;
  --theme-nav-text: #ffffff;
  --theme-card-bg: #1e1e1e;
  --theme-card-border: rgba(255, 255, 255, 0.08);
  --theme-footer-bg: #151515;
  --theme-hr: rgba(83, 84, 136, 0.5);
  --theme-input-bg: rgba(255, 255, 255, 0.06);
  --theme-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ══════════════════════════════
   СВЕТЛАЯ ТЕМА
   ══════════════════════════════ */
[data-theme="light"] {
  --theme-bg: #f5f6fa;
  --theme-bg-secondary: #eef0f5;
  --theme-surface: #ffffff;
  --theme-border: rgba(0, 0, 0, 0.1);
  --theme-text: #1a1a2e;
  --theme-text-muted: #5a6070;
  --theme-nav-bg: #ffffff;
  --theme-nav-text: #1a1a2e;
  --theme-card-bg: #ffffff;
  --theme-card-border: rgba(0, 0, 0, 0.08);
  --theme-footer-bg: #1a1a2e;
  --theme-hr: rgba(0, 0, 0, 0.1);
  --theme-input-bg: rgba(0, 0, 0, 0.04);
  --theme-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ── Применяем переменные ── */

/* Body — использует CSS переменные темы (установлены выше) */

/* ======================================================
   NAVBAR — фон + плавный переход
   Bootstrap переопределяет глобальный * { transition }
   через vendor.css, поэтому явно форсируем transition
   с !important на каждый возможный элемент внутри nav.
   ====================================================== */

/* Явный фон на саму nav и Bootstrap-контейнеры */
nav.navbar,
nav.navbar>.container-fluid,
nav.navbar .container-fluid,
nav.navbar .offcanvas,
nav.navbar .offcanvas-body {
  background-color: var(--theme-nav-bg) !important;
}

/* Форсируем transition на все элементы внутри navbar —
   Bootstrap в vendor.css ставит transition: none на .offcanvas
   через @media (min-width: 992px) .navbar-expand-lg .offcanvas */
nav.navbar *,
nav.navbar *::before,
nav.navbar *::after {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.35s ease !important;
}

/* Исключение: transform-анимации (hover-эффекты) не трогаем */
nav.navbar img,
nav.navbar .btn,
nav.navbar iconify-icon {
  transition: background-color 0.45s ease, color 0.45s ease, transform 0.2s ease, opacity 0.2s ease !important;
}

[data-theme="light"] nav.navbar {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .main-menu li.menu-item a {
  color: var(--theme-nav-text) !important;
}

[data-theme="light"] .main-menu li.menu-item a:hover {
  color: var(--primary-color) !important;
}

[data-theme="light"] iconify-icon.hamburger-menu {
  color: var(--dark-color);
}

/* Offcanvas (мобайл меню) */
[data-theme="light"] .offcanvas {
  background-color: #ffffff !important;
}

[data-theme="light"] .offcanvas-title {
  color: var(--dark-color) !important;
}

[data-theme="light"] .btn-close-white {
  filter: invert(1);
}

/* Секция intro */
[data-theme="light"] #intro small,
[data-theme="light"] #intro .breadcrumbs a,
[data-theme="light"] #intro .breadcrumbs span {
  color: var(--theme-text-muted) !important;
}

[data-theme="light"] #intro h2 {
  color: var(--theme-text) !important;
}

/* Карточки постов */
[data-theme="light"] .post-content .post-title a {
  color: var(--theme-text) !important;
}

[data-theme="light"] .post-content .post-title a:hover {
  color: var(--primary-color) !important;
}

[data-theme="light"] .post-content p {
  color: var(--theme-text-muted) !important;
}

[data-theme="light"] .post-content .post-meta {
  color: var(--primary-color) !important;
}

/* Секция подписки */
[data-theme="light"] #subscribe {
  background-color: var(--theme-bg-secondary) !important;
}

[data-theme="light"] #subscribe h2,
[data-theme="light"] #subscribe p {
  color: var(--theme-text) !important;
}

[data-theme="light"] .subscribe-content input {
  color: var(--theme-text-muted) !important;
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}

/* HR */
[data-theme="light"] hr {
  border-top-color: var(--theme-hr) !important;
}

/* Пагинация */
[data-theme="light"] .page-link {
  background-color: var(--theme-surface);
  color: var(--theme-text);
  border-color: var(--theme-border);
}

[data-theme="light"] .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-color);
}

[data-theme="light"] .page-item.disabled .page-link {
  background-color: var(--theme-bg-secondary);
  color: var(--theme-text-muted);
}

/* text-white override для светлой темы */
[data-theme="light"] .text-white {
  color: var(--theme-text) !important;
}

[data-theme="light"] .text-white-50 {
  color: var(--theme-text-muted) !important;
}

/* Section title */
[data-theme="light"] .section-title small {
  color: var(--primary-color);
}


/*======================================================================
  LANG / THEME SWITCHER
======================================================================*/

/* Кнопки языка */
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .15rem .3rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, .45);
  transition: color .25s ease, background .25s ease;
  line-height: 1;
}

.lang-btn.active {
  color: var(--primary-color);
  background: rgba(68, 229, 174, .12);
}

.lang-btn:hover:not(.active) {
  color: rgba(255, 255, 255, .8);
}

/* В светлой теме */
[data-theme="light"] .lang-switcher {
  background: rgba(0, 0, 0, .06) !important;
}

[data-theme="light"] .lang-btn {
  color: rgba(0, 0, 0, .4);
}

[data-theme="light"] .lang-btn.active {
  color: var(--primary-color);
  background: rgba(68, 229, 174, .15);
}

[data-theme="light"] .lang-btn:hover:not(.active) {
  color: rgba(0, 0, 0, .75);
}

[data-theme="light"] #theme-toggle {
  background: rgba(0, 0, 0, .06) !important;
}

[data-theme="light"] #theme-toggle:hover {
  background: rgba(0, 0, 0, .12) !important;
}

/* Hover на кнопке темы */
#theme-toggle:hover {
  background: rgba(255, 255, 255, .15) !important;
}


/*======================================================================
  LANG / THEME TOGGLE BUTTONS
======================================================================*/

/* ── Кнопка языка ── */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 2rem;
  padding: .3rem .75rem;
  text-decoration: none !important;
  transition: background .25s ease;
  cursor: pointer;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, .15);
}

/* Текущий язык — приглушён */
.lang-toggle-current {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary-color);
  line-height: 1;
}

/* Язык для переключения — ещё приглушённее */
.lang-toggle-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .4);
  line-height: 1;
}

.lang-toggle-label::after {
  content: ' →';
  font-size: .6rem;
  opacity: .6;
}

/* ── Кнопка темы ── */
.theme-toggle-btn {
  background: rgba(255, 255, 255, .08);
  border: none;
  border-radius: 2rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background .25s ease, transform .2s ease;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, .16);
  transform: rotate(15deg);
}

/* Светлая тема — адаптация кнопок */
[data-theme="light"] .lang-toggle-btn {
  background: rgba(0, 0, 0, .07);
}

[data-theme="light"] .lang-toggle-btn:hover {
  background: rgba(0, 0, 0, .13);
}

[data-theme="light"] .lang-toggle-label {
  color: rgba(0, 0, 0, .35);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, .07);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, .14);
}

/* ── Применение переменных темы на body ── */
body {
  background-color: var(--theme-bg);
  color: var(--theme-text);
}

/* ── Fix 4: Кнопка Login на светлой теме — тёмный текст на светлом фоне ── */
[data-theme='light'] .btn-outline-primary {
  color: #0d6efd !important;
  border-color: #0d6efd !important;
}

/* Кнопка btn-normal (Login) — адаптируем к светлой теме */
[data-theme='light'] .btn.btn-normal {
  color: var(--dark-color) !important;
  border-color: var(--dark-color) !important;
}

[data-theme='light'] .btn.btn-normal:hover {
  color: var(--dark-color) !important;
  background: linear-gradient(var(--primary-color), var(--secondary-color));
}

/* ── Fix 5: Футер — единый блок без белой прослойки ── */
/* HR между footer и footer-bottom скрываем в светлой теме */
[data-theme='light'] hr {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

/* Футер — тёмный в обеих темах, использует CSS переменную */
#footer,
#footer-bottom {
  background-color: var(--theme-footer-bg);
}

/* HR между footer и footer-bottom сливается с фоном футера */
[data-theme='light'] #footer+hr {
  display: none !important;
}

#footer .widget-title,
#footer .footer-menu a,
#footer p,
#footer-bottom p,
#footer-bottom a {
  color: var(--light-color);
}

[data-theme='light'] #footer,
[data-theme='light'] #footer-bottom {
  background-color: var(--theme-footer-bg) !important;
  color: var(--light-color) !important;
}

[data-theme='light'] #footer .widget-title,
[data-theme='light'] #footer .footer-menu a,
[data-theme='light'] #footer p,
[data-theme='light'] #footer-bottom p,
[data-theme='light'] #footer-bottom a {
  color: var(--light-color) !important;
}

[data-theme='light'] #footer a:hover,
[data-theme='light'] #footer-bottom a:hover {
  color: var(--primary-color) !important;
}

/* Убираем белый фон у HR (разделитель между footer и footer-bottom) */
hr {
  background-color: transparent;
  border: none;
  border-top: 1px solid;
}

[data-theme='dark'] hr {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme='light'] hr {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  background-color: #1a1a2e !important;
}

/* ================================================================
   SINGLE BLOG — scoped styles (uses site CSS vars + theme system)
   ================================================================ */

/* ── Post header ──────────────────────────────────────────────── */
.sb-post-header {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.sb-title {
  font-family: var(--heading-font);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--theme-text);
  margin: 0 0 1.5rem;
}

/* Stats row */
.sb-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  font-family: var(--body-font);
  font-size: .825rem;
  color: var(--theme-text-muted);
}

.sb-stats__item {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.sb-stats__item iconify-icon {
  color: var(--accent-color);
  font-size: .95rem;
  flex-shrink: 0;
}

.sb-stats__sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--theme-border);
  flex-shrink: 0;
}

/* Author link in stats */
.sb-stats__author-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--theme-text-muted);
  text-decoration: none;
  transition: color .2s;
}

.sb-stats__author-link:hover {
  color: var(--accent-color);
}

/* ── Layout ───────────────────────────────────────────────────── */
.sb-layout {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── Cover image ──────────────────────────────────────────────── */
.sb-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.sb-cover img {
  width: 100%;
  height: clamp(220px, 40vw, 460px);
  object-fit: cover;
  display: block;
}

/* ── Article body ─────────────────────────────────────────────── */
.sb-body {
  font-family: var(--body-font);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--theme-text);
}

.sb-body h2 {
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--theme-text);
  margin: 2.5rem 0 .9rem;
  letter-spacing: -.01em;
}

.sb-body h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--theme-text);
  margin: 2rem 0 .7rem;
}

.sb-body p {
  margin-bottom: 1.4rem;
}

.sb-body a {
  color: var(--accent-color);
  border-bottom: 1px solid rgba(68, 229, 174, .28);
  transition: border-color .2s;
}

.sb-body a:hover {
  border-color: var(--accent-color);
}

.sb-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: block;
}

.sb-body ul,
.sb-body ol {
  padding-left: 1.6rem;
  margin-bottom: 1.4rem;
}

.sb-body li {
  margin-bottom: .4rem;
}

.sb-body blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.6rem 2rem 1.6rem 2.4rem;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-left: 3px solid var(--accent-color);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  overflow: hidden;
}

.sb-body blockquote::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-size: 5.5rem;
  font-family: var(--heading-font);
  color: rgba(68, 229, 174, .09);
  line-height: 1;
  pointer-events: none;
}

.sb-body hr {
  border: none;
  border-top: 1px solid var(--theme-border);
  margin: 2.5rem 0;
}

/* ── Post footer ──────────────────────────────────────────────── */
.sb-post-footer {
  border-top: 1px solid var(--theme-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tags */
.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.sb-tags a {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  color: var(--theme-text-muted);
  font-size: .72rem;
  padding: .28em .85em;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s;
  text-decoration: none;
}

.sb-tags a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Author card */
.sb-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s;
}

.sb-author-card:hover {
  border-color: rgba(68, 229, 174, .4);
}

.sb-author-card__initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(68, 229, 174, .1);
  border: 2px solid rgba(68, 229, 174, .35);
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.sb-author-card__label {
  font-size: .68rem;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: .1rem;
}

.sb-author-card__name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--theme-text);
  line-height: 1.2;
}

.sb-author-card__date {
  font-size: .78rem;
  color: var(--theme-text-muted);
  margin-top: .1rem;
}

.sb-author-card__arrow {
  margin-left: auto;
  color: var(--theme-text-muted);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}

.sb-author-card:hover .sb-author-card__arrow {
  transform: translateX(3px);
  color: var(--accent-color);
}

/* Share (compact inline) */
.sb-share {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.sb-share__label {
  font-family: var(--heading-font);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--theme-text-muted);
}

.sb-share__buttons {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.sb-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-text-muted);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  text-decoration: none;
}

.sb-share__btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* ── Section heading ──────────────────────────────────────────── */
.sb-section-heading {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.sb-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--theme-border);
}

/* ── Comment cards ────────────────────────────────────────────── */
.sb-comment {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  margin-bottom: .75rem;
  transition: border-color .2s;
}

.sb-comment:hover {
  border-color: rgba(68, 229, 174, .28);
}

.sb-comment--reply {
  margin-left: 2.75rem;
  background: var(--theme-bg-secondary);
}

.sb-comment__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--theme-border);
}

.sb-comment__meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .4rem;
}

.sb-comment__author {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: .9rem;
  color: var(--theme-text);
}

.sb-comment__date {
  font-size: .775rem;
  color: var(--theme-text-muted);
}

.sb-comment__reply {
  font-size: .775rem;
  color: var(--accent-color);
  margin-left: auto;
  opacity: .7;
  transition: opacity .2s;
  text-decoration: none;
}

.sb-comment__reply:hover {
  opacity: 1;
  color: var(--accent-color);
}

.sb-comment__text {
  font-size: .9rem;
  color: var(--theme-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Comment form ─────────────────────────────────────────────── */
.sb-form {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  padding: 1.75rem;
}

.sb-form .form-label {
  font-family: var(--heading-font);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--theme-text-muted);
  margin-bottom: .3rem;
}

.sb-form .form-control {
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-border);
  color: var(--theme-text);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-family: var(--body-font);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}

.sb-form .form-control::placeholder {
  color: var(--theme-text-muted);
  opacity: .55;
}

.sb-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(68, 229, 174, .1);
  background: var(--theme-input-bg);
  color: var(--theme-text);
}

.sb-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.sb-form .form-check-label {
  font-size: .85rem;
  color: var(--theme-text-muted);
}

.sb-form .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.sb-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  background: var(--accent-color);
  color: #111;
  font-family: var(--heading-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: .85rem 2rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
}

.sb-btn-submit:hover {
  opacity: .87;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(68, 229, 174, .28);
}

/* ── Related posts ────────────────────────────────────────────── */
.sb-related {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
  max-width: 780px;
  margin: 0 auto;
}

.sb-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 767px) {
  .sb-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet portrait (768–1023px) — 1 col */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .sb-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet landscape — 2 col */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
  .sb-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sb-related-card {
  display: block;
  border-radius: .5rem;
  overflow: hidden;
  text-decoration: none;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  transition: border-color .25s, transform .25s;
}

.sb-related-card:hover {
  border-color: rgba(68, 229, 174, .4);
  transform: translateY(-3px);
}

.sb-related-card__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.sb-related-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.sb-related-card:hover .sb-related-card__thumb img {
  transform: scale(1.05);
}

.sb-related-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  background: var(--theme-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-related-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 55%);
}

.sb-related-card__overlay-meta {
  position: absolute;
  bottom: .75rem;
  left: .9rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.sb-related-card__overlay-meta span {
  color: rgba(255, 255, 255, .75);
  font-size: .73rem;
}

.sb-related-card__overlay-meta svg {
  flex-shrink: 0;
}

.sb-related-card__overlay-meta .dot {
  color: rgba(255, 255, 255, .35);
}

.sb-related-card__body {
  padding: .9rem 1rem 1rem;
}

.sb-related-card__category {
  font-family: var(--heading-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: .35rem;
}

.sb-related-card__title {
  font-family: var(--heading-font);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--theme-text);
  margin: 0 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-related-card__excerpt {
  font-size: .82rem;
  color: var(--theme-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── Subscribe ────────────────────────────────────────────────── */
#subscribe {
  background: var(--theme-surface);
  border-top: 1px solid var(--theme-border);
  padding: clamp(4rem, 9vw, 6.5rem) 1rem;
  position: relative;
  overflow: hidden;
}

#subscribe::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(68, 229, 174, .05) 0%, transparent 65%);
  pointer-events: none;
}

.sb-subscribe {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.sb-subscribe h2 {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--theme-text);
  letter-spacing: -.02em;
  margin-bottom: .65rem;
}

.sb-subscribe p {
  color: var(--theme-text-muted);
  font-size: .95rem;
  margin-bottom: 1.75rem;
}

/* ── Subscribe form — фикс выравнивания кнопки ── */
.sb-subscribe-form {
  display: flex;
  gap: .7rem;
  align-items: stretch;
  /* кнопка и инпут одной высоты */
}

.sb-subscribe-form input {
  flex: 1 1 0;
  min-width: 0;
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text);
  padding: .75rem 1.1rem;
  font-family: var(--body-font);
  font-size: .9rem;
  transition: border-color .2s;
}

.sb-subscribe-form input::placeholder {
  color: var(--theme-text-muted);
}

.sb-subscribe-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.sb-subscribe-form button {
  flex-shrink: 0;
  background: var(--accent-color);
  color: #111;
  font-family: var(--heading-font);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: 0 1.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}

.sb-subscribe-form button:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes sbFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sb-animate {
  animation: sbFadeUp .5s ease both;
}

.sb-animate-d1 {
  animation-delay: .1s;
}

.sb-animate-d2 {
  animation-delay: .2s;
}

/* ── Light theme fixes ────────────────────────────────────────── */
[data-theme="light"] .sb-subscribe h2,
[data-theme="light"] .sb-subscribe p {
  color: var(--theme-text) !important;
}

[data-theme="light"] .sb-subscribe-form input {
  color: var(--theme-text) !important;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .sb-comment--reply {
    margin-left: 1rem;
  }

  .sb-subscribe-form {
    flex-direction: column;
  }

  .sb-subscribe-form button {
    padding: .75rem 1.6rem;
  }
}

@keyframes blog-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-empty-icon {
    animation: none !important;
  }
}