/*
Theme Name: Dering Theme
Author: Dering
Version: 2.0
Text Domain: dering.net
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #111;
}

:root {
  --page-gutter: clamp(18px, 4.5vw, 24px);
  --yellow: #ffd600;
  --surface: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid #ddd;
}

.header.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px var(--page-gutter);
}

.nav-toggle-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.header-tools {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.header-lang:hover {
  background: #f7f7f7;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  margin: 0;
  background: transparent;
  border: 1px solid #ddd;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
}

.nav .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
gap: 8px 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.nav .menu > li {
  margin: 0;
  padding: 0;
}

.nav .menu a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  white-space: nowrap;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  color: #111;
}

.header-search:hover {
  background: #f7f7f7;
}

.header-search svg {
  width: 20px;
  height: 20px;
}

.btn-header {
  background: var(--yellow);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
/*  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%); */
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  gap: 40px;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
}

.hero-text span {
  color: var(--yellow);
}

.sub {
  margin-top: 20px;
  color: #555;
  font-size: 16px;
}

.hero-list {
  margin-top: 20px;
  padding: 0;
  margin-left: 0;
  list-style: none;
}

.hero-list li {
  list-style: none;
  margin: 12px 0;
  padding-left: 18px;
  position: relative;
  font-size: 15px;
}

.hero-list li::marker {
  content: none;
}

.hero-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 28px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--yellow);
  color: #000;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img,
.hero-visual .hero-svg {
  width: min(560px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(255, 214, 0, 0.25));
}

.hero-figure {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SECTION ===== */
.section {
  background: var(--surface);
}

.section.container {
  padding: 80px var(--page-gutter);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section--muted {
  background: #f5f5f5;
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ===== CARDS ===== */
.cards {
  display: flex;
  gap: 20px;
}

.card {
  flex: 1;
  background: var(--surface);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.tag {
  margin-top: 10px;
  display: inline-block;
  background: var(--yellow);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.big {
  font-weight: 700;
}

/* ===== CTA ===== */
.cta {
  background: #f2f2f2;
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  padding: 18px 36px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-yellow:hover {
  filter: brightness(1.03);
}

/* ========================= */
/* ===== MOBILE ===== */
/* ========================= */

@media (max-width: 768px) {
  body {
    background: #fafafa;
  }

  .header.container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header {
    flex-wrap: wrap;
  }

  .header-tools {
    display: flex;
    margin-left: auto;
    order: 2;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    order: 1;
  }

  .nav {
    order: 4;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.4s ease, padding 0.35s ease;
  }

  .nav .menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0;
  }

  .nav .menu > li {
    border-bottom: 1px solid #eee;
  }

  .nav .menu > li:last-child {
    border-bottom: none;
  }

  .nav .menu a {
    display: block;
    white-space: normal;
    padding: 14px 0;
    font-size: 16px;
  }

  .header-end {
    order: 5;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .header-search {
    display: none;
  }

  .header > .btn-header {
    order: 5;
    flex: 1 0 100%;
    width: 100%;
  }

  .btn-header {
    width: 100%;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
    transition: max-height 0.4s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .header > .hamburger {
    margin-left: auto;
    order: 2;
  }

  .nav-toggle-input:checked ~ .nav {
    max-height: 480px;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .nav-toggle-input:checked ~ .header-end .btn-header,
  .nav-toggle-input:checked ~ .btn-header {
    max-height: 120px;
    opacity: 1;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-top: 8px;
  }

  .header:has(.nav-toggle-input:checked) .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header:has(.nav-toggle-input:checked) .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .header:has(.nav-toggle-input:checked) .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 40px;
    gap: 22px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .hero-visual img,
  .hero-visual .hero-svg {
    width: min(260px, 88vw);
    margin: 0 auto;
    display: block;
  }

  .hero-text {
    max-width: 100%;
    width: 100%;
    padding-top: 4px;
  }

  .hero-text h1 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.15;
  }

  .sub {
    font-size: 14px;
  }

  .hero-list {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-list li {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .section.container {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  h2 {
    margin-bottom: 20px;
    margin-top: 0;
  }

  .cards {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .cards > .card {
    flex: 1 1 auto;
    scroll-snap-align: unset;
  }

  .cards--services {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: var(--page-gutter);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .cards--services > .card {
    flex: 0 0 min(88vw, 300px);
    scroll-snap-align: start;
  }

  .cards--services > .card:hover {
    transform: none;
  }

  .cards--projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cards--projects > .card {
    min-width: 0;
  }

  .card {
    padding: 18px;
  }

  .cta {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .btn-yellow {
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .header-tools {
    display: none !important;
  }
}










.hero-video-wrap {
  width: 420px;
  max-width: 100%;
  display: block;
  position: relative;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* мобилка */
@media (max-width:768px){
  .hero-video-wrap {
    width: 260px;
    margin: 0 auto;
  }
}



/* базовая кнопка (чёрная) */
.btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 30px auto 0;

  padding: 18px 24px;
  border-radius: 12px;

  background: #111;
  color: #fff;

  text-align: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

/* жёлтая кнопка (та же геометрия) */
.btn-yellow {
  background: #FFD600;
  color: #000;
}



/* === FIX BUTTONS FINAL === */

a.btn,
button.btn {
  display: block !important;
  width: calc(100% - 40px) !important;
  max-width: 360px !important;

  margin: 30px auto !important;
  padding: 18px 24px !important;

  border-radius: 12px !important;

  text-align: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* черная */
.btn {
  background: #111 !important;
  color: #fff !important;
}

/* желтая */
.btn-yellow {
  background: #FFD600 !important;
  color: #000 !important;
}



/* === FINAL BUTTON FIX (ТОЧНЫЙ) === */

.hero .btn,
.section .btn {
  display: block !important;
  width: 100% !important;
  max-width: 360px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding: 18px 24px !important;
  border-radius: 12px !important;

  text-align: center !important;
}

/* жёлтая — просто цвет */
.btn-yellow {
  background: #FFD600 !important;
  color: #000 !important;
}












/* ===== FIX LANGUAGE SWITCHER ===== */

.header-tools {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* сам переключатель */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* выпадашка */
.lang-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  display: none;
  min-width: 80px;
  z-index: 9999;
}

.lang-dropdown li a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.lang-dropdown li a:hover {
  background: #f5f5f5;
}

.lang-switcher.active .lang-dropdown {
  display: block;
}








/* === LANGUAGE SWITCHER FINAL === */

.lang-switcher {
  position: relative;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.lang-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  display: none;
  min-width: 80px;
  z-index: 9999;
}

.lang-dropdown li a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.lang-dropdown li a:hover {
  background: #f5f5f5;
}

.lang-dropdown li a.active {
  color: #FFD600;
}

.lang-switcher.active .lang-dropdown {
  display: block;
}











/* ===== LANG SWITCHER ===== */

.lang-switcher {
  position: relative;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  display: none;
  z-index: 9999;
}

.lang-dropdown li a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.lang-switcher.active .lang-dropdown {
  display: block;
}

/* ===== МОБИЛКА ===== */

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* на десктопе скрываем мобильный */
.mobile-lang {
  display: none;
}

/* на мобиле наоборот */
@media (max-width: 768px) {
  .desktop-lang {
    display: none;
  }

  .mobile-lang {
    display: block;
  }
}









.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #25D366;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
}








.wa-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 60px;
  height: 60px;

  background: #25D366;
  border-radius: 50%;

  background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* ================================= */
/* ===== PRIVACY POLICY FINAL ===== */
/* ================================= */

.privacy-policy {
    padding: 24px 16px 120px;
    background: #f5f5f5;
    min-height: 100vh;
}

.privacy-container {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;

    padding: 70px 60px;

    border-radius: 24px;

    border: 1px solid #e9e9e9;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.05);
}

.privacy-policy h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;

    margin:
        0
        0
        28px;

    color: #111;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.intro {
    font-size: 20px;
    line-height: 1.8;
    color: #555;

    margin-bottom: 56px;

    max-width: 850px;
}

.policy-block {
    margin-bottom: 56px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h2 {
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;

    margin:
        0
        0
        22px;

    color: #111;
    font-weight: 800;

    letter-spacing: -0.02em;
}

.policy-block p,
.policy-block li {
    font-size: 18px;
    line-height: 1.85;
    color: #444;
}

.policy-block ul {
    padding-left: 24px;
    margin: 18px 0 0;
}

.policy-link {
    color: #111;
    text-decoration: none;
    font-weight: 600;

    transition: opacity 0.2s ease;
}

.policy-link:hover {
    opacity: 0.65;
}

/* ================================= */
/* ============ MOBILE ============ */
/* ================================= */

@media (max-width: 768px) {

    .privacy-policy {
        padding: 14px 10px 100px;
    }

    .privacy-container {
        padding: 34px 22px;

        border-radius: 18px;
    }

    .privacy-policy h1 {
        font-size: 44px;
        line-height: 1.05;

        margin-bottom: 22px;
    }

    .intro {
        font-size: 17px;
        line-height: 1.7;

        margin-bottom: 40px;
    }

    .policy-block {
        margin-bottom: 42px;
    }

    .policy-block h2 {
        font-size: 30px;
        line-height: 1.2;

        margin-bottom: 18px;
    }

    .policy-block p,
    .policy-block li {
        font-size: 17px;
        line-height: 1.75;
    }

    .policy-block ul {
        padding-left: 22px;
    }

    .wa-btn {
        width: 56px;
        height: 56px;

        right: 14px;
        bottom: 14px;
    }

}



/* ================================= */
/* ===== MOBILE HOTFIX ONLY ======= */
/* ================================= */

@media (max-width: 768px) {

  .header.container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
  }

  .header-tools {
    gap: 10px;
  }

  .lang-toggle,
  .hamburger {
    width: 52px;
    height: 52px;
  }

  .privacy-policy {
    padding: 14px 10px 100px;
  }

  .privacy-container {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .privacy-policy h1 {
    font-size: 38px;
    line-height: 1.05;
    margin-bottom: 22px;
  }

  .policy-block h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .intro,
  .policy-block p,
  .policy-block li {
    font-size: 17px;
    line-height: 1.75;
  }

  .wa-btn {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 24px;
  }

}








/* BLOG */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-card {
  padding: 34px;

  background: #fff;

  border-radius: 24px;

  border: 1px solid #e9e9e9;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);

  transition: 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card h2 {
  margin-bottom: 18px;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card p {
  line-height: 1.8;
}

.blog-card .post-date {
  margin-bottom: 20px;

  color: #777;

  font-size: 14px;
}





/* =========================
   SINGLE POST
========================= */

.single-post-container {
  max-width: 950px;
}

.single-title {
  font-size: 64px;
  line-height: 1.05;

  margin-bottom: 24px;

  font-weight: 800;

  color: #111;
}

.post-date {
  margin-bottom: 40px;

  font-size: 15px;

  color: #777;
}

/* THUMBNAIL */

.single-thumbnail {
  margin-bottom: 50px;
}

.single-thumbnail img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 26px;
}

/* CONTENT */

.single-content {
  font-size: 20px;

  line-height: 2;

  color: #333;
}

/* HEADINGS */

.single-content h2 {
  font-size: 42px;

  line-height: 1.2;

  margin-top: 70px;
  margin-bottom: 28px;

  color: #111;
}

.single-content h3 {
  font-size: 32px;

  line-height: 1.3;

  margin-top: 50px;
  margin-bottom: 24px;

  color: #111;
}

/* PARAGRAPHS */

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

/* LINKS */

.single-content a {
  color: #000;

  text-decoration: underline;
}

/* IMAGES */

.single-content img {
  max-width: 100%;

  height: auto;

  border-radius: 22px;

  margin: 40px 0;
}

/* VIDEO */

.single-content iframe,
.single-content video {
  width: 100%;

  min-height: 520px;

  border: none;

  border-radius: 24px;

  margin: 50px 0;
}

/* YOUTUBE WRAPPER */

.single-content .wp-block-embed {
  margin: 50px 0;
}

/* LISTS */

.single-content ul,
.single-content ol {
  margin: 30px 0 40px 30px;
}

.single-content li {
  margin-bottom: 14px;
}

/* CODE */

.single-content pre {
  background: #111;

  color: #f5f5f5;

  padding: 28px;

  border-radius: 20px;

  overflow-x: auto;

  margin: 40px 0;
}

.single-content code {
  font-family: monospace;
}

/* QUOTE */

.single-content blockquote {
  border-left: 4px solid #ffd400;

  padding-left: 24px;

  margin: 40px 0;

  color: #555;

  font-style: italic;
}

/* MOBILE */

@media (max-width: 768px) {

  .single-title {
    font-size: 42px;
  }

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

  .single-content h2 {
    font-size: 32px;
  }

  .single-content h3 {
    font-size: 26px;
  }

  .single-content iframe,
  .single-content video {
    min-height: 240px;
  }

}

.lab-menu a {
    font-weight: 600;
}


.store-buttons{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:20px;
	margin-top:34px;
	flex-wrap:wrap;
}

.store-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	transition:.2s;
}

.store-btn img{
	width:260px;
	max-width:100%;
	height:auto;
	display:block;
	border-radius:18px;
}

.store-btn:hover{
	transform:translateY(-2px);
	opacity:.92;
}

@media (max-width:768px){

	.store-buttons{
		flex-direction:column;
		gap:14px;
		margin-top:24px;
	}

	.store-btn img{
		width:220px;
	}

}



.post-meta-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
    color:#777777;
    font-size:15px;
    font-weight:500;
}

.post-languages{
    display:flex;
    gap:10px;
}

.post-languages a{
    text-decoration:none;
    color:#6b4df5;
    font-weight:700;
}

@media (max-width:768px){

    .post-meta-row{
        font-size:13px;
        gap:6px;
    }

}


.footer-developed img{
    width:200px;
    max-width:100%;
    height:auto;
    opacity:.92;
    transition:all .3s ease;
    display:block;
    margin:0 auto;
}

.footer-developed img:hover{
    opacity:1;
    transform:scale(1.03);
}

footer{
    background:#fff;
    padding-top:20px;
    padding-bottom:20px;
}

.footer-developed{
    display:block;
    background:#fff;
}







/* ================================= */
/* ========= PROJECTS FIX ========== */
/* ================================= */

.cards--projects{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:24px !important;
    align-items:stretch;
}

.project-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;

    min-height:260px;

    padding:34px;

    background:#fff;

    border-radius:24px;

    border:1px solid #e9e9e9;

    box-shadow:0 10px 30px rgba(0,0,0,.04);

    transition:.25s ease;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-card h3{
    margin-bottom:18px;
}

.project-card .big{
    font-size:20px;
    font-weight:700;
    margin-bottom:18px;
}

.project-card p{
    line-height:1.7;
}

.projects-filter{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-bottom:34px;
}

.filter-btn{
    border:none;
    background:#fff;

    border:1px solid #e5e5e5;

    padding:12px 18px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

    transition:.2s;
}

.filter-btn:hover{
    background:#111;
    color:#fff;
}

.filter-btn.active{
    background:#111;
    color:#fff;
}

.projects-loadmore-wrap{
    margin-top:40px;
    text-align:center;
}

/* ================================= */
/* ============ MOBILE ============= */
/* ================================= */

@media (max-width:768px){

    .cards--projects{
        grid-template-columns:1fr !important;
        gap:16px !important;
    }

    .project-card{
        min-height:auto;
        padding:24px;
    }

    .projects-filter{
        overflow-x:auto;
        flex-wrap:nowrap;

        padding-bottom:6px;
    }

    .filter-btn{
        white-space:nowrap;
    }

}



/* ================================= */
/* ========= PROJECTS FIX ========== */
/* ================================= */

.cards--projects{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:24px !important;
    align-items:stretch;
}

.project-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;

    min-height:260px;

    padding:34px;

    background:#fff;

    border-radius:24px;

    border:1px solid #e9e9e9;

    box-shadow:0 10px 30px rgba(0,0,0,.04);

    transition:.25s ease;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-card h3{
    margin-bottom:18px;
}

.project-card .big{
    font-size:20px;
    font-weight:700;
    margin-bottom:18px;
}

.project-card p{
    line-height:1.7;
}

.projects-filter{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-bottom:34px;
}

.filter-btn{
    border:none;
    background:#fff;

    border:1px solid #e5e5e5;

    padding:12px 18px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

    transition:.2s;
}

.filter-btn:hover{
    background:#111;
    color:#fff;
}

.filter-btn.active{
    background:#111;
    color:#fff;
}

.projects-loadmore-wrap{
    margin-top:40px;
    text-align:center;
}

.projects-loadmore{
    border:none !important;
    outline:none !important;
    box-shadow:none !important;
}

/* ================================= */
/* ============ MOBILE ============= */
/* ================================= */

@media (max-width:768px){

    .cards--projects{
        grid-template-columns:1fr !important;
        gap:16px !important;
    }

    .project-card{
        min-height:auto;
        padding:24px;
    }

    .projects-filter{
        overflow-x:auto;
        flex-wrap:nowrap;

        padding-bottom:6px;
    }

    .filter-btn{
        white-space:nowrap;
    }

}


/* ================================= */
/* ===== PROJECTS ARCHIVE ========== */
/* ================================= */

.projects-title{
    font-size:64px;
    margin-bottom:18px;
}

.projects-subtitle{
    max-width:900px;
    line-height:1.8;
    color:#555;
    margin-bottom:40px;
}

.projects-pagination{
    margin-top:50px;
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.projects-pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;

    width:48px;
    height:48px;

    border-radius:12px;

    background:#fff;

    border:1px solid #e5e5e5;

    text-decoration:none;

    color:#111;

    font-weight:700;
}

.projects-pagination .current{
    background:#111;
    color:#fff;
}

@media(max-width:768px){

    .projects-title{
        font-size:42px;
    }

}








/* ================================= */
/* ========= PROJECTS ============== */
/* ================================= */

.projects-title{
    font-size:64px;
    margin-bottom:18px;
    font-weight:800;
}

.projects-subtitle{
    max-width:900px;
    line-height:1.8;
    color:#555;
    margin-bottom:40px;
}

/* FILTERS */

.projects-filter{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-bottom:34px;
}

.filter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    border:none;

    background:#fff;

    border:1px solid #e5e5e5;

    padding:12px 18px;

    border-radius:12px;

    cursor:pointer;

    color:#111;

    font-weight:600;

    transition:.2s;
}

.filter-btn:hover{
    background:#111;
    color:#fff;
}

.filter-btn.active{
    background:#111;
    color:#fff;
}

/* GRID */

.cards--projects{
    display:grid !important;

    grid-template-columns:repeat(3,1fr) !important;

    gap:24px !important;
}

/* CARD */

.project-card{
    background:#fff;

    border-radius:24px;

    border:1px solid #e9e9e9;

    overflow:hidden;

    transition:.25s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-image img{
    width:100%;
    height:240px;

    object-fit:cover;

    display:block;
}

/* CONTENT */

.project-card h3{
    padding:26px 26px 0;

    margin:0;

    font-size:30px;

    line-height:1.2;

    font-weight:800;
}

.project-card p{
    padding:0 26px;

    line-height:1.7;
}

.project-card .big{
    font-size:20px;

    font-weight:700;

    margin-top:18px;

    margin-bottom:12px;
}

/* PAGINATION */

.projects-pagination{
    margin-top:50px;

    display:flex;

    justify-content:center;

    gap:10px;

    flex-wrap:wrap;
}

.projects-pagination .page-numbers{
    display:flex;

    align-items:center;

    justify-content:center;

    width:48px;

    height:48px;

    border-radius:12px;

    background:#fff;

    border:1px solid #e5e5e5;

    text-decoration:none;

    color:#111;

    font-weight:700;
}

.projects-pagination .current{
    background:#111;
    color:#fff;
}

/* MOBILE */

@media(max-width:768px){

    .projects-title{
        font-size:42px;
    }

    .cards--projects{
        grid-template-columns:1fr !important;
    }

    .project-image img{
        height:200px;
    }

    .project-card h3{
        font-size:24px;
    }

    .projects-filter{
        flex-wrap:nowrap;

        overflow-x:auto;

        padding-bottom:6px;
    }

    .filter-btn{
        white-space:nowrap;
    }

}