/*
    Elysium - Clean & Minimal Portfolio HTML5 Template
    Version: 1.0.3
    Author: Mountain-Themes
    Author URL: https://themeforest.net/user/mountain-themes
    Elysium © 2026. Design & Coded by Mountain-Themes.
    
    TABLE OF CONTENTS
    ---------------------------
     1. General
     2. Header
     3. Portfolio
     4. Blog
     5. Footer
     6. Shop
     7. Elements
     8. Responsive CSS
*/


/* ================================= */
/* :::::::::: 1. General ::::::::::: */
/* ================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    line-height: 25px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color: #000;
    font-family: "Exo 2", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
}

h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Exo 2", Helvetica, Arial, sans-serif;
    letter-spacing: 0.105em;
    font-weight: 500;
    text-transform: none;
}

a {
	text-decoration: none !important;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a:hover {
	  text-decoration: none !important;
	  -webkit-transition: all 0.3s ease-in-out;
	  -moz-transition: all 0.3s ease-in-out;
	  -ms-transition: all 0.3s ease-in-out;
	  -o-transition: all 0.3s ease-in-out;
	  transition: all 0.3s ease-in-out;
}


/* The Loader */

.classic-page-loader {
    background: #fff;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 99999;
}

.square {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0);
  margin-right: auto;
  margin-left: auto;
  border: 2px solid #000;
  left: 68px;
  top: 68px;
  position: absolute;
}

.square-loader {
  transform: rotate(45deg);
  position: absolute;
  top: 38%;
  left: 50%;
}

.first_square {
  animation: first_square_animate 1s infinite ease-in-out;
}
.second_square {
  animation: second_square 1s forwards, 
             second_square_animate 1s infinite ease-in-out;
} 

@keyframes second_square {
  0% { width: 80px; height:80px; left: 48px; top: 48px; }
  50% { width: 80px; height:80px; left: 48px; top: 48px; }
  100% { width: 80px; height:80px; left: 48px; top: 48px; }
}

@keyframes first_square_animate {
  0%   { transform: perspective(100px) rotateX(0deg) rotateY(0deg);} 
  50%  { transform: perspective(100px) rotateX(-180deg) rotateY(0deg); }
  100% { transform: perspective(100px) rotateX(-180deg) rotateY(-180deg); }
}

@keyframes second_square_animate {
  0%   { transform: perspective(200px) rotateX(0deg) rotateY(0deg); } 
  50%  { transform: perspective(200px) rotateX(180deg) rotateY(0deg); } 
  100% { transform: perspective(200px) rotateX(180deg) rotateY(180deg); }
}

::-webkit-input-placeholder {
    color: #8e8e8e;
}

:-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

::-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #8e8e8e;
}

#wrapper {
    padding: 70px 0;
}

.elysium-padding-right {
    padding-right: 5%;
}

.elysium-padding-left {
    padding-left: 5%;
}

a,
a:hover {
    color: #000;
}

iframe {
    width: 100%;
    border: none;
}

.portfolio.carousel img {
  height: 500px;
}

.carousel-cell {
  padding-right: 20px;
}

.carousel-cell:last-child {
    padding-right: 0px;
}

.carousel-cell a {
  text-decoration: none;
  color: #000;
}

.carousel-cell h2 {
  font-size: 17px;
  background: #fff;
  position: absolute;
  bottom: 30px;
  left: -1px;
  opacity: 0;
  padding: 10px;
  word-break: break-all;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.carousel-cell:hover h2 {
  opacity: 1;
}


img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

/* ================================= */
/* ::::::::::: 2. Header ::::::::::: */
/* ================================= */

header {
    margin-top: 58px;
    text-align:center;
    z-index: 999;
    position: relative;
}

header .logo {
      padding-bottom: 50px;
}

nav {
    display: inline-block;
}

.icon-mobile {
    display: none;
}

.mobile-menu {
    display: none;
}

#elysium_menu,
#elysium_menu ul,
#elysium_menu li,
#elysium_menu a {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}


#elysium_menu > ul > li.active > ul > li a {
  color: #fff!important;
}


#elysium_menu > ul {
  list-style: inside none;
  padding: 0;
  margin: 0;
}

#elysium_menu > ul > li {
  list-style: inside none;
  float: left;
  display: block;
  padding: 0;
  position: relative;
  margin-right: 35px;
}

#elysium_menu > ul > li > a {
  padding-bottom: 5px;
}

#elysium_menu > ul > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

#elysium_menu > ul > li.active > a:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#elysium_menu > ul > li > a:hover:before, #elysium_menu > ul > li.has-sub:hover > a:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#elysium_menu > ul > li > a {
    font-family: "Exo 2", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.105em;
    text-align: inherit;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    text-decoration: none;
    margin: 12px 0 0 5px;
}

#elysium_menu > ul > li > a span {
    margin-right: -2px;
    display: inline-block;
}

#elysium_menu ul li.has-sub:hover > ul
 {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(-0%);
  -moz-transform: translateY(-0%);
  -ms-transform: translateY(-0%);
  -o-transform: translateY(-0%);
  transform: translateY(-0%);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s;
}

#elysium_menu ul li > ul
 {
  visibility: hidden;
  opacity: 0;
  width: auto;
  position: absolute;
  top: 28px;
  background: #000000;
  z-index: 999;
  -webkit-transform: translateY(10%);
  -moz-transform: translateY(10%);
  -ms-transform: translateY(10%);
  -o-transform: translateY(10%);
  transform: translateY(10%);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s;
}

#elysium_menu ul li > ul {
  width: 200px;
}

#elysium_menu ul li > ul li {
  display: block;
  list-style: inside none;
  padding: 0;
  margin: 0;
  position: relative;
}

#elysium_menu ul li ul ul {
    left: 200px;
    top: 0;
}

#elysium_menu ul li > ul li:last-child {
  border-bottom: 0;
}

#elysium_menu ul li > ul li a {
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  line-height: 15px;
  padding: 16px 20px;
 font-family: "Exo 2", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.105em;
    text-align: left;
    text-transform: uppercase;
    color: #ffffff;
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#elysium_menu > ul > li > ul > li a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}


/* ================================= */
/* :::::::: 3. Portfolio ::::::::::: */
/* ================================= */

.cbp-item-off {
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
    opacity: 0!important;
    transition-duration: 0s!important;
    transition-delay: 0s!important;
}

.portfolioFilter {
    margin-bottom: 70px;
}

.portfolioFilter .cbp-filter-item {
  margin: 10px;
  padding: 13px;
  color: #000000;
  display: inline-block;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


.portfolioFilter .cbp-filter-item::before, .portfolioFilter .cbp-filter-item::after {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    height: 1px;
    margin-top: -1px;
    background: #000000;
    content: '';
    z-index: -1;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

.portfolioFilter .cbp-filter-item::before {
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    transform: translateY(-20px);
}

.portfolioFilter .cbp-filter-item:after {
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  transform: translateY(20px);
}

.portfolioFilter .cbp-filter-item:hover::before,
.portfolioFilter .cbp-filter-item-active::before {
    -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.portfolioFilter .cbp-filter-item:hover::after,
.portfolioFilter .cbp-filter-item-active::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/* style */

/* classic anim */

.cbp.classicAnim .cbp-item .overlay-wrap {
  padding: 25px;
}

.cbp.classicAnim .cbp-item .overlay-box, .cbp.minimalAnim .cbp-item .overlay-box {
    position: relative;
    overflow: hidden;
}

.cbp.classicAnim .overlay-box > a, .cbp.minimalAnim .overlay-box > a  {
    display:block;
    position:relative;
}

.cbp.classicAnim .cbp-item .overlay, .cbp.minimalAnim .cbp-item .overlay {
  text-align: center;
}

.cbp.classicAnim .cbp-item .overlay h2, .cbp.minimalAnim .cbp-item .overlay h2 {
    font-size: 1.2em;
    font-weight: 400;
    color: #000000;
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.cbp.classicAnim .cbp-item img, .cbp.minimalAnim .cbp-item img {
    max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: all 0.4s linear;
  -moz-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.cbp.classicAnim .cbp-item:hover img {
    transform: scale(1.5);
}

.cbp.classicAnim .cbp-item .overlay-box:hover .overlay {
  transform: scale(1.0);
}

.cbp.classicAnim .cbp-item .overlay-wrap, .cbp.minimalAnim .cbp-item .overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.cbp.classicAnim .cbp-item .overlay-box .overlay, .cbp.minimalAnim .cbp-item .overlay-box .overlay  {
    display: table;
    height: 100%;
    width: 100%;
}

.cbp.classicAnim .cbp-item .overlay {
    border: 1px solid #000;
    transform: scale(0.9);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.cbp.classicAnim .cbp-item .overlay-box:hover .overlay-wrap, .cbp.minimalAnim .cbp-item .overlay-box:hover .overlay-wrap {
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.cbp.classicAnim .cbp-item .overlay-box p {
    padding-top: 50px;
    text-align: center;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    color: #000;
    padding: 10px;
}


.cbp.altAnim {
  margin-bottom: 25px;
}

.cbp.altAnim h2 {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 5px;
  margin-top: 15px;
}

.cbp.altAnim p {
  font-style: italic;
}

.work-box {
    background-position: center center;
    background-size: cover;
    height: 0;
    width: 100%;
    padding-top: 66.64%;
    background-repeat: no-repeat;
}

/* single projects */

.portfolio-single-nav {
    margin-top: 55px;
    display: inline-block;
    width: 100%;
    margin-bottom: 40px;
}

.single-project h4.title-project {
    margin-top: 0;
    font-size: 18px;
}

.single-navigation.image-nav {
  margin-top: 80px;
}

.single-navigation .prev-button {
    float: left;
    padding-bottom: 10px;
}

.single-navigation .next-button {
    float: right;
    text-align: center;
}


.single-navigation .prev-button a i {
    padding-right: 10px;
    font-weight: 500;
}

.single-navigation .next-button a i {
    padding-left: 10px;
    font-weight: 500;
}

.nav-img span {
   position: absolute;
   bottom: -30px;
   left: -20px;
   z-index: -1;
   display: block;
   width: 170px;
   margin: 0;
   padding: 0;
   color: #444;
   font-size: 1em;
   text-decoration: none;
   text-align: center;
   -webkit-transition: .3s ease-in-out;
   transition: .3s ease-in-out;
   opacity: 0;
   pointer-events: none;
   font-weight: 500;
   letter-spacing: 1px;
}


.single-navigation .nav-img img {
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.single-navigation .nav-img {
  position: relative;
}
.single-navigation .nav-img:before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: '';
  width: 0;
  height: 0;
  background: rgba(255,255,255,.2);
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.single-navigation .nav-img:hover:before {
  -webkit-animation: circle .75s;
  animation: circle .75s;
}

@-webkit-keyframes circle {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}
@keyframes circle {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.single-navigation .nav-img:hover span {
    bottom: -36px;
  opacity: 1;
}

.gallery-projects {
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.gallery-projects .overlay-box {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-projects .overlay-box > a {
    display: block;
    position: relative;
}

.gallery-projects .overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.gallery-projects .overlay-box .overlay {
    display: table;
    height: 100%;
    width: 100%;
}

.gallery-projects i {
    font-size: 23px;
    color: #000;
    display: table-cell;
    vertical-align: middle;
}

.gallery-projects img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.gallery-projects .overlay-box:hover .overlay-wrap {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.project-details {margin-top: 50px;margin-bottom: 50px;}

.project-details p {
  font-size: 14px;
}

ul.project-details {
  padding: 0;
}

.project-details li {
  list-style: none;
  margin-bottom: 25px;
}

.project-details h4 {
    margin-top: 18px;
    display: block;
    padding-bottom: 10px;
    font-size: 18px;
}

.project-details h5 {
  margin-top: 18px;
  margin-bottom: 7px;
}

.project-details h5 {
  font-size: 15px;
}


.project-details .share-icons {
  padding: 0;
}

.project-details .share-icons span {
  margin-right: -10px;
}

.project-details .share-icons li {
  list-style: none;
  display: inline-block;
  margin-right: 0px;
}

.project-details .share-icons li a {
  color: #000000;
  font-size: 15px;
  display: inline-block;
  margin-right: 20px;
  position: relative;
  background-color: transparent;
}

.project-details .share-icons li:last-child a {
  margin-right: 0;
}

.project-details .share-icons li i {
  color: rgb(33, 31, 31);
}

.header-cover .mouse-wrapper {
  display:block;
  z-index:10;
  position: absolute;
  margin-left: 18px;
  z-index: 999;
  bottom: 0;
  right: 0;
  left: 0;
}

.header-cover .mouse {
  margin-left: -20px;
  position: absolute;
  text-align: center;
  bottom: 0;
  left: 50%;
  animation: wobbleArrow 1s ease-in-out 0s infinite alternate;
  -webkit-animation: wobbleArrow 1s ease-in-out 0s infinite alternate;
  -moz-animation: wobbleArrow 1s ease-in-out 0s infinite alternate;
  -o-animation: wobbleArrow 1s ease-in-out 0s infinite alternate;
}

.header-cover .mouse span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 1.2em;
  display: block;
  color: #000;
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.header-cover .mouse a {
  color: #000000;
  position: relative;
  top: 20px;
  line-height: 36px;
  text-align: center;
  outline: none;
}

.header-cover .mouse a i {
  font-size: 1.3em;
  font-weight: 300;
}
@keyframes wobbleArrow {
    from {
        bottom: 40px;
    }
    to {
        bottom: 50px;
    }
}
@-webkit-keyframes wobbleArrow {
    from {
        bottom: 40px;
    }
    to {
        bottom: 50px;
    }
}

/* ================================= */
/* ::::::::::: 4. Blog ::::::::::::: */
/* ================================= */

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

/* type link */

.entry-header .type-link {
    text-align: center;
    height: 200px;
    background-size: cover;
    background-position: center center;
}

.entry-header .type-link.img-none {
    background: rgb(0, 0, 0);
}

.entry-header .type-link a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 65px 35px;
    text-decoration: none;
    color: #fff;
    word-break: break-all;
}

.entry-header .type-link a:before {
  content: '\f0c1';
  font-family: "Font Awesome 7 Pro";
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #000;
  display: block;
  background: #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin: 0 auto 10px;
}


/* type quote */

.entry-header .type-quote {
    text-align: center;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.entry-header .type-quote.img-none {
    background: rgb(0, 0, 0);
}

.entry-header .type-quote a {
    text-decoration: none;
    color: #fff;
}

.entry-header .type-quote blockquote:before {
    content: '\f10d';
    font-family: "Font Awesome 7 Pro";
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #000;
    display: block;
    background: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    margin: 0 auto 10px;
}

.entry-header .type-quote blockquote {
    border: none;
    padding: 70px 28px;
}

.entry-header .type-quote blockquote p {
    font-style: italic;
    font-size: 15px;
    margin-bottom: 5px;
}

.entry-header .type-quote blockquote cite {
    font-size: 13px;
    font-weight: 300;
}


/* type status */

.entry-header .type-status {
    text-align: center;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.entry-header .type-status .twitter-tweet {
    text-align: center;
    margin: 0 auto!important;
}

.entry-header .type-status {
    border: none;
    text-align: center;
    padding: 70px 28px;
}


/* type video and audio */

.type-video .wp-video {
    width: 100%!important;
}

.type-video iframe,
.type-audio iframe {
    width: 100%!important;
    height: 450px;
    border: none;
}

.entry-header .type-audio.image-audio {
    text-align: center;
    padding: 25em 0 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
}

.entry-header .type-audio h2 {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    color: #fff;
}


/* type gallery */

.post ul.gallery-projects {
    text-align: left;
}

.post ul.gallery-projects {
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 33px;
}

.post ul.gallery-projects li {
    list-style: none;
    float: left;
    width: 33.33%;
    height: 25%;
}

.post .gallery-projects img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.flexslider ul li div {
    height: 450px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    background-repeat: no-repeat;
}

.flex-caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-bottom: 0;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

.entry-header img.flex-resize {
    opacity: 0;
    visibility: hidden;
    height: 50px;
}

 .flex-direction-nav a {
    background: #ffffff;
    text-align: center !important;
}

 .flex-direction-nav a i {
    font-size: 18px;
    line-height: 40px;
    color: #000000;
}

 .flexslider:hover .flex-direction-nav .flex-next {
    right: 0;
}

.flexslider:hover .flex-direction-nav .flex-prev {
    left: 0;
}

.gallery-post {
    overflow: hidden;
}

.post {
    margin-bottom: 70px;
    overflow: hidden;
}

.blog-no-border .post {
    border: none;
    margin-bottom: 2.5%;
    padding-bottom: 0;
}

.blog-column-two {
    float: left;
}

.blogContainer .gutter-sizer,
.shopContainer .gutter-sizer {
    width: 3%;
}

.blogContainer .blog-column-one {
    width: 100%;
}

.blogContainer .blog-column-two {
    width: 48.5%;
}

.blogContainer .blog-column-three {
    width: 31.333%;
}

.entry-title a {
    color: #000;
    text-decoration: none;
    font-weight: 500;

}

h2.entry-title {font-size: 1.4em;line-height: 25px;text-transform: uppercase;margin-bottom: 10px;}

.post-intro img {
    height: auto;
    margin-bottom: 27px;
    text-align: left;
    max-width: 100%;
    display: block;
}

.post-button {
    margin-top: 35px;
    padding-bottom: 15px;
}

.post-button a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  border: 1px solid #000000;
  background: #000000;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
  letter-spacing: 0.105em;
  padding: 13px 22px 13px 22px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  }

.post-button a:hover {
  background: transparent;
  color: #000;
}

.load-more a {
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.105em;
}

.cbp-l-loadMore-stop {
  pointer-events: none;
  display: block;
}

.cbp-l-loadMore-loading {
  pointer-events: none;
}
.load-more {
    margin-top: 90px;
    margin-bottom: 30px;
}

.cbp-l-loadMore-noMoreLoading {
cursor: not-allowed;
 
}

.load-more .fa-spinner {
    font-size: 2em;
}

.post-details {font-size: 12px;text-transform: uppercase;font-weight: 400;letter-spacing: 0.105em;margin-bottom: 15px;}

.post-details div {
    color: #000000;
    display: inline-block;
    padding-right: 11px;
}



.post-details .avatar-author {
      margin-right: 10px;
}

.post-details .avatar-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-block;
}

.post-details div i {
    color: #000000;
    padding-right: 5px;
}

.post-details div a {
    text-decoration: none;
    color: #000;
}

.post-info {
    color: #000000;
    margin-bottom: 38px;
}

.post-info img {
    max-width: 100%;
    height: auto;
}

.pagination {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.page-numbers {
    text-align: center;
}

.page-numbers li {
    float: left;
    margin: 5px;
    list-style: none;
}

.pagination a,
.pagination span {
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    width: 33px;
    height: 33px;
    margin: 1px;
    padding-top: 4px;
    color: #000000;
}

.pagination span.current {
    background: #0a0a0a;
    color: #fff;
    font-weight: 400;
}

.post-navigation .prev-button {
    float: left;
    padding-bottom: 10px;
}

.post-navigation .next-button {
    float: right;
    padding-bottom: 60px;
}

.post-navigation .prev-button a,
.post-navigation .next-button a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.105em;
  font-size: 12px;
  text-decoration: none;
  background: #000000;
  display: block;
  line-height: 1;
  padding: 14px 22px 14px 22px;
  border: 1px solid #000000;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.post-navigation .prev-button a i {
    padding-right: 5px;
    font-weight: 700;
}

.post-navigation .next-button a i {
    padding-left: 5px;
    font-weight: 700;
}

.post-navigation a:hover {
    background: transparent;
  color: #000;
}

.footer-single {
    color: #000000;
    width: 100%;
    display: inline-block;
    margin-top: 50px;
    margin-bottom: -50px;
}

.footer-single a {
    text-decoration: none;
    color: #000000;
}

.footer-single a[rel=tag] {
    margin-bottom: 23px;
    display: inline-block;
}

.post-categories {
color: #000000;
    width: 100%;
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.105em;
    font-weight: 400;
        margin-bottom: 20px;
}

.post-tags {
    float: left;
    width: 100%;
}

#comments h3.comment-reply-title,
#comments h3.comments-title {
    text-align: left;
    font-size: 1.2em;
    display: block;
}

#comments h3 a {
    font-weight: 400;
    font-size: 10px;
    color: #000000;
}

#comments h3.comment-reply-title {
    margin-top: 35px;
    margin-bottom: 25px;
}

#comments .form-submit {
    margin-top: 5px;
    display: inline-block;
}

.form-comment {
    margin-bottom: 20px;
}



.border-comment {
    border-bottom: 1px solid #f5f5f5;
    padding: 40px 0;
}

#comments {
    margin-top: 10px;
    clear: both;
    display: inline-block;
}

#comments .comment {
    list-style: none;
}

ol.comment-list,
ul.comments,
li.comment {
    padding: 0;
    margin: 0;
}

.no-comments {
    font-weight: 400;
    margin: 40px 0 0;
    text-align: center;
}

#comments .child-comment {
    padding-left: 7%;
}

.comment .avatar-author img {
    float: left;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.comment .name-author {
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.105em;
}

.comment .name-author a {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.comment .date-comment {text-align: left;font-size: 12px;padding: 0 0 5px 0;text-transform: uppercase;letter-spacing: 0.105em;font-weight: 400;}

.comment .date-comment a {
    color: #000000;
}

.comment .header-comment a {
    color: #000000;
    text-decoration: none;
}

.comment .body-comment {text-align: left;margin-top: 25px;color: #000000;margin-bottom: 10px;}


.comment .reply a {
    display: inline-block;
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.105em;
    background: rgba(61, 74, 110, 0);
}


#comments input[type='text'],
#comments input[type='email'] {width: 100%;background: transparent;border: 1px solid #f1f1f1;height: 40px;padding: 10px 10px 10px 15px;margin-bottom: 17px;outline: none;}

#comments .navigation {
    background: none;
    width: auto;
    text-align: center;
    height: auto;
    position: relative;
    left: 0;
    top: -5px;
}

.comment-navigation .nav-links {
    margin-top: 60px;
    margin-bottom: -50px;
}

#comments .navigation a {
    color: #000000;
    font-size: 13px;
}

#comments textarea {
    width: 100%;
    background: transparent;
    padding: 10px 10px 10px 15px;
    border: 1px solid #f1f1f1;
    outline: none;
    color: #000000;
    resize: vertical;
    margin-bottom: 12px;
}

#comments input[type='submit'] {
    outline: none;
    color: #ffffff;
    border: 1px solid #000000;
    font-size: 12px;
    background: #000000;
    border-radius: 0;
    float: left;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.105em;
    text-transform: uppercase;
    margin-top: 5px;
    line-height: 1;
    padding: 14px 22px 14px 22px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#comments input[type='submit']:hover {
    background: rgba(0, 0, 0, 0);
    color: #000000;
}


#comments::-webkit-input-placeholder {
    color: #000000;
}

#comments:-moz-placeholder {
    color: #000000;
    opacity: 1;
}

#comments::-moz-placeholder {
    color: #000000;
    opacity: 1;
}

#comments:-ms-input-placeholder {
    color: #000000;
}


/* minimal style */

.blog-minimal .entry-title {
    margin-top: 0;
}

.blog-minimal .col-md-5 {
    padding-right: 30px;
}

.blog-minimal {
    display: flex;
}


/* creative style */

.blog-creative .work-box {
    background-position: center center;
    background-size: cover;
    height: 0;
    width: 100%;
    padding-top: 66.64%;
    background-repeat: no-repeat;
}

.blog-creative .entry-header {
    overflow: hidden;
    position: relative;
}

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

.blog-creative .creative-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.blog-creative .blog-creative-item {
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transform:translateY(100%);
  -ms-transform:translateY(100%);
  transform:translateY(100%);
  opacity: 0;
  -webkit-transition:all .3s ease-in-out;
  transition:all .3s ease-in-out;
}

.blog-creative .blog-creative-item .item-info{
  text-align: center;
  position: absolute;
  top:50%;
  left: 50%;
  -webkit-transform:translate(-50%,-50%);
      -ms-transform:translate(-50%,-50%);
          transform:translate(-50%,-50%);
}

.blog-creative .blog-creative-item .item-info span{
  display: inline-block;
  font-weight: 500;
  width: 100%;
  text-transform: uppercase;
  color: #000000;
  font-size: 14px;
  -webkit-transform:translateY(20px);
  -ms-transform:translateY(20px);
  transform:translateY(20px);
  -webkit-transition:all .4s ease-in-out .3s;
  transition:all .4s ease-in-out .3s;
  opacity: 0;
}

.blog-creative .blog-creative-item .item-info .box-details {
  font-style: normal;
  font-weight: 300;
  display: inline-block;
  padding: 5px;
  color: black;
  margin-top: 5px;
  -webkit-transform:translateY(20px);
  -ms-transform:translateY(20px);
  transform:translateY(20px);
  -webkit-transition:all .4s ease-in-out .4s;
  transition:all .4s ease-in-out .4s;
  opacity: 0;
}

.blog-creative .blog-creative-item .item-info .box-details a {
  color: #000;
  text-decoration: none;
}

.blog-creative:hover .blog-creative-item {
  opacity: 1;
  -webkit-transform:translateY(0);
      -ms-transform:translateY(0);
          transform:translateY(0);
}

.blog-creative:hover .item-info .box-details,
.blog-creative:hover .item-info span
{
  opacity: 1;
  -webkit-transform:translateY(0);
      -ms-transform:translateY(0);
          transform:translateY(0);
}
.footer-single ul.share-icons {
    padding: 0;
    margin-left: 0;
}

.footer-single .share-icons {
    float: left;
    width: 100%;
}

.footer-single .share-icons span {
    margin-right: -10px;
}

.footer-single .share-icons li {
    list-style: none;
    display: inline-block;
}

.footer-single .share-icons li:first-child a {
  margin-left: 0;
}

.footer-single .share-icons li a {
    color: #000000;
    font-size: 16px;
    display: block;
    margin-left: 18px;
    position: relative;
    background-color: transparent;
}

.footer-single .share-icons a:hover i {
   color: rgba(0, 0, 0, 0.44);
}

.footer-single .share-icons li i {
    color: rgb(33, 31, 31);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.sidebar .sidebar-title {
    padding: 10px 0 10px 0;
    font-size: 1.2em;
    font-weight: 500;
}

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

.sidebar a {
    text-decoration: none;
}


.sidebar .sidebar-box {
    margin-bottom: 50px;
}

.sidebar .sidebar-box img {
  max-width: 100%;
}

.sidebar .search input[type=search]:focus {
    outline: 0;
    box-shadow: none;
}

.sidebar .search button {
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-left: none;
    padding-right: 11px;
    background: none;
    font-size: 14px;
    padding: 0 10px 1px 2px;
    height: 34px;
    border-radius: 0;
    color: #000000;
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -ms-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

.sidebar .search .form-inline {
    display: block;
}

.sidebar .search .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.sidebar .search .input-group-btn {
    width: 1% !important;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    white-space: nowrap;
}


.sidebar .search button:focus {
    outline: none;
}

.sidebar .search input[type=search] {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-right: none;
    color: #000;
    padding-left: 12px;
    font-size: 14px;
    padding-right: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 34px;
    font-weight: 300;
    width: 100%;
}


.search-widget input[type=search]::-webkit-input-placeholder { /* WebKit browsers */
    color: #8e8e8e;
}

.search-widget input[type=search]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #8e8e8e;
    opacity:  1;
}

.search-widget input[type=search]::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #8e8e8e;
    opacity:  1;
}

.search-widget input[type=search]:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #8e8e8e;
}

/* ================================= */
/* :::::::::: 5. Footer :::::::::::: */
/* ================================= */

footer {
    padding-top: 34px;
    padding-bottom: 45px;
    overflow: hidden;
    color: #8f8f8f;
    background: #000000;
    border-top: 2px dashed #1e1e1e;
    text-align: center;
}

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


footer .footer-links li {
  float:left;
  margin: 2px;
  list-style: none;
}

footer .footer-links ul {
  margin: 0;
  padding: 0;
}

footer .footer-links li a {
  color: #000000;
  font-size: 13px;
  display: block;
  position: relative;
  background-color: transparent;
}



footer .footer-links li:last-child {
  margin-right: 0;
}

footer .footer-links a:hover  {
     color: rgba(0, 0, 0, 0.51);
}

footer .footer-links {
  float: right;
}

footer .copyright {
    font-size: 13px;
    float: left;
    margin-top: 2px;
}

footer a {
    -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
    color: rgb(0, 0, 0);
}

footer a:hover, footer a:focus {
    color: rgba(0, 0, 0, 0.51);
    text-decoration: none;
}


/* ================================= */
/* :::::::::: 6. Shop :::::::::::::: */
/* ================================= */

.cart-container {
    position: relative;
    display: inline-block;
}

.icon-cart {
    cursor: pointer;
}

.icon-cart i {
    font-size: 24px;
}

.icon-cart span {
    position: absolute;
    right: -12px;
    top: -6px;
    font-size: 11px;
    line-height: 18px;
    display: block;
    text-align: center;
    background: #000;
    color: #fff;
    width: 19px;
    font-weight: 400;
    height: 19px;
    word-wrap: break-word;
    border-radius: 50%;
    -o-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.cart-widget {
    visibility: hidden;
    opacity: 0!important;
    min-width: 280px;
    position: absolute;
    top: 33px;
    right: 0;
    text-align: left;
    color: #fff;
    padding: 20px;
    background: #000000;
    z-index: 999;
    -webkit-transform: translateY(10%);
    -moz-transform: translateY(10%);
    -ms-transform: translateY(10%);
    -o-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s;
}

.cart-widget.widget-visible {
    visibility: visible;
    opacity: 1!important;
    -webkit-transform: translateY(-0%);
    -moz-transform: translateY(-0%);
    -ms-transform: translateY(-0%);
    -o-transform: translateY(-0%);
    transform: translateY(-0%);
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s;
}

.cart-widget .mini-cart__total {
    margin-bottom: 10px;
}

.cart-widget ul.cart_list li,
.cart-widget ul.product_list_widget li {
    padding-top: 0!important;
    padding-left: 0px!important;
    padding-bottom: 15px!important;
    list-style: none;
}

.cart-widget li:after,
.cart-widget li:before {
    content: "";
    display: table;
    clear: both;
}

.cart-widget img {
    width: 75px;
    height: auto;
    float: right;
}

.cart-widget strong,
.cart-widget b {
    font-weight: 400;
}

.cart-widget .total span {
    float: right;
}

.cart-widget a {
    text-decoration: none;
}

.cart-widget ul {
    padding: 0;
    margin: 0;
}

.cart-widget .quantity {
    display: block;
    color: #fff!important;
    text-align: left;
}

.widget .quantity {
    color: #000;
    padding-top: 5px;
    display: block;
}

.cart-widget ul.cart_list li.empty {
    padding: 0!important;
}

.cart-widget ul.cart_list li a,
.cart-widget ul.product_list_widget li a {
    color: #fff!important;
    font-weight: 400;
    text-decoration: none;
    width: auto;
    display: block;
    text-align: left;
}

.cart-widget a.remove {
    font-size: 16px;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: none!important;
}

.cart-widget a.remove:hover {
    background: #fff!important;
    color: #000!important;
}

.cart-widget .widget_shopping_cart .total,
.cart-widget.widget_shopping_cart .total {
    border-top: none;
    padding: 0 0 3px 0!important;
}

.cart-widget .widget_shopping_cart .total strong,
.cart-widget.widget_shopping_cart .total strong {
    font-weight: 400;
}

.cart-widget .widget_shopping_cart .total span,
.cart-widget.widget_shopping_cart .total span {
    float: right;
}

.cart-widget .buttons a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    background: rgb(0, 0, 0);
    outline: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 0px!important;
}

.cart-widget .buttons a.checkout {
    float: right;
    line-height: 1;
    position: relative;
    top: 6px;
}

.cart-widget .buttons {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 13px;
    margin: 0 0 -7px 0;
}

.page-title {
    font-size: 20px;
}

.shop-products .product {
    width: 22.05%;
    float: left;
    margin: 0 0 2.992em 0;
}

.shop-ordering {
    float: right;
}

.shop-ordering select {
    outline: none;
    padding: 10px;
    border-radius: 0;
    border-color: #f5f5f5;
    vertical-align: top;
}

.shop-result-count {
    float: left;
}

.shop-second-image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.shop-second-image img {
    width: 100%;
}

.product-images:hover .shop-second-image {
    opacity: 1;
}

.shop-first-image img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.shop-first-image:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.shop-first-image .onsale {
    background-color: #000;
    border-radius: 0;
    font-weight: 300;
    color: #fff;
    min-width: 5.0em;
    min-height: 1.0em;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    z-index: 999;
    right: 0;
    top: 0;
    position: absolute;
    text-align: center;
}

.product-images {
    overflow: hidden;
    display: block;
    position: relative;
}

.shop-products li {
    list-style: none;
}

.shop-products a {
    text-decoration: none;
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

.shop-product-title {
    color: #000;
    font-weight: 600;
    margin-top: 17px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.shop-products .shop-price,
.sidebar-product-list {
    font-weight: 400;
    color: #000;
    font-size: 14px;
}

.shop-products .shop-button-box {
    margin-top: 25px;
    padding-bottom: 10px;
}

.shop-products .button-product {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  background: rgb(0, 0, 0);
  outline: none;
  border-radius: 0;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 11px 18px 11px 18px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.shop-products .button-product:hover {
      background: none;
      color: #000!important;
      border: 1px solid #000!important;
}

.shop-products .button-product:before {
    content: "\f07a";
    margin-right: 7px;
    font-family: "Font Awesome 7 Pro";
    font-weight: 700;
}

@font-face {
    font-family: 'star';
    src: url('../fonts/star.eot');
    src: url('../fonts/star.eot%3F') format('embedded-opentype'), url('../fonts/star.woff') format('woff'), url('../fonts/star.ttf') format('truetype'), url('../fonts/star.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

.shop-products .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 12px;
}

.sidebar-product-list .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.product-single-info .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 20px;
}

.sidebar-product-list li {
    margin-bottom: 15px;
}

.shop-products .star-rating span,
.sidebar-product-list .star-rating span,
.product-single-info .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    color: #000;
}

.shop-products .star-rating span::before,
.sidebar-product-list .star-rating span::before,
.product-single-info .star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
}

.shop-products .star-rating::before,
.sidebar-product-list .star-rating::before,
.product-single-info .star-rating::before {
    content: '\73\73\73\73\73';
    color: #000000;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.shop-products {
    margin: 70px 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}

.product-related-products .shopContainer {
    margin: 25px 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}

.sidebar-product-list {
    margin-top: 15px!important;
}

.sidebar-product-list img {
    max-width: 100%;
    height: auto;
    width: 75px;
    float: right;
    margin-left: 4px;
}

.product-single-image {
    float: left;
    width: 48%;
}

.product-single-image img {
    max-width: 100%;
}

.product-single-info {
    float: right;
    width: 48%;
    clear: none;
}

.product-single-box {
    clear: both;
    padding-top: 50px;
}

.product-single-box h2 {
    font-size: 14px;
    margin-bottom: 20px;
}

.product-single-info .shop-price {
    margin-top: 12px;
    display: block;
    margin-bottom: 10px;
}

.product-single-title {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 15px;
}

.product-single-info input[type=number]::-webkit-inner-spin-button,
.product-single-info input[type=number]::-webkit-outer-spin-button {
    margin: 0;
    height: 37px;
}

.product-single-info input[type='number'] {
    width: 65px!important;
    text-align: center;
    outline: none;
    padding: 0;
    height: 45px;
    margin: 0;
    vertical-align: middle;
    border: 1px solid #f3f3f3;
    display: inline-block;
    background: #fdfdfd;
}

.product-single-info .button-product {
  color: #fff;
  vertical-align: middle;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  background: rgb(0, 0, 0);
  outline: none;
  border-radius: 0;
  letter-spacing: 1px;
  border: 1px solid #000;
  height: 45px;
  padding: 0 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.product-single-info .button-product:hover {
  background: rgba(0, 0, 0, 0);
  color: #000;
}

.product-related-products {
    margin-top: 80px;
}

.shop-qty {
	display: -ms-inline-flexbox;
	display: inline-flex;
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
	height: 45px;
}

.shop-qty .qty {
	width: 50px;
	text-align: center;
	border-left: none;
	border-right: none;
	border: 1px solid #000000;
	font-weight: 300;
	border-radius: 0;
	outline: none;
	line-height: 1;
}

.shop-qty .qty::-webkit-inner-spin-button,
.shop-qty .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
}

.shop-qty button.minus {
	background: #000;
	border: 1px solid #000;
	transition: all 0.4s;
	width: 35px;
	font-weight: 300;
	outline: none;
	line-height: 1;
	font-size: 17px;
	color: #fff;
}

.shop-qty button.plus {
	background: #000;
	border: 1px solid #000;
	transition: all 0.4s;
	width: 35px;
	font-weight: 300;
	outline: none;
	line-height: 1;
	font-size: 17px;
	color: #fff;
}

.shop-qty button.minus:hover,
.shop-qty button.plus:hover {
	background: none;
	color: #000;
}

/* =============================== */
/* ::::::::: 7. Elements ::::::::: */
/* =============================== */


/* button */


input[type='submit']:hover,
button:hover,
input[type='submit']:focus,
button:focus {
    border: none;
    outline: none;
}


/* Google map */

.google-map-minimal #zoom-in,
.google-map-minimal #zoom-out,
.google-map-minimal .gm-style-iw-a {
    display: none;
}

#zoom-in,
#zoom-out {
    height: 32px;
    width: 32px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    margin-left: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    background-repeat: no-repeat;
    background-size: 32px 64px;
    background-image: url("../images/icon-controller.svg");
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

#zoom-in {
    background-position: 50% 0;
    margin-top: 50px;
    margin-bottom: 1px;
}

#zoom-out {
    background-position: 50% -32px;
}

#google-container {
    width: 100%;
    height: 450px;
}

#google-container .contact-info-box {
    padding-left: 15px;
}

#google-container .contact-info-box ul {
    list-style: none;
    line-height: 25px;
    padding: 0px;
    text-align: left;
    position: relative;
    margin-bottom: 0;
}

#google-container .contact-info-box h3 {
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 13px;
}

#google-container .contact-info-box ul li {
    margin-top: 0px;
    font-weight: 400;
    color: #000;
    font-size: 13px;
}

#google-container .contact-info-box ul li i {
    margin-right: 15px;
    color: #000;
    margin-bottom: 15px;
}

#google-container.contact-info-box ul a {
    max-width: 100%;
    color: #000;
}

#google-container .contact-info-box ul a:hover {
    text-decoration: none;
}

#zoom-in:hover,
#zoom-out:hover {
    background-color: #000000;
}


/* experience */

.experience-box .icon i {
    max-width: 100%;
    position: relative;
    margin: 0 auto;
    display:block;
    font-size: 2.2em;
    border-radius: 50%;
    -o-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-bottom: none;
    color: #000;
}

.experience-box .fa-clock {
    -webkit-animation: fa-spin 9s infinite linear;
    animation:fa-spin 9s infinite linear;
}

.experience-box span {
    font-weight: 500;
    font-size: 1.7em;
}

.experience-box {
  text-align: center;
}

.experience-box h4 {
    padding-top: 0;
    font-weight: 500;
    margin: 20px 0 17px;
    font-size: 12px;
    text-transform: uppercase;
}


/* Contact form */

.contact-form p {
    margin-bottom: 10px;
}

.contact-form input[type='text'],
.contact-form input[type='email'] {
  background: transparent;
  height: 40px;
  width: 100%;
  margin-bottom: 5px;
  border: 1px solid #EDEDED;
  font-size: 13px;
  padding: 5px 15px 5px 15px;
  outline: none;
  -webkit-transition: all 0.3s!important;
  -moz-transition: all 0.3s!important;
  transition: all 0.3s!important;
}

.contact-form textarea {
    width: 100%;
    background: transparent;
    font-size: 13px;
    padding: 15px;
    height: 150px;
    border: 1px solid #EDEDED;
    outline: none;
    resize: none;
    -webkit-transition: all 0.3s!important;
    -moz-transition: all 0.3s!important;
    transition: all 0.3s!important;
}

.contact-form .contact-button  {
  color: #fff;
  outline: none;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  line-height: 16px;
  background: #000;
  font-weight: 400;
  margin-top: 5px;
  letter-spacing: 1px;
  line-height: 1;
  border: 1px solid #000;
  padding: 14px 22px 15px 22px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.contact-form .contact-button:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0);
}

.contact-form {
    width: 100%;
}

.contact-form .error {
    color: red;
}


.contact-form input[type='text'].error,
.contact-form input[type='email'].error,
.contact-form textarea.error  {
    border: 1px solid rgba(243, 0, 0, 0.2);
}

.contact-form::-webkit-input-placeholder {
    color: #8e8e8e;
}

.contact-form:-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

.contact-form::-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

.contact-form:-ms-input-placeholder {
    color: #8e8e8e;
}

.contact-form .message {
    text-align: left;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    display: none;
    background-color: transparent;
  }
  
  .contact-form .message.success {
      border: 1px solid #84e11f;
      padding: 8px 12px 8px 12px;
  }
  
  .contact-form .message.danger {
      border: 1px solid #cc0404;
      padding: 8px 12px 8px 12px;
  }
  
  .contact-form .message.success i {
      color: #84e11f;
      padding-right: 5px;
  }
  
  .contact-form .message.danger i {
      color: #cc0404;
      padding-right: 5px;
  }

/* ================================ */
/* :::::: 8. Responsive CSS ::::::: */
/* ================================ */

@media only screen and  (max-width: 1478px) {

#elysium_menu ul li ul ul {
  left: -100%!important;
  right: auto;
}

#elysium_menu ul li ul {
    right: 0;
}

}

@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media only screen and (max-width: 1366px) {

.header-cover .title-cover .box-project {
  padding-bottom: 200px;
}

}


@media only screen and (max-width: 1036px) {
    
    .sidebar-product-list img {
        display: block;
        float: none;
    }

  .portfolio.carousel img {
  height: 400px;
}

    footer .copyright {
    margin-top: 0;
    text-align:  center;
    float: none;
  }

  footer .social-icons {
  float: none;
  display:  inline-block;
}

    .shopContainer.columns-3 .product {
        width: 48.5%;
    }
    header nav {
        display: none;
    }
    .mobile-menu, .slicknav_menu {
        display: block;
    }
    .cart-container {
    z-index: 9999;
    margin-left: 140px;
    margin-top: 2px;
    }


    .load-more,
    .pagination {
        margin-bottom: 75px;
    }
    header .logo {
        z-index: 999;
        position: relative;
    }


    .cbp.fadeAnim .cbp-item .caption-box {
  right: 50px!important;
}

.cbp.fadeAnim .cbp-item:hover img {
    -webkit-transform: none!important;
    transform: none!important;
}
  footer .footer-links {
    float: none;
    display: table;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {

    .sidebar-product-list img {
        display: inline-block;
        float: right;
    }

    .blogContainer .blog-column-two,
    .blogContainer .blog-column-three {
        width: 100%;
    }
    .partners {
        width: 100%;
    }
    #sidebar {
        margin-top: 100px;
    }
    .elysium-padding-left,
    .bernd-padding-right {
        padding: 15px;
    }

    .experience-box,
.hobbies-box {
    
    margin-bottom: 35px; 
}

.blog-minimal  {
  display: block;
}

.blog-minimal .col-md-7 {
  padding: 0;
}

      .blog-minimal .col-md-5 {
         padding-right: 0;
    }

  .portfolioFilter .cbp-filter-item {
  margin: 10px 10px 50px 10px;
  }

  .portfolioFilter .cbp-filter-item:last-child {
    margin-bottom: 0;
  }

}

@media only screen and (max-width: 667px) {
    #comments .child-comment {
        padding: 0;
    }
    .portfolioFilter a {
        width: 100%;
        display: inline-block;
    }
    .portfolioFilter {
        width: 100%;
        overflow: hidden;
    }
    .portfolioFilter a.current:before,
    .portfolioFilter a:before {
        content: "";
        height: 17px;
        background: #000;
    }
    .portfolioFilter a:hover:before,
    .portfolioFilter a:hover:after {
        height: 17px;
    }
    .portfolioFilter a.current:after,
    .portfolioFilter a:after {
        content: "";
        height: 17px;
        background: #000;
    }
    .nivo-lightbox-next,
    .nivo-lightbox-prev {
        bottom: 0;
        margin-right: 5px;
        margin-left: 5px;
    }

    footer .social-icons li {
        float: none;
    }

    .portfolio.carousel img {
    height: 200px;
}
}

@media only screen and (max-width: 540px) {

    .shopContainer.columns-3 .product {
        width: 100%;
    }

    .parallax .info h2 {
        font-size: 2.3em;
    }
    .experience-box,
    .hobbies-box {
        width: 100%;
    }
    .format-gallery ul.gallery-projects li {
        width: 100%;
    }
    .parallax .info h2 {
        font-size: 1.9em;
        padding: 20px;
    }
  .single-navigation .next-button,
    .single-navigation .prev-button,
    .post-navigation .next-button,
    .post-navigation .prev-button {
    float: none;
  }


  .single-navigation .next-button, 
  .single-navigation .prev-button
   {
      text-align: center;
      margin-bottom: 70px;
    }
  
  .post-navigation {
    text-align: center;
    padding-bottom: 0;
  }

   .single-navigation {
    text-align: center;
    padding-bottom: 15px!important;
   }
    .footer-single .share-icons {
     width: auto;
     display: block;
     text-align: right;
    }
    .nav-img {
    display: inline-block;
    }
 .cart-widget {
   min-width: 250px;
   right: 0;
 }


.portfolio.carousel img {
    height: 150px;
}

.product-single-image {
  margin-bottom: 50px;
}

.product-single-info, .product-single-image {
  width: 100%;
}
.shop-ordering select {
  margin-bottom: 30px;
}
}

@media only screen and (max-width: 320px) {
    .cart-widget {
        right: -44px;
    }
}

/* ================================= */
/* ::::::::: 9. Dark Theme ::::::::: */
/* ================================= */
/*
   Thème sombre near-black. Surcharge les surfaces claires de la template.
   Palette : bg #141414 · surface #1d1d1d · texte #e8e8e8 · muted #9a9a9a · bord #2b2b2b
*/

html,
body {
    background-color: #000000;
    color: #e8e8e8;
}

a,
a:hover {
    color: #e8e8e8;
}

/* Le logo est un PNG noir : on l'inverse pour qu'il reste visible sur fond sombre */
header .logo img {
    filter: invert(1) brightness(1.08);
}

/* Navigation */
#elysium_menu > ul > li > a {
    color: #e8e8e8;
}

#elysium_menu > ul > li > a:before {
    background-color: #e8e8e8;
}

/* Sous-menus déroulants : surface légèrement surélevée */
#elysium_menu ul li > ul {
    background: #1d1d1d;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

#elysium_menu ul li > ul li a {
    color: #e8e8e8;
}

#elysium_menu > ul > li > ul > li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* Footer */
footer {
    background: #000000;
    color: #e8e8e8;
    border-top: 1px solid #2b2b2b;
    padding-top: 45px;
}

footer .copyright,
footer .footer-links li a,
footer a {
    color: #e8e8e8;
}

footer a:hover,
footer a:focus,
footer .footer-links a:hover {
    color: #9a9a9a;
}

/* Surfaces claires résiduelles (blog / shop / éléments) */
.post-format-quote,
.post-format-status,
.post-gallery .flex-control-thumbs li,
.carousel-cell h2 {
    background: #1d1d1d !important;
    color: #e8e8e8;
}

/* Champs de formulaire */
.contact-form input[type='text'],
.contact-form input[type='email'],
.search-widget input[type='search'] {
    background: #1d1d1d;
    border-color: #2b2b2b;
    color: #e8e8e8;
}

/* Photo de profil en guise de logo - home uniquement, au-dessus de la nav */
.home-logo {
    text-align: center;
    padding-top: 58px;
}

.home-logo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #2b2b2b;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

/* Le logo triangle est masqué partout : la home affiche l'avatar au-dessus
   de la nav, les autres pages n'affichent que le menu. */
header .logo {
    display: none;
}

/* Home : la photo remplace le logo, on resserre l'espace au-dessus de la nav. */
.page-home header {
    margin-top: 26px;
}


/* ================================= */
/* :::::::::: 10. Home ::::::::::::: */
/* ================================= */

.home-intro {
    align-items: flex-start;
    min-height: 62vh;
}

.home-intro__text {
    padding-left: 6%;
    padding-top: 12px;
}

.home-intro__text h2 {
    font-size: 28px;
    line-height: 38px;
    margin: 0 0 22px;
    font-weight: 500;
}

.home-intro__text p {
    color: #b7b7b7;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 16px;
}

/* Image portrait, étirée en hauteur */
.home-intro__media {
    text-align: center;
}

.home-intro__media img {
    width: 100%;
    max-width: 420px;
    height: 640px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #2b2b2b;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767px) {
    .home-intro__text {
        padding-left: 0;
        margin-top: 30px;
        text-align: center;
    }
    .home-intro__media img {
        height: 480px;
    }
}

/* Légende sous la photo (punchline) */
.home-intro__caption {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #8f8f8f;
}

/* Sous-titre de section (Fun facts) */
.home-intro__subtitle {
    margin: 34px 0 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9a9a9a;
    padding-bottom: 8px;
    border-bottom: 1px solid #2b2b2b;
    display: inline-block;
}

/* ================================= */
/* ::::::::: 11. Fields ::::::::::::: */
/* ================================= */

.fields {
    padding: 24px 0 100px;
}

.fields__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 54px;
}

.fields__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 18px;
}

.fields__head h2 {
    font-size: 30px;
    line-height: 40px;
    margin: 0 0 16px;
}

.fields__head p {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
}

.fields__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.field-card {
    position: relative;
    overflow: hidden;
    padding: 40px 30px 46px;
    border: 1px solid #232323;
    border-radius: 14px;
    background: #161616;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.field-card__index {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #454545;
    transition: color 0.4s ease;
}

.field-card__icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    font-size: 22px;
    color: #dcdcdc;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.field-card h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
}

.field-card p {
    color: #9a9a9a;
    font-size: 13.5px;
    line-height: 24px;
    margin: 0;
}

/* ligne d'accent en bas qui se déploie au hover */
.field-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.field-card:hover {
    transform: translateY(-7px);
    border-color: #3d3d3d;
    background: #191919;
}

.field-card:hover::after { transform: scaleX(1); }
.field-card:hover .field-card__index { color: #cfcfcf; }
.field-card:hover .field-card__icon {
    color: #ffffff;
    border-color: #4a4a4a;
    transform: translateY(-3px);
}

/* Reveal on scroll (avec cascade via --i) */
[data-reveal] {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 0.14s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .fields__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .fields {
        padding: 20px 0 70px;
    }
}


/* ================================= */
/* ::::::::: 12. Pages ::::::::::::: */
/* ================================= */

.page-head {
    text-align: center;
    max-width: 640px;
    margin: 10px auto 56px;
}

.page-head__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 16px;
}

.page-head h1 {
    font-size: 34px;
    margin: 0 0 14px;
    font-weight: 500;
}

.page-head p {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
}

/* Prose (About) */
.page-prose p {
    color: #c2c2c2;
    font-size: 15px;
    line-height: 28px;
    margin: 0 0 18px;
}

.page-prose b {
    color: #ffffff;
    font-weight: 500;
}

/* Projects - mise en page zig-zag (card <-> visuel animé) */
.proj-list {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 84px;
}

.proj-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

/* Carte texte (sans bordure, le visuel porte le poids graphique) */
.proj-card__index {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #4a4a4a;
    margin-bottom: 14px;
}

.proj-card__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.proj-card__title h3 {
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.proj-card__tag {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #6ee7a0;
    border: 1px solid #2f5e42;
    border-radius: 5px;
    padding: 3px 8px;
    position: relative;
    padding-left: 18px;
}

.proj-card__tag::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: #6ee7a0;
    box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.5);
    animation: proj-live 2.4s ease-out infinite;
}

@keyframes proj-live {
    0%   { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(110, 231, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0); }
}

.proj-card__desc {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 25px;
    margin: 0 0 20px;
}

.proj-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.proj-card__chips span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9a9a;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    padding: 5px 11px;
}

.proj-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #e8e8e8;
    padding-bottom: 4px;
    border-bottom: 1px solid #333;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.proj-card__cta i {
    font-style: normal;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.proj-card__cta:hover {
    color: #ffffff;
    border-color: #e8e8e8;
}

.proj-card__cta:hover i {
    transform: translateX(4px);
}

/* ── Visuels animés (SVG/CSS, dark theme) ── */
.proj-viz {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    margin: 0 auto;
    --viz-line: #333333;
    --viz-node: #e8e8e8;
    --viz-dim: #1c1c1c;
    --viz-accent: #6ee7a0;
}

.proj-viz svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Visuel réseau (mlab.sh) : liens qui se tracent, noeuds qui s'allument */
.pv-link {
    fill: none;
    stroke: var(--viz-line);
    stroke-width: 1.2;
    stroke-dasharray: 170;
    stroke-dashoffset: 170;
    animation: pv-draw 5s ease-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes pv-draw {
    0%, 5%   { stroke-dashoffset: 170; }
    26%, 84% { stroke-dashoffset: 0; }
    100%     { stroke-dashoffset: 0; opacity: 0.15; }
}

.pv-node {
    fill: #161616;
    stroke: var(--viz-line);
    stroke-width: 1.2;
    animation: pv-pulse 5s ease-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes pv-pulse {
    0%, 20%  { fill: #161616; stroke: var(--viz-line); }
    32%, 84% { fill: var(--viz-node); stroke: var(--viz-node); }
    100%     { fill: #161616; stroke: var(--viz-line); }
}

.pv-core {
    fill: #101010;
    stroke: var(--viz-node);
    stroke-width: 1.5;
}

.pv-core-dot {
    fill: var(--viz-accent);
    animation: pv-core 2.4s ease-in-out infinite;
}

@keyframes pv-core {
    0%, 100% { opacity: 0.4; r: 4; }
    50%      { opacity: 1; r: 6; }
}

/* Visuel grille (altpunk.org) : ondulation de tuiles en diagonale */
.pv-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    padding: 24px;
}

.pv-grid span {
    border-radius: 7px;
    background: var(--viz-dim);
    border: 1px solid #262626;
    animation: pv-tile 3.6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes pv-tile {
    0%, 100% { background: var(--viz-dim); border-color: #262626; }
    50%      { background: #d8d8d8; border-color: #d8d8d8; }
}

.pv-grid span:nth-child(3n) {
    animation-name: pv-tile-accent;
}

@keyframes pv-tile-accent {
    0%, 100% { background: var(--viz-dim); border-color: #262626; }
    50%      { background: var(--viz-accent); border-color: var(--viz-accent); }
}

@media (prefers-reduced-motion: reduce) {
    .pv-link, .pv-node, .pv-core-dot, .pv-grid span { animation: none; }
    .pv-link { stroke-dashoffset: 0; }
    .pv-node { fill: var(--viz-node); stroke: var(--viz-node); }
}

/* Empty state (Blog) */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: #7a7a7a;
    font-size: 14px;
}

@media (max-width: 767px) {
    .proj-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .proj-row--rev .proj-viz {
        order: 2;
    }
    .proj-viz {
        max-width: 280px;
    }
}


/* Open-source tools (cartes façon GitHub) */
.tools {
    max-width: 980px;
    margin: 96px auto 0;
}

.tools__title {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    font-weight: 400;
    margin: 0 0 40px;
}

.tools__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.repo-card {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    border: 1px solid #232323;
    border-radius: 12px;
    background: #161616;
    color: #e8e8e8;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.repo-card:hover {
    transform: translateY(-5px);
    border-color: #3d3d3d;
    background: #191919;
}

.repo-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.repo-card__head svg {
    color: #7a7a7a;
    flex-shrink: 0;
}

.repo-card__name {
    font-size: 15px;
    font-weight: 500;
}

.repo-card:hover .repo-card__name {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.repo-card__vis {
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: #7a7a7a;
    border: 1px solid #2b2b2b;
    border-radius: 20px;
    padding: 1px 9px;
}

.repo-card__desc {
    flex: 1;
    color: #9a9a9a;
    font-size: 13px;
    line-height: 21px;
    margin: 0 0 18px;
}

.repo-card__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #9a9a9a;
}

.repo-card__lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.repo-card__lang i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dea584;
    display: inline-block;
}

.repo-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #b7b7b7;
}

@media (max-width: 767px) {
    .tools {
        margin-top: 64px;
    }
    .tools__grid {
        grid-template-columns: 1fr;
    }
}


/* ================================= */
/* ::::::: 13. Spotlight mlab ::::::: */
/* ================================= */

.spotlight {
    padding: 90px 0;
    border-top: 1px solid #1e1e1e;
}

.spotlight__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

.spotlight__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 16px;
}

.spotlight__text h2 {
    font-size: 34px;
    margin: 0 0 18px;
    font-weight: 500;
}

.spotlight__text > p {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 26px;
    margin: 0 0 22px;
    max-width: 460px;
}

.spotlight__modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    max-width: 470px;
}

.spotlight__modules span {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #b7b7b7;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    padding: 5px 11px;
}

.spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #e8e8e8;
    padding-bottom: 4px;
    border-bottom: 1px solid #333;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.spotlight__cta i { font-style: normal; font-size: 10px; transition: transform 0.3s ease; }
.spotlight__cta:hover { color: #fff; border-color: #e8e8e8; }
.spotlight__cta:hover i { transform: translateX(4px); }

.spotlight__viz {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    margin: 0 auto;
    --viz-line: #333333;
    --viz-node: #e8e8e8;
    --viz-accent: #6ee7a0;
}

.spotlight__viz svg { width: 100%; height: 100%; overflow: visible; }

.hub-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: hub-spin 44s linear infinite;
}

@keyframes hub-spin { to { transform: rotate(360deg); } }

.hub-link { stroke: var(--viz-line); stroke-width: 1; }

.hub-node {
    fill: #161616;
    stroke: var(--viz-line);
    stroke-width: 1.2;
    animation: hub-pulse 4s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes hub-pulse {
    0%, 100% { fill: #161616; stroke: var(--viz-line); }
    50%      { fill: var(--viz-node); stroke: var(--viz-node); }
}

.hub-core { fill: #101010; stroke: var(--viz-accent); stroke-width: 1.5; }

.hub-core-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    letter-spacing: 0.03em;
    color: #e8e8e8;
    pointer-events: none;
}

/* ================================= */
/* ::::::: 14. OSS marquee :::::::::: */
/* ================================= */

.oss { padding: 80px 0; }

.oss__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.oss__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 16px;
}
.oss__head h2 { font-size: 28px; margin: 0 0 14px; }
.oss__head p { color: #9a9a9a; font-size: 14px; line-height: 25px; margin: 0; }

.marquee {
    overflow: hidden;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee-l 42s linear infinite;
}

.marquee--rev .marquee__track { animation: marquee-r 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-l { to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.repo-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    font-size: 13px;
    color: #cfcfcf;
    border: 1px solid #232323;
    background: #161616;
    border-radius: 30px;
    padding: 9px 16px;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.repo-chip:hover { border-color: #3d3d3d; background: #1a1a1a; color: #fff; }
.repo-chip i { width: 9px; height: 9px; border-radius: 50%; background: #dea584; display: inline-block; }
.repo-chip span { color: #8f8f8f; font-size: 12px; }

.oss__foot { text-align: center; margin-top: 40px; }
.oss__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #e8e8e8;
    padding-bottom: 4px;
    border-bottom: 1px solid #333;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.oss__cta i { font-style: normal; font-size: 10px; transition: transform 0.3s ease; }
.oss__cta:hover { color: #fff; border-color: #e8e8e8; }
.oss__cta:hover i { transform: translateX(4px); }

/* ================================= */
/* ::::::::: 15. Stats :::::::::::::: */
/* ================================= */

.stats { padding: 30px 0 80px; }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid #232323;
    border-bottom: 1px solid #232323;
}

.stat { text-align: center; padding: 34px 12px; border-left: 1px solid #232323; }
.stat:first-child { border-left: none; }
.stat__num { display: block; font-size: 34px; font-weight: 500; color: #ffffff; letter-spacing: 0.02em; margin-bottom: 8px; }
.stat__label { font-size: 12px; letter-spacing: 0.05em; color: #8f8f8f; }

/* ================================= */
/* :::::::: 16. Off the clock ::::::: */
/* ================================= */

.offclock { padding: 80px 0; border-top: 1px solid #1e1e1e; }

.offclock__head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.offclock__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 16px;
}
.offclock__head h2 { font-size: 28px; margin: 0 0 14px; }
.offclock__head p { color: #9a9a9a; font-size: 14px; line-height: 25px; margin: 0; }

.offclock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.offclock__item {
    padding: 34px 28px;
    border: 1px solid #232323;
    border-radius: 14px;
    background: #161616;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.offclock__item:hover { border-color: #3d3d3d; transform: translateY(-5px); }
.offclock__item i { font-size: 24px; color: #dcdcdc; margin-bottom: 18px; display: block; }
.offclock__item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; font-weight: 500; }
.offclock__item p { color: #9a9a9a; font-size: 13px; line-height: 23px; margin: 0; }

/* ================================= */
/* ::::::::: 17. Closing :::::::::::: */
/* ================================= */

.closing { padding: 90px 0 100px; border-top: 1px solid #1e1e1e; }
.closing__inner { text-align: center; max-width: 560px; margin: 0 auto; }
.closing__inner h2 { font-size: 30px; margin: 0 0 14px; font-weight: 500; }
.closing__inner > p { color: #9a9a9a; font-size: 14px; line-height: 25px; margin: 0 0 30px; }
.closing__actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.closing__btn {
    background: #e8e8e8;
    color: #141414;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 13px 26px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.closing__btn:hover { background: #ffffff; transform: translateY(-2px); }
.closing__link { font-size: 13px; color: #9a9a9a; letter-spacing: 0.04em; transition: color 0.3s ease; }
.closing__link:hover { color: #ffffff; }

/* Responsive pour les sections home */
@media (max-width: 900px) {
    .spotlight__row { grid-template-columns: 1fr; gap: 40px; }
    .spotlight__viz { order: -1; max-width: 300px; }
    .offclock__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-left: none; }
    .stat:nth-child(n+3) { border-top: 1px solid #232323; }
}


/* ================================= */
/* ::::::::: 18. Uses ::::::::::::::: */
/* ================================= */

.uses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.uses-card {
    padding: 32px 30px;
    border: 1px solid #232323;
    border-radius: 14px;
    background: #161616;
    transition: border-color 0.3s ease;
}

.uses-card:hover { border-color: #313131; }

.uses-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.uses-card__head i { font-size: 18px; color: #dcdcdc; }

.uses-card__head h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    font-weight: 500;
}

.uses-card ul { list-style: none; margin: 0; padding: 0; }

.uses-card li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 13px;
    color: #9a9a9a;
    font-size: 13.5px;
    line-height: 22px;
}

.uses-card li:last-child { margin-bottom: 0; }

.uses-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3a3a3a;
}

.uses-card li b { color: #e8e8e8; font-weight: 500; }

.uses-card li a {
    color: #cfcfcf;
    border-bottom: 1px solid #333;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.uses-card li a:hover { color: #ffffff; border-color: #e8e8e8; }

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


/* ===================================== */
/* :::::: 17. Punk / retro cards ::::::: */
/* DedSec-flavored override, borrowed from tor-relay-stats-exposer:
   hard pixel corners, target-reticle brackets, toxic accents,
   offset glitch shadows and mono UI chrome. Only the card chrome
   goes punk, body copy stays readable. */
/* ===================================== */

:root {
    --pk-green:   #00ff6a;
    --pk-cyan:    #00e5ff;
    --pk-magenta: #ff008c;
    --pk-panel:   #0c0c0c;
    --pk-line:    #1e1e1e;
    --pk-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, "Courier New", monospace;
    --pk-display: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* --- shared card shell: home fields, off-the-clock, repos, uses --- */
.field-card,
.offclock__item,
.repo-card,
.uses-card {
    border-radius: 0 !important;
    background: var(--pk-panel);
    border: 1px solid var(--pk-line);
    position: relative;
    overflow: visible;
    transition: transform .09s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

/* top-left target-reticle bracket */
.field-card::before,
.offclock__item::before,
.repo-card::before,
.uses-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 13px;
    height: 13px;
    border-top: 2px solid var(--pk-green);
    border-left: 2px solid var(--pk-green);
    z-index: 2;
    pointer-events: none;
}

/* hard offset shadow + pixel nudge on hover */
.field-card:hover,
.offclock__item:hover,
.repo-card:hover,
.uses-card:hover {
    transform: translate(-2px, -2px);
    border-color: #333;
    background: #0e0e0e;
    box-shadow: 4px 4px 0 rgba(0, 255, 106, .18), 8px 8px 0 rgba(255, 0, 140, .12);
}

/* mono UI chrome across the card families */
.field-card h3,
.field-card__index,
.repo-card__name,
.repo-card__vis,
.repo-card__meta,
.uses-card__head h3,
.offclock__item h4,
.proj-card__index,
.proj-card__tag,
.proj-card__chips span,
.spotlight__modules span {
    font-family: var(--pk-mono);
}

/* headings glow a touch */
.field-card h3,
.uses-card__head h3,
.offclock__item h4 {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 255, 106, .18);
}

/* off-the-clock: toxic green icon */
.offclock__item i {
    color: var(--pk-green);
    text-shadow: 0 0 8px rgba(0, 255, 106, .4);
}

/* home fields: square toxic icon tile + green accent line */
.field-card { overflow: hidden; }       /* keep the bottom accent contained */
.field-card::before { top: 0; left: 0; } /* hug the corner since overflow is hidden */
.field-card__icon {
    border-radius: 0;
    border-color: #1f3a2a;
    color: var(--pk-green);
    text-shadow: 0 0 8px rgba(0, 255, 106, .4);
}
.field-card:hover .field-card__icon {
    color: #000;
    background: var(--pk-green);
    border-color: var(--pk-green);
}
.field-card__index { color: var(--pk-green); }
.field-card::after {
    background: linear-gradient(90deg, var(--pk-green), rgba(0, 255, 106, 0));
    height: 2px;
}

/* repos: cyan "Public" graffiti chip, square lang pip */
.repo-card__vis {
    border-radius: 0;
    background: #000;
    border: 1px solid var(--pk-cyan);
    color: var(--pk-cyan);
    text-transform: uppercase;
}
.repo-card__head svg { color: var(--pk-green); }
.repo-card:hover .repo-card__name { text-decoration-color: var(--pk-green); }
.repo-card__lang i { border-radius: 0; background: var(--pk-green); }
.repo-card__stars { color: var(--pk-cyan); }

/* uses / security / privacy: magenta square bullets, green links */
.uses-card__head i {
    color: var(--pk-green);
    text-shadow: 0 0 6px rgba(0, 255, 106, .5);
}
.uses-card li::before {
    border-radius: 0;
    width: 6px;
    height: 6px;
    top: 7px;
    background: var(--pk-magenta);
}
.uses-card li a { border-bottom-color: #2a2a2a; }
.uses-card li a:hover { color: var(--pk-green); border-color: var(--pk-green); }

/* graffiti tags on the projects page */
.proj-card__tag {
    border-radius: 0;
    background: var(--pk-magenta);
    border-color: var(--pk-magenta);
    color: #fff;
    transform: skewX(-8deg);
    box-shadow: 3px 3px 0 rgba(255, 0, 140, .25);
}
.proj-card__tag::before { background: #fff; box-shadow: none; animation: none; }
.proj-card__chips span,
.spotlight__modules span {
    border-radius: 0;
    border-color: var(--pk-line);
    color: #cfcfcf;
}

@media (max-width: 767px) {
    /* soften the offset shadow on small screens so it never overflows */
    .field-card:hover,
    .repo-card:hover,
    .uses-card:hover {
        box-shadow: 3px 3px 0 rgba(0, 255, 106, .18);
    }
}

/* --- footer flipped for the black background --- */
footer,
footer .copyright { color: #6b6b6b; }
footer a,
footer .footer-links li a { color: #cfcfcf; }
footer a:hover,
footer .footer-links a:hover { color: var(--pk-green); }


/* ================================================================= */
/* ::::::::::::::::::: 13. Blog (liste + article) ::::::::::::::::::: */
/* ================================================================= */
/*
   Blog rendu au boot depuis content/blog/*.md. Coloration serveur (syntect,
   thème base16-ocean.dark) : les couleurs des tokens sont en inline-style,
   ce bloc ne gère que la mise en page et la prose.
*/

/* --- Liste des articles --- */
.post-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.post-card {
    display: block;
    padding: 24px 26px;
    background: #121212;
    border: 1px solid var(--pk-line);
    border-radius: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.post-card:hover {
    border-color: var(--pk-green);
    background: #151515;
    transform: translateY(-2px);
}

.post-card__meta {
    display: flex;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 10px;
}

.post-card__reading { color: var(--pk-green); }

.post-card__title {
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #f2f2f2;
}

.post-card__desc {
    font-size: 14px;
    line-height: 24px;
    color: #9a9a9a;
    margin: 0;
}

/* --- Tags --- */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.post-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b7b7b7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--pk-line);
    border-radius: 5px;
    padding: 3px 9px;
}

/* --- Article --- */
.post {
    max-width: 760px;
    margin: 0 auto;
}

.post-head {
    margin-bottom: 44px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--pk-line);
}

.post-back {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a8a8a !important;
    margin-bottom: 22px;
}

.post-back:hover { color: var(--pk-green) !important; }

.post-head__meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 14px;
}

.post-head__reading { color: var(--pk-green); }

.post-head__title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 14px;
    color: #f6f6f6;
}

.post-head__desc {
    font-size: 16px;
    line-height: 26px;
    color: #9a9a9a;
    margin: 0;
}

/* --- Corps de l'article (prose) --- */
.post-body {
    font-size: 16px;
    line-height: 29px;
    color: #d4d4d4;
}

.post-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #f2f2f2;
    margin: 44px 0 16px;
}

.post-body h3 {
    font-size: 19px;
    font-weight: 600;
    color: #ededed;
    margin: 34px 0 12px;
}

.post-body p { margin: 0 0 20px; }

.post-body a {
    color: var(--pk-green) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 106, 0.3);
}

.post-body a:hover { border-bottom-color: var(--pk-green); }

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

.post-body li { margin: 6px 0; }

.post-body blockquote {
    margin: 24px 0;
    padding: 4px 20px;
    border-left: 3px solid var(--pk-green);
    color: #b0b0b0;
    font-style: italic;
}

/* Code inline */
.post-body :not(pre) > code {
    font-family: var(--pk-mono);
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--pk-line);
    border-radius: 5px;
    padding: 1px 6px;
    color: #f0d9a8;
}

/* Blocs de code : le <pre> vient de syntect (background inline) */
.code-block {
    margin: 24px 0;
    border: 1px solid var(--pk-line);
    border-radius: 10px;
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: var(--pk-mono);
    font-size: 13.5px;
    line-height: 21px;
    tab-size: 4;
}

.code-block pre code { font-family: inherit; }

/* Repli si le langage est inconnu (pas de coloration) */
.code-plain {
    background: #121212 !important;
    color: #d4d4d4;
}

/* Tableaux */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.post-body th,
.post-body td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--pk-line);
}

.post-body th {
    background: rgba(255, 255, 255, 0.04);
    color: #f2f2f2;
    font-weight: 500;
}

@media (max-width: 767px) {
    .post-head__title { font-size: 27px; }
    .post-card { padding: 20px; }
}


/* ===================================== */
/* :::::: 18. Terminal identity :::::::: */
/* JetBrains Mono on headings/stats, CRT
   scanlines, hero glitch, live GH feed,
   404 incident. Layered on the dark base. */
/* ===================================== */

/* --- mono display type on titles + stats --- */
h1, h2, h3, h4, h5, h6,
.home-intro__text h2,
.fields__head h2, .oss__head h2, .offclock__head h2, .spotlight__text h2, .ghfeed__head h2, .closing h2,
.fields__kicker, .oss__kicker, .offclock__kicker, .spotlight__kicker, .ghfeed__kicker,
.stat__num, .stat__label {
    font-family: var(--pk-display);
    letter-spacing: 0.02em;
}

.stat__num {
    text-shadow: 0 0 10px rgba(0, 255, 106, 0.22);
}

/* --- CRT scanlines + faint flicker over everything --- */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.028) 0px,
            rgba(255, 255, 255, 0.028) 1px,
            transparent 1px,
            transparent 3px
        );
    opacity: 0.6;
    animation: crt-flicker 4.5s steps(48) infinite;
    mix-blend-mode: screen;
}

@keyframes crt-flicker {
    0%, 100% { opacity: 0.55; }
    47%      { opacity: 0.62; }
    50%      { opacity: 0.40; }
    53%      { opacity: 0.62; }
}

/* --- chromatic glitch on the hero title (hover only) --- */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    clip-path: inset(0 0 0 0);
}
.glitch:hover::before {
    opacity: 0.9;
    color: var(--pk-cyan);
    animation: glitch-shift-a 0.5s steps(2, end) infinite;
}
.glitch:hover::after {
    opacity: 0.9;
    color: var(--pk-magenta);
    animation: glitch-shift-b 0.5s steps(2, end) infinite;
}
.glitch:hover {
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}
@keyframes glitch-shift-a {
    0%   { transform: translate(0, 0);      clip-path: inset(0 0 72% 0); }
    25%  { transform: translate(-2px, -1px); clip-path: inset(28% 0 40% 0); }
    50%  { transform: translate(2px, 1px);   clip-path: inset(58% 0 8% 0); }
    75%  { transform: translate(-1px, 1px);  clip-path: inset(10% 0 62% 0); }
    100% { transform: translate(0, 0);      clip-path: inset(0 0 72% 0); }
}
@keyframes glitch-shift-b {
    0%   { transform: translate(0, 0);      clip-path: inset(64% 0 6% 0); }
    25%  { transform: translate(2px, 1px);   clip-path: inset(12% 0 58% 0); }
    50%  { transform: translate(-2px, -1px); clip-path: inset(42% 0 30% 0); }
    75%  { transform: translate(1px, -1px);  clip-path: inset(72% 0 4% 0); }
    100% { transform: translate(0, 0);      clip-path: inset(64% 0 6% 0); }
}

/* --- live GitHub activity feed --- */
.ghfeed { padding: 30px 0 90px; }

.ghfeed__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ghfeed__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pk-green);
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(0, 255, 106, 0.35);
}
.ghfeed__head h2 { font-size: 28px; margin: 0 0 14px; }
.ghfeed__head p { color: #9a9a9a; font-size: 14px; line-height: 25px; margin: 0; }

.ghfeed__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 760px;
    border: 1px solid var(--pk-line);
    background: var(--pk-panel);
    position: relative;
}
.ghfeed__list::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px;
    width: 13px; height: 13px;
    border-top: 2px solid var(--pk-green);
    border-left: 2px solid var(--pk-green);
}

.ghfeed__item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--pk-mono);
    font-size: 13px;
    color: #cfcfcf;
}
.ghfeed__item:first-child { border-top: none; }
.ghfeed__item--idle { color: #7a7a7a; justify-content: center; }

.ghfeed__verb {
    color: var(--pk-green);
    text-transform: lowercase;
    flex: 0 0 auto;
}
.ghfeed__repo {
    color: var(--pk-cyan) !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.ghfeed__repo:hover { border-bottom-color: var(--pk-cyan); }
.ghfeed__detail {
    color: #8f8f8f;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ghfeed__time { color: #6a6a6a; margin-left: auto; flex: 0 0 auto; }

.ghfeed__cursor {
    color: var(--pk-green);
    animation: gh-blink 1.05s steps(1) infinite;
}
@keyframes gh-blink { 50% { opacity: 0; } }

@media (max-width: 767px) {
    .ghfeed__time { margin-left: 0; }
    .ghfeed__detail { white-space: normal; }
}

/* --- 404 incident page --- */
.page-404 #wrapper { padding: 90px 0; }

.incident {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 34px;
    border: 1px solid var(--pk-line);
    background: var(--pk-panel);
    position: relative;
    font-family: var(--pk-mono);
}
.incident::before,
.incident::after {
    content: "";
    position: absolute;
    width: 15px; height: 15px;
    pointer-events: none;
}
.incident::before {
    top: -1px; left: -1px;
    border-top: 2px solid var(--pk-magenta);
    border-left: 2px solid var(--pk-magenta);
}
.incident::after {
    bottom: -1px; right: -1px;
    border-bottom: 2px solid var(--pk-magenta);
    border-right: 2px solid var(--pk-magenta);
}
.incident__badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.24em;
    color: #000;
    background: var(--pk-magenta);
    padding: 4px 10px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 rgba(255, 0, 140, 0.25);
}
.incident__code {
    font-size: 72px;
    line-height: 1;
    margin: 0 0 22px;
    color: #fff;
    text-shadow: 0 0 18px rgba(255, 0, 140, 0.35);
}
.incident__line {
    font-size: 13.5px;
    line-height: 22px;
    color: #cfcfcf;
    margin: 0 0 8px;
}
.incident__key {
    display: inline-block;
    min-width: 92px;
    color: var(--pk-green);
}
.incident__actions {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.incident__btn {
    color: #000 !important;
    background: var(--pk-green);
    padding: 11px 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.incident__btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 255, 106, 0.3);
}
.incident__link {
    color: #cfcfcf !important;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 3px;
}
.incident__link:hover { color: #fff !important; border-color: var(--pk-cyan); }

/* --- respect reduced motion: kill the moving bits, keep the look --- */
@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; opacity: 0.5; }
    .glitch:hover::before,
    .glitch:hover::after { animation: none; }
    .ghfeed__cursor { animation: none; }
}

