/* ecoVenio — static site styles */

:root {
  --dark: #252525;
  --green: #1AB337;
  --mint: #DCE9D7;
  --light: #F7F7F7;
  --wrap: 1208px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1; font-family: "Inter", sans-serif; }
p { margin: 0 0 .9rem; }
ul { margin: 0; padding: 0; }
button, input, textarea { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.green { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 600 16px/1 "Inter", sans-serif;
  text-transform: uppercase;
  text-align: center;
  padding: 17px 45px;
  border: 1px solid var(--dark);
  border-radius: 100px;
  transition: all .3s;
}
.btn:hover { transform: scale(1.1); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: transparent; color: var(--dark); }
.btn-outline { background: transparent; color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: transparent; color: var(--green); }
.btn-white { background: #fff; border-color: #fff; color: var(--dark); }

/* ---------- header ---------- */
.site-header { background: #fff; padding: 20px 0; }
.header-inner { display: flex; align-items: stretch; }
.header-inner > div { padding: 10px; display: flex; flex-direction: column; justify-content: center; }
.header-logo { width: 20%; align-items: flex-start; }
.header-logo a { width: 65%; }
.header-logo img { width: 100%; }
.header-nav { width: 54%; align-items: center; }
.header-cta { width: 24%; align-items: flex-end; }
.btn-login { background: var(--green); border: none; color: #fff; padding: 14px 45px; }
.btn-login:hover { background: var(--green); color: #fff; }

.nav-panel ul { list-style: none; display: flex; height: 80px; }
.nav-panel li { display: flex; }
.nav-panel a {
  display: flex; align-items: center;
  padding: 0 15px;
  font-size: 16px; line-height: 24px; color: #000;
  transition: color .4s;
}
.nav-panel a:hover { color: var(--dark); }
.nav-panel a.active { color: #707070; }
.nav-panel-top, .hamburger, .nav-overlay { display: none; }

@media (max-width: 1024px) {
  .header-nav { align-items: flex-end; }
  .hamburger {
    display: block; width: 45px; padding: 8px; border-radius: 3px; cursor: pointer;
  }
  .hamburger span { display: block; height: 1px; background: rgba(0,0,0,.5); }
  .hamburger span + span { margin-top: 4px; }
  .hamburger:hover { background: var(--green); }
  .hamburger:hover span { background: var(--dark); }
  .nav-panel {
    position: fixed; top: 0; left: 0; z-index: 100;
    width: 100%; max-width: 350px; height: 100%;
    background: #f7f7f7; overflow-y: auto;
    transform: translateX(-100%); transition: transform .6s cubic-bezier(.6,.1,.68,.53);
  }
  .nav-panel-top { display: flex; justify-content: flex-end; padding: 10px 0; }
  .nav-close {
    width: 45px; padding: 8px; margin: 12px; border: 1px solid rgba(0,0,0,.5); border-radius: 3px;
    color: #333; text-align: center; line-height: 24px; cursor: pointer;
  }
  .nav-close:hover { background: var(--green); color: rgba(0,0,0,.5); }
  .nav-panel ul { display: block; height: auto; }
  .nav-panel a { padding: 10px 15px; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(51,51,51,.5); opacity: 0; visibility: hidden; transition: all .6s;
  }
  .nav-toggle:checked ~ .site-header .nav-panel { transform: none; }
  .nav-toggle:checked ~ .site-header .nav-overlay { opacity: 1; visibility: visible; }
}

@media (max-width: 767px) {
  .site-header { padding: 20px 0; }
  .header-logo { width: auto; flex-shrink: 0; }
  .header-logo a { width: 175px; }
  .header-nav { flex: 1; }
  .header-cta { display: none !important; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--mint); }
.footer-cols { display: flex; gap: 0 90px; padding: 82px 0 100px; }
.footer-social { width: 24%; padding: 10px; display: flex; gap: 16px; align-items: flex-start; flex-shrink: 1; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: #fff; cursor: pointer;
  transition: background .3s;
}
.footer-social svg { width: 16px; height: 16px; fill: var(--green); transition: fill .3s; }
.footer-social a:hover { background: var(--green); }
.footer-social a:hover svg { fill: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 5px; }
.footer-links { width: 12%; }
.footer-contact { width: 18%; }
.footer-form { width: 25%; }
.footer-col h2 { font: 600 20px/1 "Roboto", sans-serif; color: var(--dark); }
.footer-line { display: block; width: 36%; border-top: 2px solid var(--green); }
.footer-line-form { width: 22%; }
.footer-col ul { list-style: none; padding-top: 20px; font: 400 16px/24px "Roboto", sans-serif; }
.footer-col li + li { margin-top: 12px; }
.footer-col li a { transition: color .3s; }
.footer-contact li { display: flex; align-items: flex-start; }
.footer-contact .ic { width: 27.5px; flex-shrink: 0; }
.footer-contact .ic svg { width: 22px; height: 22px; display: block; }
.footer-contact .ic + span { padding-left: 5px; }

.footer-bottom { padding: 10px; }
.footer-rule { display: block; border-top: 2px solid rgba(37,37,37,.13); margin: 1px 0; }
.footer-bottom p { margin: 0; padding: 13px 0 10px; text-align: center; font: 400 14px/21px "Roboto", sans-serif; }

/* contact form (same look as the former WPForms "modern" form) */
.contact-form { margin: 24px 0; container-type: inline-size; }
.contact-form .field { border: 0; margin: 0; padding: 15px 0; min-width: 0; }
.contact-form .label {
  display: block; padding: 0; margin: 0 0 15px;
  font-size: 16px; line-height: 19px; font-weight: 700; color: rgba(0,0,0,.85);
}
.contact-form .req { font-weight: 400; color: #d63637; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%;
  background: #fff; color: #212529;
  border: 1px solid rgba(0,0,0,.25); border-radius: 3px;
  font-size: 16px; line-height: 16px; outline: none;
  box-shadow: none; transition: border .15s, box-shadow .15s;
}
.contact-form input { height: 43px; padding: 0 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #066aab; box-shadow: 0 0 0 1px #066aab; }
.contact-form textarea { height: 120px; padding: 14px; line-height: 1.3; resize: vertical; }
.contact-form .medium { max-width: 60%; }
.contact-form .name-row { display: flex; gap: 20px; }
.contact-form .name-row > div { flex: 1; min-width: 0; }
.contact-form .sublabel { display: block; margin-top: 5px; font-size: 14px; line-height: 17px; color: rgba(0,0,0,.55); }
@container (max-width: 300px) {
  .contact-form .name-row { display: block; max-width: 60%; }
  .contact-form .name-row > div + div { margin-top: 15px; }
}
.contact-form .submit-row { padding-top: 10px; }
.contact-form button {
  height: 41px; padding: 0 15px; border: none; border-radius: 3px;
  background: var(--green); color: #fff; font-size: 17px; font-weight: 500; line-height: 17px; cursor: pointer;
}
.contact-form button:hover { background: #159a2f; }

@media (max-width: 1024px) {
  .footer-cols { gap: 0 20px; }
  .footer-social { width: 200px; }
  .footer-links { width: 156px; }
  .footer-contact { width: 155px; }
}
@media (max-width: 767px) {
  .footer-cols { flex-direction: column; gap: 30px 0; padding: 70px 20px; }
  .footer-social, .footer-col { width: 100% !important; }
  .footer-social { padding: 0; }
  .footer-links .footer-line { width: 23%; }
  .footer-contact .footer-line { width: 24%; }
  .footer-bottom { padding: 10px; }
}
@media (max-width: 600px) {
  .contact-form .medium { max-width: 100%; }
}

/* ---------- shared section pieces ---------- */
.shape-bottom {
  position: absolute; left: 0; bottom: -1px; width: 100%;
  overflow: hidden; line-height: 0; transform: rotate(180deg); pointer-events: none;
}
.shape-bottom svg {
  display: block; position: relative; left: 50%;
  width: calc(172% + 1.3px); height: 156px;
  transform: translateX(-50%) rotateY(180deg);
}
.shape-bottom path { fill: #fff; }
.mini-logo { width: 134px; margin: 1px 0; }
.h48 { font-size: 48px; font-weight: 600; line-height: 1; }
.col { display: flex; flex-direction: column; gap: 20px; padding: 10px; min-width: 0; }
@media (max-width: 767px) {
  .shape-bottom svg { width: calc(190% + 1.3px); height: 45px; }
  .h48 { font-size: 35px; }
}

/* ---------- home ---------- */
.home-hero {
  position: relative;
  background-image: linear-gradient(130deg, #D3E4CD 0%, #FFFFFF 100%);
  padding: 113px 0 201px;
}
.home-hero .wrap { display: flex; align-items: center; justify-content: center; gap: 0 120px; position: relative; z-index: 1; }
.home-hero .hero-text { width: 60%; }
.home-hero .hero-img { width: 50%; }
.eyebrow { font: 700 14px/1 "Roboto", sans-serif; letter-spacing: 3px; }
.home-hero h2 { font-size: 64px; font-weight: 700; }
.btn-row { display: flex; gap: 20px; }

.home-features { padding: 135px 0 98px; overflow: hidden; }
.home-features .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.home-features h2 { text-align: center; width: 100%; }

.home-products { background: var(--light); }
.products-head { display: flex; padding: 110px 0 64px; }
.products-head > div { width: 50%; display: flex; flex-direction: column; gap: 20px; }
.products-head .cta { justify-content: flex-end; align-items: flex-end; padding: 10px; }
.cards-row { display: flex; gap: 0 12px; padding-bottom: 12px; }
.cards-row:last-child { padding-bottom: 52px; }
.card {
  width: 50%; min-width: 0;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 32px 73px;
  background: #fff; border-radius: 24px; box-shadow: 0 0 4.7px 0 rgba(0,0,0,.2);
}
.card h2 { font-size: 24px; font-weight: 700; line-height: 31px; max-width: var(--hw); }
.card-photo { background: #fff url(img/home-card.png) center / cover; }

.home-references {
  position: relative;
  background-image: linear-gradient(360deg, #D3E4CD 0%, #F7F7F7 100%);
  padding: 100px 0 260px;
}
.home-references > .wrap { position: relative; z-index: 1; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.ref-row { display: flex; gap: 0 60px; padding: 10px; }
.ref-row > .col { flex: 1; }
.ref-row .ref-text { justify-content: center; }
.trusted { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 100px; }
.trusted h2 { font-size: 24px; font-weight: 700; padding-bottom: 80px; }
.logo-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 53px; justify-items: center; align-items: center; padding: 10px; }

.home-team .wrap { display: flex; padding: 130px 0; }
.home-team .team-text { width: 50%; justify-content: center; }
.home-team .team-img { width: 55%; }
.home-team .team-text p { padding-right: 30px; }
.home-team .team-img img, .home-learning img { border-radius: 32px; }
.btn-wrap { padding-top: 15px; }

.home-learning { background: var(--light); }
.home-learning .wrap { display: flex; flex-direction: row-reverse; gap: 0 60px; padding: 65px 0; }
.home-learning .learn-text { width: 50%; justify-content: center; }
.home-learning .learn-text .txt { padding-right: 30px; }
.home-learning .learn-img { width: 45%; }

@media (max-width: 767px) {
  .home-hero { padding: 90px 0; }
  .home-hero .wrap, .products-head, .cards-row, .ref-row, .home-team .wrap, .home-learning .wrap { flex-direction: column; }
  .home-hero .hero-text, .home-hero .hero-img, .products-head > div, .card,
  .home-team .team-text, .home-team .team-img, .home-learning .learn-text, .home-learning .learn-img { width: 100%; }
  .home-hero h2 { font-size: 55px; }
  .home-features h2 { padding-bottom: 50px; }
  .home-features .big { padding: 0 10px; }
  .products-head { padding: 90px 10px; }
  .products-head .cta { align-items: flex-start; padding: 0; }
  .cards-row { gap: 12px 0; padding: 0 10px 10px; }
  .cards-row:last-child { padding-bottom: 10px; }
  .card p { padding-right: 0 !important; }
  .card h2 { max-width: var(--hwm, var(--hw)); }
  .btn-row { flex-wrap: wrap; }
  .card-photo { min-height: 251px; }
  .home-references { padding: 90px 0; }
  .home-references .shape-bottom svg { height: 47px; width: calc(172% + 1.3px); }
  .ref-row { flex-direction: column-reverse; gap: 0; padding: 0; }
  .trusted h2 { padding-bottom: 40px; text-align: center; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .home-team .wrap { padding: 130px 0; }
  .home-learning .wrap { flex-direction: column; gap: 0; }
}

/* ---------- generic page pieces ---------- */
.r32 { border-radius: 32px; }
.pr30 { padding-right: 30px; }
.vcenter { justify-content: center; }
.split .wrap { display: flex; gap: 0 60px; }
.split-rev .wrap { flex-direction: row-reverse; }
.w50 { width: 50%; }
.w45 { width: 45%; }
img.emoji { display: inline; width: 1em; height: 1em; margin: 0 .07em; vertical-align: -.1em; }
.page-hero { background-image: linear-gradient(180deg, #D3E4CD 0%, #FFFFFF 100%); padding: 113px 0; }
.page-hero .col { align-items: center; text-align: center; }
.hero-title { font-size: 54px; font-weight: 700; }
@media (max-width: 767px) {
  .split .wrap { flex-direction: column; gap: 0; }
  .split-rev .wrap { flex-direction: column-reverse; }
  .w50, .w45 { width: 100%; }
  .hero-title { font-size: 35px; }
}

/* our team */
.team-hero .hero-title { max-width: 53%; }
.team-hero .hero-lead { max-width: 62%; }
.team-mission { padding-top: 75px; }
.team-values { padding: 75px 0; }
@media (max-width: 767px) {
  .team-hero .hero-title { max-width: 306px; }
  .team-hero .hero-lead { max-width: 321px; }
}

/* pricing */
.pricing {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; gap: 50px;
  max-width: 1281px; margin: 0 auto; padding: 50px 0 150px;
}
main:has(.pricing) { background-image: linear-gradient(180deg, #D3E4CD 0%, #FFFFFF 100%); }
.plans { display: flex; justify-content: center; gap: 0 40px; padding: 60px; }
.plan {
  flex: 0 0 30%; min-width: 0; margin: 20px; padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  background: #fff; border-radius: 12px; box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  transition: box-shadow .3s;
}
.plan-standart { box-shadow: 0 0 11px 0 rgba(0,0,0,.5); }
.plan-premium {
  flex-basis: 40%; margin: 0;
  background: linear-gradient(180deg, #B8EAC1 0%, var(--green) 100%);
  border: 2px solid var(--green); border-radius: 16px; box-shadow: 0 0 30px 10px rgba(0,0,0,.5);
}
.plan:hover, .bank:hover { box-shadow: 0 0 60px 0 rgba(0,0,0,.5); }
.plan h1, .plan h2, .plan h3, .plan h5 { text-align: center; font-weight: 600; }
.plan h1 { font-size: 64px; }
.plan h3 { font-size: 28px; }
.plan h2 { font-size: 48px; }
.plan h5 { font-size: 20px; }
.checks { list-style: none; }
.checks li { display: flex; align-items: center; color: var(--green); }
.checks li + li { margin-top: 10px; }
.checks .ic { display: flex; width: 17.5px; flex-shrink: 0; }
.checks svg { width: 14px; height: 14px; fill: var(--dark); }
.checks .ic + span { padding-left: 5px; }
.plan-premium .checks li { color: #fff; font-weight: 600; }
.plan-premium .checks svg { fill: #fff; }
.bank {
  display: flex; justify-content: center; gap: 20px; padding: 30px;
  background: #fff; border-radius: 20px; box-shadow: 0 0 10px 0 rgba(0,0,0,.5); transition: box-shadow .3s;
}
.bank > * { flex: 1 1 auto; min-width: 0; }
.bank h2 { font-size: 48px; font-weight: 600; }
@media (max-width: 767px) {
  .pricing { grid-template-rows: 1fr 1fr; }
  .plans, .bank { flex-wrap: wrap; }
  .plan, .plan-premium { flex-basis: 100%; }
}

/* portal */
.btn-white { color: #0A2F11; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }
.portal-hero { background-image: linear-gradient(180deg, #D3E4CD 0%, #FFFFFF 100%); padding: 113px 0 201px; }
.portal-hero .wrap { display: flex; align-items: center; justify-content: center; gap: 0 40px; }
.portal-hero .txt { width: 72%; }
.portal-hero .img { width: 50%; }

.portal-tools { padding-bottom: 98px; overflow: hidden; }
.portal-tools .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.portal-tools .wrap > .h48 { max-width: 49%; padding-bottom: 50px; text-align: center; }
.tool-row { display: flex; gap: 20px; padding: 10px; width: 100%; }
.tool {
  width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px;
  background: #fff; border: 1px solid #D5E5CF; border-radius: 24px; box-shadow: 0 1px 17.6px 0 rgba(0,0,0,.07);
}
.tool h2 { font-size: 32px; font-weight: 700; }
.tool-txt { font-size: 13px; line-height: 1.5; max-width: var(--tw, none); }
.tool-dark { background: #0A2F11; border: none; box-shadow: none; color: #fff; }
.tool-dark .tool-txt { font-size: 12px; }
.tool-dark ul { padding-left: 40px; }
.tool-icon { height: 117px; padding-bottom: 50px; line-height: 0; }
.tool-icon svg { width: 61px; height: 61px; }
.arrow { text-align: right; line-height: 0; }
.arrow img { display: inline-block; transition: transform .3s; }
.arrow img:hover { transform: scale(1.1); }

.portal-benefits { background-image: linear-gradient(360deg, #DCE9D7 0%, #FFFFFF 100%); padding: 65px 0; }
.portal-benefits .wrap { display: flex; flex-direction: row-reverse; gap: 0 40px; }
.portal-benefits .txt { width: 50%; justify-content: center; }
.portal-benefits .photo { width: 50%; min-height: 70px; border-radius: 32px; background: url(img/portal-benefits.png) 0 0 / cover; }
.benefit { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #fff; border: 1px solid #D5E5CF; border-radius: 12px; }
.benefit h2 { font-size: 16px; font-weight: 700; }
.benefit div { font-size: 12px; line-height: 1.5; }

.portal-access { background: #DCE8D8; padding: 101px 0; }
.access-box { display: flex; gap: 20px; background: #0A2F11; border-radius: 32px; color: #fff; }
.access-txt { width: 100%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 55px 0 55px 55px; }
.access-txt h2 { font-size: 54px; font-weight: 700; }
.access-img { width: 100%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }

@media (max-width: 767px) {
  .portal-hero { padding: 90px 0; }
  .portal-hero .wrap, .portal-benefits .wrap, .tool-row, .access-box { flex-direction: column; }
  .portal-hero .txt, .portal-hero .img, .portal-benefits .txt, .portal-benefits .photo { width: 100%; }
  .portal-tools .wrap > .h48 { max-width: 331px; }
  .tool h2 { font-size: 30px; }
  .tool-txt { max-width: var(--twm, none); }
  .portal-benefits { padding: 60px 10px; }
  .portal-benefits .wrap { gap: 20px 0; }
  .portal-benefits .txt { padding: 0; }
  .portal-benefits .photo { min-height: 384px; padding: 0; }
  .portal-access { padding: 9px 10px 90px; }
  .access-txt { padding: 35px 20px 20px; }
  .access-txt h2 { font-size: 35px; }
}

/* resources / academy */
.res { background-image: linear-gradient(180deg, #D3E4CD 0%, #FFFFFF 100%); padding-top: 113px; }
.res-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 10px; }
.res-inner > * { max-width: 100%; }
.res-title { max-width: 60%; text-align: center; }
.res-lead { max-width: 62%; text-align: center; padding-bottom: 60px; }
.res-inner ul { margin: 0; padding-left: 40px; }
.res-block { width: 100%; display: flex; background: #fff; border-radius: 32px; }
.res-block-rev { flex-direction: row-reverse; }
.res-text, .res-photo { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.res-photo { justify-content: center; padding: 10px; min-height: 269px; background: center / cover no-repeat; }
.res-photo-r { border-radius: 0 32px 32px 0; }
.res-photo-l { border-radius: 32px 0 0 32px; }
.res-dark { width: 100%; display: flex; gap: 20px; background: #0A2F11; border-radius: 32px; color: #fff; }
.res-dark-text { width: 150%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 55px 0 55px 55px; }
.res-dark-text h2 { font-size: 48px; font-weight: 700; }
.res-dark-img { width: 100%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }
.res-cats { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.res-cats-title { font-size: 36px; font-weight: 700; padding: 20px 0; }
.res-fade { height: 350px; padding: 10px; background-image: linear-gradient(180deg, #FFFFFF 0%, #DCE9D7 100%); }

/* category tabs (pure CSS: radio + label) */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-tab {
  order: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px 30px 17px; border: 2px solid #fff; border-radius: 100px;
  font-size: 16px; line-height: 24px; color: #646462; text-align: center; cursor: pointer;
  transition: background .3s, color .3s, box-shadow .3s;
}
.cat-tab:hover, .cat-tab-input:checked + .cat-tab {
  background: #fff; border-color: #D5E5CF; color: #000;
  box-shadow: 0 1px 17.6px 0 rgba(0,0,0,.13);
}
.cat-tab-input:checked + .cat-tab { -webkit-text-stroke: .3px #000; }
.cat-panel { order: 1; width: 100%; margin-top: 62px; padding: 10px; display: none; }
.cat-tab-input:checked + .cat-tab + .cat-panel { display: block; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 0 15px 30px; }
.post-card { position: relative; height: 300px; }
.post-card-img, .post-card-img img { display: block; width: 100%; height: 100%; }
.post-card-img { overflow: hidden; }
.post-card-img img { object-fit: cover; transition: transform .4s ease-in-out; }
.post-card:hover .post-card-img img { transform: scale(1.1); }
.post-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 56px; padding: 30px 30px 15px; transition: 1.2s; color: #fff;
}
.post-card-body::before, .post-card-body::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transition: .4s ease-in-out;
  background: rgba(0,0,0,.7);
}
.post-card-body::after { background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; }
.post-card:hover .post-card-body { min-height: 100%; transition: .5s; }
.post-card:hover .post-card-body::before { opacity: 0; visibility: hidden; }
.post-card:hover .post-card-body::after { opacity: 1; visibility: visible; }
.post-card h3 { margin: 0 0 15px; padding-bottom: 2px; font-size: 20px; line-height: 28px; font-weight: 600; }
.post-card-meta, .post-card-excerpt, .post-card-more {
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: .6s;
}
.post-card-excerpt { margin-top: -5px; }
.post-card:hover .post-card-meta, .post-card:hover .post-card-excerpt, .post-card:hover .post-card-more {
  max-height: 200px; opacity: 1; visibility: visible;
}
.post-card:hover .post-card-meta, .post-card:hover .post-card-excerpt { margin-bottom: 15px; }
.post-card:hover .post-card-more { margin-bottom: 9px; }
.post-card-meta { display: flex; flex-direction: column; font-size: 15px; line-height: 15px; font-weight: 300; }
.post-card-meta > span { display: flex; align-items: center; padding-right: 10px; margin-bottom: 2px; }
.post-card-meta > span + span { margin-bottom: 3px; }
.post-card-meta > span:last-child { line-height: 19.5px; }
.post-card-meta .by, .post-card-meta .sep { padding-right: 5px; }
.post-card-meta i { width: 16px; height: 18px; margin: -1px 8px 0 0; background: #fff; flex-shrink: 0;
  -webkit-mask: var(--ic) center / 16px no-repeat; mask: var(--ic) center / 16px no-repeat; }
.post-card-excerpt { font-size: 16px; line-height: 24px; }
.post-card-more a { display: inline-flex; padding: 7px 20px; background: rgba(255,255,255,.7); color: #1a1a1a; font-size: 15px; line-height: 27px; transition: .4s; }
.post-card-more a:hover { background: #fff; }

@media (max-width: 1024px) {
  .cat-tabs { justify-content: center; }
}
@media (max-width: 991px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .res { padding: 90px 0; }
  .res-title { max-width: 306px; }
  .res-lead { max-width: 321px; }
  .res-block, .res-block-rev { flex-direction: column-reverse; }
  .res-text { padding: 50px 20px !important; }
  .res-photo-r, .res-photo-l { border-radius: 32px 32px 0 0; }
  .res-dark { flex-direction: column; }
  .res-dark-text { width: 100%; padding: 35px 20px 20px; }
  .res-dark-text h2 { font-size: 35px; }
  .res-cats-title { font-size: 35px; }
  .cat-tabs { flex-direction: column; gap: 10px; flex-wrap: nowrap; }
  .cat-tab { order: initial; width: 100%; }
  .cat-panel { order: initial; margin-top: 62px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}

.ic-user { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20300%20300%22%3E%3Cpath%20transform%3D%22matrix%281%200%200%20-1%200%20300%29%22%20d%3D%22M256.0661314453125%20256.0661314453125C227.7351380859375%20284.397125390625%20190.065765234375%20300%20150%20300S72.2648619140625%20284.397125390625%2043.9338685546875%20256.0661314453125C15.602874609375%20227.7351380859375%200%20190.065765234375%200%20150S15.602874609375%2072.2648619140625%2043.9338685546875%2043.9338685546875C72.2648619140625%2015.602874609375%20109.934234765625%200%20150%200S227.7351380859375%2015.602874609375%20256.0661314453125%2043.9338685546875C284.397125390625%2072.2648619140625%20300%20109.934234765625%20300%20150S284.397125390625%20227.7351380859375%20256.0661314453125%20256.0661314453125zM65.1008607421875%2048.4588623046875C70.053863671875%2091.07666015625%20106.695556640625%20123.980712890625%20150%20123.980712890625C172.828674609375%20123.980712890625%20194.2955015625%20115.086364453125%20210.443115234375%2098.9410400390625C224.08447265625%2085.2973939453125%20232.688141015625%2067.4835205078125%20234.901428515625%2048.4611509765625C211.8988037109375%2029.1961669921875%20182.281494140625%2017.578125%20150%2017.578125S88.1034849609375%2029.1938783203125%2065.1008607421875%2048.4588623046875zM150%20142.08526640625C124.880218359375%20142.08526640625%20104.441070703125%20162.5244140625%20104.441070703125%20187.644195703125C104.441070703125%20212.766266015625%20124.880218359375%20233.203125%20150%20233.203125S195.558929296875%20212.766266015625%20195.558929296875%20187.644195703125C195.558929296875%20162.5244140625%20175.119781640625%20142.08526640625%20150%20142.08526640625zM250.030517578125%2063.320159765625C245.5513001953125%2081.3789369140625%20236.21063203125%2098.030090625%20222.87139921875%20111.3693234375C212.0681765625%20122.1725460937501%20199.28741484375%20130.27725234375%20185.3485107421875%20135.3561398437501C202.1049498046875%20146.7201234375%20213.137054296875%20165.9187318359375%20213.137054296875%20187.644195703125C213.137054296875%20222.45712265625%20184.8129269531251%20250.7812500000001%20150%20250.7812500000001S86.862945703125%20222.45712265625%2086.862945703125%20187.644195703125C86.862945703125%20165.9072878906251%2097.90420546875%20146.701812890625%20114.674377734375%20135.3401185546875C101.8501283203125%20130.6663511718751%2089.9826046875%20123.4405517578126%2079.7721861328125%20113.9282226562501C64.98641953125%20100.1586914062501%2054.7187806640625%2082.6011656250001%2049.9580384765625%2063.33389296875C29.795837109375%2086.57684296875%2017.578125%20116.8876646484376%2017.578125%20150.0000000000001C17.578125%20223.0178835937501%2076.98211640625%20282.4218750000001%20150%20282.4218750000001S282.421875%20223.0178835937501%20282.421875%20150.0000000000001C282.421875%20116.8807980468751%20270.1995849609375%2086.5631103515626%20250.030517578125%2063.3201597656251zM250.030517578125%2063.320159765625%22/%3E%3C/svg%3E"); }
.ic-calendar { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20300%20300%22%3E%3Cpath%20transform%3D%22matrix%281%200%200%20-1%200%20300%29%22%20d%3D%22M261.328125%20276.5625H234.375V290.625C234.375%20295.80234375%20230.1779296875%20300%20225%20300S215.625%20295.80234375%20215.625%20290.625V276.5625H84.375V290.625C84.375%20295.80234375%2080.1779296875%20300%2075%20300S65.625%20295.80234375%2065.625%20290.625V276.5625H38.671875C17.3478515625%20276.5625%200%20259.2146484375%200%20237.890625V38.671875C0%2017.3478515625%2017.3478515625%200%2038.671875%200H261.328125C282.6521484375001%200%20300%2017.3478515625%20300%2038.671875V237.890625C300%20259.2146484375%20282.6521484375001%20276.5625%20261.328125%20276.5625zM38.671875%20257.8125H65.625V248.4375C65.625%20243.26015625%2069.8220703125%20239.0625%2075%20239.0625S84.375%20243.26015625%2084.375%20248.4375V257.8125H215.625V248.4375C215.625%20243.26015625%20219.8220703125%20239.0625%20225%20239.0625S234.375%20243.26015625%20234.375%20248.4375V257.8125H261.328125C272.31328125%20257.8125%20281.25%20248.87578125%20281.25%20237.890625V215.625H18.75V237.890625C18.75%20248.87578125%2027.68671875%20257.8125%2038.671875%20257.8125zM261.328125%2018.75H38.671875C27.68671875%2018.75%2018.75%2027.68671875%2018.75%2038.671875V196.875H281.25V38.671875C281.25%2027.68671875%20272.31328125%2018.75%20261.328125%2018.75z%22/%3E%3C/svg%3E"); }
.ic-folder { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20300%20300%22%3E%3Cpath%20transform%3D%22matrix%281%200%200%20-1%200%20300%29%22%20d%3D%22M296.5072455171536%20160.84442109375C291.9524975418459%20168.20068359375%20283.8958573889147%20172.5906375%20274.9557331080626%20172.5906375H252.6397557047019V213.5261537109375C252.6397557047019%20223.406982421875%20244.3038794353196%20231.443023828125%20234.0591296449729%20231.443023828125H124.8161241318678C124.655907149068%20231.443023828125%20124.5483325459962%20231.4888001953125%20124.5048448532318%20231.516266015625L104.9537598659907%20258.860778515625C101.4862001082305%20263.70849609375%2095.7687318885509%20266.6015625%2089.6575875200633%20266.6015625H18.5806266456664C8.3335870117039%20266.6015625%200%20258.563232421875%200%20248.6846923828125V52.308655078125C0%2042.1966552734375%208.5372916872681%2033.968353125%2019.0338123613001%2033.968353125H240.1450968664982C243.589768149037%2033.968353125%20246.5652324278184%2035.95733671875%20248.0048989450255%2038.8435365234375L248.0117655461856%2038.841247265625L297.5601024867128%20138.356780859375C301.1535468074094%20145.56884765625%20300.757581400923%20153.97567734375%20296.5072455171536%20160.84442109375zM18.5806266456664%20249.0234375H89.6575875200632C90.1840154189053%20249.0234375%2090.5410716479841%20248.7922669921875%2090.6532235945377%20248.634338671875L110.2340630722229%20221.250915234375C113.5391171754424%20216.627502734375%20118.9910818950538%20213.864898828125%20124.8161241318678%20213.864898828125H234.0591296449729C234.6725323434064%20213.864898828125%20234.9838116220423%20213.576507421875%20235.0616317346701%20213.4735107421875V172.5906375H75.9956316799435C66.1308248360845%20172.5906375%2057.1586573930475%20167.031097265625%2053.137203917742%20158.425140234375L17.5781239700319%2082.32879609375V248.6320494140625C17.6559434967221%20248.73504609375%2017.9672227753581%20249.0234375%2018.5806266456665%20249.0234375zM281.8244770415345%20146.19140625L234.7022874197878%2051.548766796875H22.5975021915526L69.0628014221015%20150.9819029296875C70.1888994029942%20153.392028515625%2072.9766802943351%20155.0125125%2075.9956316799434%20155.0125125H274.9557331080625C277.7641132169465%20155.0125125%20280.2337482284913%20153.733062890625%20281.5612627991448%20151.59072890625C282.3074178335497%20150.384521484375%20282.9574416235874%20148.4687806640625%20281.8244770415345%20146.19140625zM281.8244770415345%20146.19140625%22/%3E%3C/svg%3E"); }

/* blog posts, category archives, 404 */
.theme-main, .single-post .page-header, .post-content, .comments { width: 100%; margin: 0 auto; }
.theme-main h1, .theme-main h2, .single-post h1, .single-post h2 { margin: .5rem 0 1rem; line-height: 1.2; }
.theme-main .entry-title, .single-post .entry-title { font-size: 64px; font-weight: 700; }
.single-post .page-header { max-width: 1140px; }
.post-content { max-width: 1160px; padding: 10px; }
.theme-main .page-header { margin-bottom: 24px; }
.archive-post { margin-bottom: 40px; }
.archive-post h2 { font-size: 48px; font-weight: 600; }
.archive-post h2 a { color: var(--dark); transition: color .3s; }
.archive-post h2 a:hover, .pagination a:hover { color: var(--green); }
.archive-post img { border-radius: 24px; }
.post-image { width: 100%; max-height: 500px; object-fit: cover; }
.archive-post p { margin-top: 12px; }
.pagination { display: flex; justify-content: space-between; margin: 20px auto 60px; }
.pagination a { color: var(--green); font-weight: 600; }
.theme-main .page-content > p { margin-bottom: 60px; }

.comments { max-width: 1140px; padding: 20px 0 80px; }
.comments h2 { font-size: 48px; font-weight: 600; }
.comment-form { max-width: 760px; }
.comment-form p { margin: 0 0 20px; }
.comment-form label { display: block; margin-bottom: 8px; font-weight: 700; color: rgba(0,0,0,.85); }
.comment-form .comment-notes { color: rgba(0,0,0,.6); }
.comment-form .required { color: #d63637; font-weight: 400; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  display: block; width: 100%; padding: 0 14px; height: 43px;
  border: 1px solid rgba(0,0,0,.25); border-radius: 3px; background: #fff; color: #212529;
  font-size: 16px; transition: border .15s, box-shadow .15s;
}
.comment-form textarea { height: 160px; padding: 14px; line-height: 1.4; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.comment-form .consent { display: flex; align-items: center; gap: 8px; }
.comment-form .consent label { display: inline; margin: 0; font-weight: 400; }
.comment-form input[type=checkbox] { margin: 0; accent-color: var(--green); }
.comment-form .submit {
  height: 43px; padding: 0 24px; border: none; border-radius: 100px; background: var(--green);
  color: #fff; font: 600 16px/1 "Inter", sans-serif; text-transform: uppercase; cursor: pointer; transition: transform .3s;
}
.comment-form .submit:hover { transform: scale(1.05); }
@media (min-width: 576px) { .theme-main, .single-post .page-header { max-width: 500px; } }
@media (min-width: 768px) { .theme-main, .single-post .page-header { max-width: 600px; } }
@media (min-width: 992px) { .theme-main, .single-post .page-header { max-width: 800px; } }
@media (min-width: 1200px) { .theme-main, .single-post .page-header { max-width: 1140px; } }
@media (max-width: 1160px) { .comments { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 991px) { .post-image { max-height: 400px; } }
@media (max-width: 767px) {
  .theme-main .entry-title, .single-post .entry-title { font-size: 40px; }
  .archive-post h2, .comments h2 { font-size: 32px; }
}
@media (max-width: 575px) {
  .theme-main, .single-post .page-header { padding: 0 10px; }
  .post-image { max-height: 300px; }
}
