/*!
Theme Name: Axera
Theme URI: http://underscores.me/
Author: V360
Author URI: http://www.v360.ee
Description: 360 turundus
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: axera
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
:root{  /* Palette */
  --accent:black;
  --accent-yellow:#FFFBF1;	
	--link-hover: #af9a7d;
 /* --accent-yellow:#fcb900;*/
  --text:#0c0c0c;
  --hero-text:black;
  --gray-900:#111827;



}
em{
	font-style:normal !important;
}
/* Täislai riba footeris */
.site-footer .footer-morph-wrap{
  width: 100% !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

/* Ticker container */
#footer-morph-slider.footer-ticker{
  width: 100% !important;
  height: 400px;
  min-height: 400px;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* Stage */
.footer-ticker__stage{
  height: 100%;
  position: relative;
}
.footer-ticker__stage {
    filter: grayscale(0.25) contrast(1);
	opacity:1;
}
/* Üks pilt */
.footer-ticker__slide{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* ✅ terve pilt nähtav */
}

/* “Premium” fade servades */
#footer-morph-slider.footer-ticker::before,
#footer-morph-slider.footer-ticker::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 140px;
  pointer-events:none;
  z-index: 5;
}
/*#footer-morph-slider.footer-ticker::before{
  left:0;
  background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
}
#footer-morph-slider.footer-ticker::after{
  right:0;
  background: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}*/
@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/axera/assets/fonts/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/axera/assets/fonts/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/axera/assets/fonts/OpenSans-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/axera/assets/fonts/OpenSans-ExtraBold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/axera/assets/fonts/OpenSans-ExtraBoldItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Scrollbar kogu lehele */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: transparent; /* Läbipaistev taust */
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4); /* Poolläbipaistev keritav osa */
  border-radius: 0px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6); /* Tumedam hoveri korral */
}
/*--------------------------------------------------------------
# Top-Header
--------------------------------------------------------------*/

.top-header p {
    color: white;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
    font-weight: 700;
}
.top-header a {
    color: white;
    font-size: 14px !important;
  
}
.top-header a:hover {
    color: white;
  
}
.top-header a:visited{
	color:white;
}
.top-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: var( --accent);
    padding: 0px 5%;
	z-index:3;
}
.top-header ul{
	margin: 0 0 0em 0em;
	list-style: none;
	display:flex;
	padding-left:0px;
	
}
.top-header ul li{
	margin:0 15px;
	
}
/* Header
--------------------------------------------- */
.header-all {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
  order: 1;
  display: flex;
  flex-direction: column;
 
}

/* Header libiseb üles */
.header-all.nav-up {
  transform: translateY(-190%);
}
.header-all {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 13;
  order: 1;
  display: flex;
  flex-direction: column;
  /* oluline */
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
}

.header-all{
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
}

body.no-scroll .header-all{
  transform: translateY(0) !important;
}
body.no-scroll .header-all.nav-up{
  transform: translateY(0) !important;
}

div.site-branding {
  margin-bottom: -40px;
  margin-top: -5px;
 transition: margin 0.25s cubic-bezier(.22,1,.36,1);

}

.header-all.active div.site-branding {
  margin-bottom: -40px;
  margin-top: -5px;
  padding-bottom: 0;
}

.header-all.active div.site-branding a {
  transition: margin 0.25s cubic-bezier(.22,1,.36,1);

}

.header-all.active div.site-branding img {
  transition: margin 0.25s cubic-bezier(.22,1,.36,1);

}

.custom-logo-link {

	transition: margin 0.25s cubic-bezier(.22,1,.36,1);

}

.custom-logo-link {
    display: inline-block;
    width: 120px;
    clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% calc(100% - 30px), /* paremalt üles 40px */ calc(100% - 30px) 100%, /* paremale sisse 40px allservas */ 0 100% /* vasak alumine */);
      background: var( --accent);
    padding: 15px;
	transition: margin 0.25s cubic-bezier(.22,1,.36,1);
}
.header-all.active .custom-logo-link {
  transition: width 0.3s ease;
}

.header-all.active .main-navigation {
  transition: background 0.5s ease;
}


.site-header {
    position: relative;
    z-index: 2;
	max-width:1800px;
	width:100%;
	margin: 0 auto;
    padding: 0px 5% 0px 5%;
    margin: 0px 0%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
	max-width:100%;
}



ul.mega-sub-menu{
	margin-bottom:10px !important;
}
ul.mega-sub-menu li ul{
	    margin-top: 5px !important;
}


p.site-title{
	display:none;
}
p.site-description{
	font-size: 11px;
    line-height: 110%;
    margin-bottom: 0px;
    margin-top: 1px;
    font-weight: 500;
}
.site-branding{
	display: flex;
    align-items: flex-start;
    flex-direction: column;
}



#services-main-grey {
    max-width: 100%;
    width: 100%;
    background-color: #f3ebde;
	margin:50px 0px 0px;
}
#services-main-white {
    max-width: 100%;
    width: 100%;
    background-color: white;
}
#services-main-grey ul {
    list-style: none;
    padding: 25px 0%;
    /* margin-left: 0px; */
    margin: 0px 0%;
    border-top: 0px solid black;
    border-bottom: 0px solid black;
    margin-left: 0px;
    padding-left: 0px;
    /* text-align: center; */
}
#services-main-grey  ul li {
    margin:0px auto;
    font-size: 22px;
    max-width:100%;
    border-bottom: 2px solid var(--ink);
	padding: 25px 0px;
	/*padding-left:15px;*/

}
#services-main-grey  ul li strong{
	display:flex;
}
#services-main-grey  ul li strong:before{
   content:" ▪ ";
	padding:0px 10px 0px 5px;


}
#services-main-grey  ul li:firsti-child {
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);

}
#services-main-grey .entry-content-inside {
   
    padding: 0px 5%;
   
}
/* Entry-Header
	 ========================================================================== */

.page-template-page-no-image header.entry-header {
    background-color: transparent;
	height:200px;   
	align-items: flex-end;
    justify-content: flex-start;
	padding:20px 5%;
	max-width:1100px;
}

header.entry-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0px auto 15px;
}
.home header.entry-header {
  
	background-image: none;
	

}
.meta-text {
    position: absolute;
    margin: 0 auto;
    padding: 0px 10%;
    width: 100%;
    max-width: 1500px;
    color:var(--hero-text);
	z-index:1;
}
.meta-text h1{
	margin-bottom:20px;
}
.meta-text p {
    margin-top: 10px;
    margin-bottom: 35px;
    /* font-size: 18px; */
    line-height: 120%;
    font-weight: 700;
    font-size: 25px;
}
.hero {
    border-radius:0px;
   	width:96%;
    transition: margin 0.3s ease, border-radius 0.3s ease, width 0.3s ease;
	margin:0px 2%;
	overflow:hidden;
	  height: 600px;
}
.hero.is-scrolled {
    margin: 0px 0px;
    border-radius: 0px;
	width:100%;
	transition: margin 0.3s ease, border-radius 0.3s ease, width 0.3s ease;
}

.page-template-default .post-thumbnail img {
   opacity:0.5;
	margin-bottom:-6px;
}
.post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 600px;
	/*mix-blend-mode: luminosity;
    filter: grayscale(1) contrast(3.5);*/
    opacity: 0.75;
    object-position: left;
}
.post-thumbnail{
	width:100%;
	background-position: right; /* Center the image */
  	background-repeat: no-repeat; /* Do not repeat the image */
	background: var(--accent-yellow);
	display:flex;
	
	padding:0px 0px;
}
.video-wrapper {
      width: 100%;
      height: 600px;
      position: relative;
      overflow: hidden;
	max-width: 100%;

    }
  

    .hero-video {
		position: absolute;
		opacity:0;
		right:0px;
      width: 100%;
      height: 600px;
      object-fit: cover;
      display: block;
     max-width: 100%;
		float: right;
    filter: grayscale(0);
		 transition: opacity 2s ease-in-out;  /* fade-efekt */
    }

.hero-video.active {
  opacity: 0.5;
}
/*---------sticky-cta-------*/

.axera-sticky-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.axera-sticky-cta__link {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 25px 10px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    font-size: 19px;
    letter-spacing: 1px;
	 text-transform: uppercase;
	font-weight:600;
}

.axera-sticky-cta.hidden {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
}

.axera-sticky-cta.hide-footer {
    opacity: 0;
    pointer-events: none;
}
/* Grid
	 ========================================================================== */

.axera-projects {
    padding: 80px 0;
}

.axera-projects .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.axera-projects__head {
    margin-bottom: 36px;
}

.axera-projects__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 70px;
    grid-auto-flow: dense;
    gap: 10px;
}

.axera-project-card {
    position: relative;
    display: block;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    color: #fff;
    isolation: isolate;
}

/* Esimene suur */
.axera-project-card:nth-child(1) {
    grid-column: span 7;
    grid-row: span 8;
}

/* Kõrge kitsam */
.axera-project-card:nth-child(2) {
    grid-column: span 5;
    grid-row: span 5;
}

/* Keskmine */
.axera-project-card:nth-child(3) {
    grid-column: span 5;
    grid-row: span 6;
}

/* Vertikaalsem */
.axera-project-card:nth-child(4) {
    grid-column: span 4;
    grid-row: span 6;
}

/* Väike */
.axera-project-card:nth-child(5) {
    grid-column: span 3;
    grid-row: span 3;
}

/* Lai madalam */
.axera-project-card:nth-child(6) {
    grid-column: span 8;
    grid-row: span 3;
}

/* Suurem */
.axera-project-card:nth-child(7) {
    grid-column: span 6;
    grid-row: span 4;
}

/* Väiksem */
.axera-project-card:nth-child(8) {
    grid-column: span 6;
    grid-row: span 4;
}

/* Keskmine */
.axera-project-card:nth-child(9) {
    grid-column: span 3;
    grid-row: span 3;
}

/* Keskmine */
.axera-project-card:nth-child(10) {
    grid-column: span 6;
    grid-row: span 3;
}

.axera-project-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.axera-project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.axera-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,.10) 100%);
    z-index: 1;
}

.axera-project-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px;
}

.axera-project-card__title {
    margin: 0 0 10px;
    font-size: clamp(24px, 2vw, 42px);
    line-height: 1.02;
    font-weight: 700;
    color: #fff;
}

.axera-project-card:not(:nth-child(1)) .axera-project-card__title {
    font-size: clamp(22px, 1.8vw, 34px);
}

.axera-project-card__text {
    font-size: 17px;
    line-height: 1.45;
    color: rgba(255,255,255,.92);
    max-width: 90%;
}

.axera-project-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    /* background: rgba(0,0,0,.12);
   backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);*/
    transition: transform .25s ease;
}

.axera-project-card__label {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.axera-project-card__arrow {
    font-size: 18px;
    line-height: 1;
}

.axera-project-card__marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 10px;
}

.axera-project-card.has-link:hover img {
    transform: scale(1.06);
}

.axera-project-card.has-link:hover .axera-project-card__cta {
    transform: translateX(3px);
}

.axera-project-card.no-image {
    background: #f3ebde;
}

.axera-project-card.no-image .axera-project-card__overlay {
    background: #f3ebde;
}

.axera-project-card.no-image .axera-project-card__title,
.axera-project-card.no-image .axera-project-card__text,
.axera-project-card.no-image .axera-project-card__label,
.axera-project-card.no-image .axera-project-card__arrow {
    color: #000;
}

.axera-project-card.no-image .axera-project-card__cta {
    background: transparent;
}

.axera-project-card.no-image .axera-project-card__marker {
    background: #000;
}



/* Sections
	 ========================================================================== */
html,
body{
  background:#fff !important;
}

main,
.site-content,
.content-area,
.entry-content{
  overflow:visible;
}

.hero,
.site-hero,
#hero{
  position:relative;
  z-index:1;
}

:root{
  --stack-top:20px;
  --stack-gap:0px;
  --card-bg:#fff;
  --ink:#111;
  --shadow:0 -14px 34px rgba(0,0,0,.08);
}

#teenused{
  position:-webkit-sticky;
  position:sticky;
  top:16px;
  z-index:10;
  margin-top:-80px;
  padding:20px 2% 30px;
  max-width:100%;
  background:var(--card-bg);
  box-shadow:var(--shadow);
}

#teenused .services-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:clamp(10px,2vw,18px);
  padding:0 clamp(16px,4vw,64px);
  max-width:1400px;
  margin:0 auto;
}

#teenused .service{
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:clamp(18px,2.2vw,28px);
  text-decoration:none;
  color:var(--ink);
  background:transparent;
  border-radius:18px;
  transition:transform .22s ease, background-color .22s ease;
}

#teenused .service::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  border:0 solid var(--ink);
  transform:translate(8px,8px);
  opacity:.12;
  pointer-events:none;
}

#teenused .service:hover{
  transform:translate(-4px,-4px);
  background:rgba(255,255,255,.22);
}

#teenused .service-meta{
  width:100%;
}

#teenused .service-title{
  --service-color:var(--ink);
  --service-stroke:2px;

  margin:0 0 .35em;
  display:inline-block;
  font-size:clamp(34px,4vw,62px);
  letter-spacing:-0.02em;
  line-height:1.35;

  color:transparent;
  -webkit-text-stroke-width:var(--service-stroke);
  -webkit-text-stroke-color:var(--service-color);
  -webkit-text-fill-color:transparent;

  background-image:linear-gradient(var(--service-color), var(--service-color));
  background-repeat:no-repeat;
  background-size:0% 140%;
  background-position:0 60%;
  -webkit-background-clip:text;
  background-clip:text;

  transition:background-size .45s cubic-bezier(.2,.8,.2,1);
}

#teenused .service:hover .service-title{
  background-size:100% 140%;
}

#teenused .service-meta p{
  margin:0;
  font-size:clamp(14px,1.15vw,18px);
  line-height:1.35;
  color:rgba(0,0,0,.88);
}

#teenused .service-meta p::after{
  content:" »";
  opacity:.9;
  font-size:200%;
  display:flex;
}



.ax-accordion{
  padding:clamp(28px,5vw,70px) clamp(16px,4vw,64px);
  background:transparent;
  color:var(--ink);
}

.ax-acc{
  max-width:1100px;
  margin:0 auto;
  border-top:2px solid var(--ink);
}

.ax-item{
  border-bottom:2px solid var(--ink);
}

.ax-q{
  width:100%;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  padding:clamp(16px,2.2vw,26px) 0;
  background:none;
  border:0;
  cursor:pointer;
  text-align:left;
  color:inherit;
}

.ax-qtext{
  font-size:clamp(22px,2.6vw,33px);
  line-height:1.05;
  letter-spacing:-0.02em;
  font-weight:800;
}

.ax-icon{
  width:22px;
  height:22px;
  position:relative;
  flex:0 0 auto;
  opacity:.9;
}

.ax-icon::before,
.ax-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:18px;
  height:3px;
  background:currentColor;
  transform:translate(-50%,-50%);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}

.ax-icon::after{
  transform:translate(-50%,-50%) rotate(90deg);
}

.ax-a{
  overflow:hidden;
  height:0;
  transition:height .45s cubic-bezier(.2,.8,.2,1);
}

.ax-a-inner{
  padding:0 0 clamp(18px,2vw,26px) 0;
  font-size:clamp(14px,1.15vw,18px);
  line-height:1.45;
  color:rgba(0,0,0,.82);
  max-width:70ch;
}

.ax-item.is-open .ax-icon::after{
  opacity:0;
}

.ax-q:focus-visible{
  outline:3px solid rgba(0,0,0,.28);
  outline-offset:6px;
  border-radius:10px;
}
#experience{
	background: var(--accent-yellow);
}
.experience-image img{
    filter: contrast(1.5);
    border-radius: 50%;
    background-color: #ffffff;
}
.experience-image{
	max-width:100px;
}
@media (hover:none) and (pointer:coarse){
  #teenused .service{
    transform:none !important;
    background:transparent;
  }

  #teenused .service-title{
    color:var(--ink);
    -webkit-text-stroke-width:0;
    -webkit-text-fill-color:initial;
    background:none;
  }
}



:root{
  --stack-top: 0px;
  --stack-gap: 0px;
}
.stack-3{
	box-shadow:none !important;
}
.stack{
  position: relative;
  background: var(--card-bg);
  border-radius: 0;
  box-shadow: var(--shadow);
  will-change: transform;
}

.stack + .stack{
  position: -webkit-sticky;
  position: sticky;
  top: var(--stack-top);
  margin-top: var(--stack-gap);
  scroll-margin-top: calc(var(--stack-top) + 8px);
}

.stack-1{ z-index: 1; }
.stack-2{ z-index: 2; }
.stack-3{ z-index: 3; }
.stack-4{ z-index: 4; }
.stack-5{ z-index: 5; }


@media (hover: hover) and (pointer: fine){
  #about.stack{
    position: relative;
    top: auto;
    margin-top: 0;
    z-index: 2;
    overflow: visible;
    max-height: none;
  }
}


html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}


@media (hover: none) and (pointer: coarse){

  .stack + .stack{
    position: relative;
    top: auto;
    margin-top: 0;
  }

  #about.stack{
    position: relative;
    top: auto;
    margin-top: 0;
    z-index: 2;

    max-height: none;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
  }

  #about .entry-content-inside{
    padding-bottom: 40px;
  }
}

#map .entry-content-inside {
    max-width: 1200px;
   
}
/* =========================
   MAP – base
   ========================= */

#map .map-stage{
  position: relative;
  width: 100%;
}

#map .map-stage img{
  width: 100%;
  height: auto;
  display: block;
}

#map .map-points{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* =========================
   MAP POINT – core
   ========================= */

#map .map-point{
  position: absolute;
  left: var(--x);
  top: var(--y);

  --s: 0.9;
  transform: translate(-50%, -50%) scale(var(--s));

  pointer-events: none;
  animation: floaty 6s ease-in-out infinite;
}

#map .map-point:nth-child(2){ animation-delay: -2s; }
#map .map-point:nth-child(3){ animation-delay: -4s; }

/* =========================
   Z-INDEX (väikesed peal)
   ========================= */

#map .map-point.is-lg{ z-index: 2; --s: .92; }
#map .map-point.is-md{ z-index: 3; --s: .88; }
#map .map-point.is-sm{ z-index: 4; --s: .84; }

/* =========================
   PULSE WAVES
   ========================= */

#map .map-point__pulse, #map .map-point__pulse::after {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 999px;
    background: rgb(255 251 241);
    animation: pulseWave 2.8s ease-out infinite;
}

#map .map-point__pulse::after{
  animation-delay: 1.4s;
}

/* =========================
   BUBBLE (padding + tight spacing)
   ========================= */

#map .map-point__bubble {
    position: relative;
    background: #fffbf1;
    color: #0b0b0b;
    border-radius: 999px;
    width: 240px;
    height: 240px;
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
    animation: bubbleBreath 3.6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px;
    text-align: center;
    font-weight: 900;
}

/* =========================
   TYPOGRAPHY (tight)
   ========================= */

#map .map-point__title,
#map .map-point__number,
#map .map-point__suffix{
  margin: 0;
}

#map .map-point__title{
  font-size: 30px;
	margin-bottom:5px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

#map .map-point__number{
  font-size: 72px;
  letter-spacing: -0.03em;
  line-height: .95;
}

#map .map-point__suffix{
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: -2px; /* tõmba natuke numbrile lähemale */
}

/* =========================
   SIZE MODIFIERS
   ========================= */

#map .map-point.is-md .map-point__bubble{
  width: 170px;
  height: 170px;
  padding: 12px;
  gap: 5px;
}
#map .map-point.is-md .map-point__number{ font-size: 46px; }
#map .map-point.is-md .map-point__title{ font-size: 25px; margin-bottom:5px; }
#map .map-point.is-md .map-point__suffix{ font-size: 14px; }

#map .map-point.is-sm .map-point__bubble{
  width: 120px;
  height: 120px;
  padding: 10px;
  gap: 4px;
}
#map .map-point.is-sm .map-point__number{ font-size: 34px; }
#map .map-point.is-sm .map-point__title{ font-size: 20px;margin-bottom:5px; }
#map .map-point.is-sm .map-point__suffix{ font-size: 12px; }

#map{
  --s-lg: .92;
  --s-md: .88;
  --s-sm: .84;
}

/* ära kasuta enam --s klasside sees; kasutame eraldi scale muutujat */
#map .map-point.is-lg{ --s: var(--s-lg); }
#map .map-point.is-md{ --s: var(--s-md); }
#map .map-point.is-sm{ --s: var(--s-sm); }

/* skaleerimine + floaty peab kasutama --s */
#map .map-point{
  transform: translate(-50%, -50%) scale(var(--s, 1));
}

@keyframes floaty{
  0%{ transform: translate(-50%, -50%) scale(var(--s, 1)) translateY(0); }
  50%{ transform: translate(-50%, -50%) scale(var(--s, 1)) translateY(-6px); }
  100%{ transform: translate(-50%, -50%) scale(var(--s, 1)) translateY(0); }
}
/* =========================
   ANIMATIONS
   ========================= */

@keyframes pulseWave{
  0%{ transform: scale(.75); opacity: .55; }
  70%{ transform: scale(1.25); opacity: 0; }
  100%{ transform: scale(1.25); opacity: 0; }
}

@keyframes bubbleBreath{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.045); }
  100%{ transform: scale(1); }
}

@keyframes floaty{
  0%{ transform: translate(-50%, -50%) scale(var(--s)) translateY(0); }
  50%{ transform: translate(-50%, -50%) scale(var(--s)) translateY(-6px); }
  100%{ transform: translate(-50%, -50%) scale(var(--s)) translateY(0); }
}

/* =========================
   ACCESSIBILITY
   ========================= */

@media (prefers-reduced-motion: reduce){
  #map .map-point,
  #map .map-point__bubble,
  #map .map-point__pulse,
  #map .map-point__pulse::after{
    animation: none !important;
  }
}
/* tööriistaklast */
.entry-content ul {
    list-style: square;
	/*list-style:none;*/
	padding:25px 0%;
	/*margin-left:0px;*/
	margin:50px 0%;
	border-top:2px solid black;
	border-bottom:2px solid black;
	margin-left:0px;
	padding-left:30px;
}
.entry-content ul ::marker {
   /*color: var(--accent-yellow);*/
}
.entry-content ul li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    animation: none;
    font-size: 17px;
    /*font-weight: 800;*/
    margin: 30px 0px;
    line-height: 120%;
	/*border-bottom:2px solid black;*/
	padding:0px;
	max-width:500px;
}
.single-post .entry-content ul li {
   
	max-width:600px;
}
.entry-content ul li ul li {
    
    font-size: 15px;
    margin: 10px 0px;
   
}
.single-post .entry-content ul li ul {
    
    
    margin: 15px 0px;
   
}
.entry-content ul li::before {
  opacity: 0;
  transform: translateY(-20%) scale(0.6);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.8,.2,1);
  animation: none;
}

.entry-content ul li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.entry-content ul li.is-visible::before {
  opacity: 1;
  transform: translateY(-20%) scale(1);
}


/* blogi leht */
/* Blog
-------------------------------------------- */
span.block-title {
	font-size:25px;
	font-weight:500;
	line-height:90%;
}
span.block-title-mini {
	font-size:12px;
	font-weight:700;
	line-height:90%;
	color:#50a387;
	text-transform:uppercase;

}

#rubriik-kute {
    background-color: #244598;
    padding: 3px 10px;
	order:1;
}
#rubriik-vesi {
    background-color: #1a347a;
    padding: 3px 10px;
	order:2;
}
#rubriik-trass {
    background-color: #ddddd8;
    color: #1a347a;
    padding: 3px 10px;
	order:3;
}

.single-post .post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 600px;
    object-position: center;
    max-width: 100%;
}
.single-post .post-category {
    font-size: 19px;
    margin-bottom: 1px;
}
.single-post header.entry-header{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
	position:relative;
}
.single-post .front-page-meta{
	max-width:1000px;
	margin:0 auto;
	padding: 50px 5%;
	width:100%;
	
}
.single-post .post-thumbnail img {
   opacity:1;
}
.single-post .meta-text {
    position: relative;
    margin: 0 auto;
    padding: 0px 5%;
    width: 100%;
    max-width: 900px;
    color: var(--hero-text);
    z-index: 1;
    border-bottom: solid 2px;
    padding-bottom: 20px;
	
}
.single-post .entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0px 5% 50px;
    width: 100%;
}
.single-post header.entry-header {
 

    background-image: none;
    background-position: right;
    background-repeat: no-repeat;
}
/*.object-meta{
	font-size:20px;
}*/
.blog .entry-content{
	padding:200px 4% 50px;
    max-width: 1400px;
 

}
.blog-main-meta p{
	 line-height: 110%;
	font-size:15px;
}
.blog-main-meta {
    width: 100%;
    padding: 30px 2.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
#blog-inside{
	max-width:1400px;
	margin:0 auto;
	width:92%;
}
#blog {
    margin: 0px auto 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 5% 100px;
}
#projektid{
	    background-color: #fcfcfc;
	margin: 50px auto 0px;
	display: flex;
    align-items: center;
	padding-top:50px;
	padding-bottom:50px;
	width:100%;
}
#blog .buttons {
   
    justify-content: center;
}
.products-in-post{
	margin-top:50px;
}
.post p:last-child:after {
    background-image: linear-gradient(to right, rgb(237, 123, 21), rgb(223, 13, 135), rgb(97, 22, 133));
    height: 2px;
    width: 100px;
    margin-bottom: 20px;
    content: "";
    /*position: absolute;*/
	margin-top:20px;
}
.page-template-default .reference-grid{
	
    margin: 0px 0px 10px;
 
}
.reference-grid{
	 display: flex;
    flex-wrap: wrap;
    margin: 150px 0px 50px;
    gap: 15px 0.5%;
	    justify-content: center;
}
.reference-grid .post {
	display: flex;
   
    width: 24%;
    box-sizing: border-box;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    justify-content: center;
    align-content: center;
    align-items: center;
	       transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
		background: #0b1423f2 !important;
	
	
}
  
.reference-grid .post:hover img{
  	       transition: background 0.3s ease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
	
	
    opacity:0.05;
}



.reference-grid .child-categories {
    position: relative;
  
    gap: 5px;
  
    left: 0px;
}
.reference-grid .post:hover {

    opacity: 0.95;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}
.reference-grid .post-thumbnail img {
   width: 100%;
    height: auto;
	

	
}
#buttons-reference{
	display: flex;
    justify-content: center;
}
.reference-grid .post-thumbnail {
   z-index:2;
margin-bottom:-1px;
	
}
.reference-meta h2{
	font-size:35px;
	line-height:110%;
}
.reference-meta{
	position: absolute;
    z-index: 1;
    /* box-shadow: inset 0px 0px 86px #020a18; */
    transition: background 0.3sease;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    align-content: center;
    align-items: center;
	padding:0px 5%;
}
.post-grid {
   display: flex;
    flex-wrap: wrap;
    margin: 20px auto 20px;
    gap: 5px 1%;
	    /*justify-content: center;*/
	max-width:1500px;
	width:100%;
	
}

.post-grid .post {
    margin-bottom: 0px;
    width: 24.25%;
    box-sizing: border-box;
	    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.post-grid .post:hover {

 
    opacity: 0.95;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}


.post-grid .post-thumbnail {
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    border-radius: 0px;
	background-color:white;
}
.post-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1 !important;
    filter: grayscale(0) contrast(1.5);
}

.post-grid .post h2 a {
    font-size: 20px;
    width: 95%;
    
    /* color: #192c34; */
    margin-bottom: 10px;
    line-height: 98%;
    /* text-transform: uppercase; */
    text-decoration: none;
}
.post-grid .post-thumbnail a {
    
	  width: 100%;
  aspect-ratio: 1.5 / 1;    /* loob ruudu */
  overflow: hidden;
}
.post-grid .post h2 {
    margin-top: 10px;
    line-height: 0%;
    padding: 0 5px;
    margin-bottom: 20px;
}

.post-grid .post p {
    font-size: 16px !important;
	line-height:140% !important;
	text-align:left !important;
	font-weight:400 !important;
	margin-top: 0px !important;;
    margin-bottom: 0px !important;;
}
.post-thumbnail {
    position: relative;
}

.post-categories {
    position: absolute;
    bottom: 5px;
    left: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.post-category {
    text-transform: uppercase;
    color: #000000;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 0px;

    background-color: var(--accent-yellow);
}
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    margin: 0 0 12px;
    font-weight: 600;
}

.reading-time .rt-icon{
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: .9;
}

.reading-time .rt-text{
  white-space: nowrap;
}
#rubriik-terviklahendus{
	background-color:#6ac6e2;
}


.site-footer{
	background-color:black;
	color:white;
	z-index:15 !important;
}
.site-footer ul{
	list-style:none;
	padding-left:0px;
	margin-left:0px;
}
.site-footer .menu {
  	text-align:left;
    align-items: flex-start;
}
#menu-kontakt.menu a{
	font-size:20px;
	font-weight:600;
}
.site-footer img{
	max-width:150px !important;
	width:100%;
}
.site-footer a{
	text-decoration:none;
	color:white;
}
.site-footer a:visited{

	color:white;
}

  .menu-social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:16px; /* kui tahad menüü lõppu */
  }

  .menu-social .icon{
    width: 22px;
    height: 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#6bf868;              /* Sinu roheline */
    opacity:.9;
    transition: transform .15s ease, opacity .15s ease;
  }

  /* SVG võtab värvi "currentColor" kaudu */
  .menu-social svg{
    width:100%;
    height:100%;
    fill: white;
    display:block;
  }

  .menu-social .icon:hover{
    opacity:1;
    transform: translateY(-1px);
  }

  .menu-social .icon:focus-visible{
    outline:2px solid #6bf868;
    outline-offset:4px;
    border-radius:6px;
  }

#footer-top {
    display: flex;
    flex-wrap: wrap;
    margin: 0px auto 20px;
    gap: 5px 1%;
    /* justify-content: center; */
    max-width: 1500px;
    width: 100%;
    padding: 100px 5% 20px;
    align-content: center;
    align-items: center;
}
#footer-sidebar2 h2, #footer-sidebar3 h2{
	font-size: 18px !important;
	margin-top:0px;
}
#footer-sidebar2 a, #footer-sidebar3 a{
	font-size: 14px;
	
}
#footer-sidebar2, #footer-sidebar3{
	width:20%;
	padding:15px 2%;
	min-width:200px;
}
#footer-sidebar1{
	width:25%;
	padding:15px 2%;
	min-width:300px;
}
#footer-bottom {
    display: flex;
    flex-wrap: wrap;
    margin: 0px auto 0px;
    gap: 5px 1%;
    justify-content: space-between;
    max-width: 1500px;
    width: 100%;
    padding: 10px 5% 80px;
    border-top: solid 2px white;
    align-items: center;
}

#footer-bottom ul{
	margin-bottom:0px;
}
#footer-bottom aside{
	margin-bottom:0px;
}
#footer-bottom a{
	font-size:12px;
	
}
#footer-bottom p{
	font-size:13px;
	margin-top:0px;
	margin-bottom:0px;
	padding: 10px 2%;
		min-width:200px;
}
#footer-sidebar5 {
	width:25%;
	padding: 10px 2% 13px;
	min-width:200px;
	
}
#footer-sidebar5 a {
	width:25%;
	min-width:200px;
	
	
}
#footer-sidebar6 {
		padding: 10px 2%
			min-width:200px;
}
/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 800;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

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

html {
	box-sizing: border-box;
}


/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color:var( --accent);
	font-family:"Open Sans", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    font-style: normal;
    line-height: 100%;
	
 
}
h1{
    
    font-size: 66px;
	letter-spacing: -1px;
 
}
.single-post h1{
    
    font-size: 50px;
	letter-spacing: -1px;
 
}
.single-post .entry-content h2{
    margin:0 auto;
    font-size: 30px;
	letter-spacing: -1px;
	max-width:700px;
	margin-top:50px;
 	line-height: 115%;
}
.entry-content h2{
    
    font-size: 45px;
	letter-spacing: -1px;
	max-width:100%;
	margin-top:50px;
 	line-height: 115%;
}
h2{
	font-size:55px;
	line-height: 120%;
}
p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0em;
}
blockquote p{
	font-size:20px;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}
.about-title{
  text-align: center;
  line-height: 1.05;
  margin: 0 0 18px;
}

.scroll-ink{
  --ink-color: #111;
  --ink-stroke: 2px;
  display: inline-block;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke-width: var(--ink-stroke);
  -webkit-text-stroke-color: var(--ink-color);
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(var(--ink-color), var(--ink-color));
  background-repeat: no-repeat;
  background-size: 0% 140%;
  background-position: 0 60%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size .8s cubic-bezier(.2,.8,.2,1);
}

.stack.is-inview .scroll-ink{
  background-size: 100% 140%;
}


/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
	padding-left:0px;
}

.single-post .entry-content ul {

  
    padding: 0px 0%;

    margin: 0px 0%; 
    border-top: 0px solid black; 
    border-bottom: 0px solid black; 
    margin-left: 0px;
    padding-left: 30px;
}

ol {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 0px;
    /*justify-content: center;*/
}

ol li {
    background-color: #f4ebdf;
    padding: 11px 20px;
    font-size: 20px;
    font-weight: 600;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
ul#projekti-list{
	border-top:solid 0px !important;
	margin-top:0px !important;
	padding-top:10px !important;
}
dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color:var( --accent);
	  transition: color 0.25s ease-in-out;
}

a:visited {
	color:var( --accent);
}

a:hover,
a:focus,
a:active {
	color:var(--link-hover);
}

a:focus {
	
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/* Navigation
--------------------------------------------- */

li.second.menu-item a{
	font-size: clamp(30px, 4vw, 60px);
}
li.second.menu-item {
    border-top: solid 2px;
    padding-top: 20px;
    margin-top: 65px;
}

:root{
  --menu-bg: #ffffff;
  --menu-text: #111111;
  --menu-shadow: 0 12px 30px rgba(0,0,0,.12);
}


.no-scroll{ overflow: hidden; }


.menu-toggle {
    top: 0px;
    z-index: 10001;
    height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: 0px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.menu-toggle.open{
	margin-right:6px;
}
.menu-toggle{
	margin-right:0px;
}
.menu-toggle:hover{
  transform: translateY(-1px);
}

.menu-toggle:active{
  transform: translateY(0) scale(.98);
}

.menu-text{
  position: relative;
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.menu-text span{
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  line-height: 1;
  white-space: nowrap;

  transition:
    opacity .25s ease,
    transform .35s cubic-bezier(.4,0,.2,1);
}

.label-open{
  opacity: 1;
  transform: translateY(0);
}

.label-close{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
}

.menu-toggle.open .label-open{
  opacity: 0;
  transform: translateY(-100%);
}

.menu-toggle.open .label-close{
  opacity: 1;
  transform: translateY(0);
}


.menu-icon{
  position: relative;
  width: 26px;
  height: 18px;
  display: block;
}

.menu-icon span{
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              opacity .2s ease;
}

.menu-icon span:nth-child(1){ top: 0; }
.menu-icon span:nth-child(2){ top: 8px; }
.menu-icon span:nth-child(3){ top: 16px; }

.menu-toggle.open .menu-icon span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open .menu-icon span:nth-child(2){
  opacity: 0;
}
.menu-toggle.open .menu-icon span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation{
  position: fixed;
  inset: 0;
  background: var(--menu-bg);
  z-index: 10000;

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

  padding: 72px 24px;
}

.js .main-navigation{
  transform: translateY(-100%);
  transition: transform 450ms cubic-bezier(.2,.8,.2,1);
	 min-height: 100vh;
}

.js .main-navigation.active{
  transform: translateY(0);
	    min-height: 100vh;
}

.main-navigation .menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-navigation .menu a{
  color: var(--menu-text);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(42px, 5vw, 88px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.main-navigation.active .menu a{
  opacity: 1;
  transform: translateY(0);
}
.main-navigation .menu a,
.main-navigation.active .menu a{
  --menu-link-color:var(--ink);

  display:inline-block;
  text-decoration:none;
  line-height:1.35;

  color:transparent;
  -webkit-text-stroke-width:2px;
  -webkit-text-stroke-color:var(--menu-link-color);
  -webkit-text-fill-color:transparent;

  background-image:linear-gradient(var(--menu-link-color), var(--menu-link-color));
  background-repeat:no-repeat;
  background-size:0% 100%;
  background-position:0 100%;
  -webkit-background-clip:text;
  background-clip:text;

  transition:background-size .45s cubic-bezier(.2,.8,.2,1);
}

.main-navigation .menu a:hover,
.main-navigation.active .menu a:hover{
  background-size:100% 100%;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{
  background-size:100% 100%;
}

@supports not (-webkit-background-clip:text){
  .main-navigation .menu a{
    color:var(--ink);
    background:none;
    -webkit-text-stroke-width:0;
    -webkit-text-fill-color:initial;
  }
}

@media (hover:none) and (pointer:coarse){
  .main-navigation .menu a{
    color:var(--ink) !important;
    -webkit-text-stroke-width:0 !important;
    -webkit-text-fill-color:initial !important;
    background:none !important;
  }

  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a{
    color:#e7d8b2  !important;
  }
}


.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}
.entry-content-inside{
	max-width:900px;
		padding:75px 5%;
	margin:0 auto;
}
#map .entry-content-inside{
	padding:110px 5%;
}
.post,
.page {
	margin: 0 0 0em;
}

.updated:not(.published) {
	display: none;
}
#blog{
	background-color:white;
	
}
.page-template-service-page .entry-content.stack{
	box-shadow:0px 0px 0px transparent !important;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 5% 50px;
    width: 100%;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}



/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
/*.alignleft {

	
	float: left;
width:40%;

	margin-right: 0.5em;
	margin-bottom: 1.5em;
}

.alignright {

	
	float: right;
width:40%;

	margin-left: 0.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	width:100%
}*/
/* =========================
   PREMIUM PHOTO CARD EFFECT (sobib clean lehele)
   ========================= */

/* 1) Layout: hoiab sinu 40% loogikat, töötab ka kui klass on img-l */
.alignleft, img.alignleft{
  float:left; width:40%;
  margin: 0 1.8em 1.8em 0;
	clip-path: polygon(0 0, /* vasak ülemine */ 100% 0, /* parem ülemine */ 100% calc(100% - 30px), /* paremalt üles 40px */ calc(100% - 30px) 100%, /* paremale sisse 40px allservas */ 0 100% /* vasak alumine */);
	    filter: brightness(0.97);
}
.alignright, img.alignright{
  float:right; width:40%;
  margin: 0 0 1.8em 1.8em;
	clip-path: polygon(
  0 0,                 /* vasak ülemine */
  100% 0,              /* parem ülemine */
  100% 100%,           /* parem alumine */
  30px 100%,           /* vasakult sisse 30px allservas */
  0 calc(100% - 30px)  /* vasakult üles 30px */
		  
);  filter: brightness(0.98);
}
.aligncenter, img.aligncenter{
  clear:both; display:block; width:100%;
  margin: 0 auto 2.2em auto;
	border-radius:0px;
	filter: brightness(0.98);
	background-color:grey;
}

/* 2) Targets: pildid igas levinud WP struktuuris */
:where(
  img.alignleft, img.alignright, img.aligncenter,
  .alignleft img, .alignright img, .aligncenter img,
  .wp-block-image img,
  .wp-block-media-text__media img
){
  display:block;
  width:100%;
  height:auto;

  /* “clean premium” */
  border-radius: 0px;


  /* õrn klaasäär + detail */
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.02);

  /* pildi toon natuke “crisp” */
  filter: saturate(1.03) contrast(1.03);

  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

/* 3) Hover: väga maitsekas lift (sobib kinnisvara/äri vibe’iga) */
:where(
  img.alignleft, img.alignright, img.aligncenter,
  .alignleft img, .alignright img, .aligncenter img,
  .wp-block-image img,
  .wp-block-media-text__media img
):hover{
  transform: translateY(-7px) scale(1.015);
  box-shadow:
   
  filter: saturate(1.06) contrast(1.05);
}


/* 4) Vasak/parem: mikro-rotate (väga väike, aga “elus”) */
@media (min-width: 900px){
  :where(img.alignleft, .alignleft img):hover{ transform: translateY(-7px) rotate(-0.25deg) scale(1.015); }
  :where(img.alignright, .alignright img):hover{ transform: translateY(-7px) rotate(0.25deg) scale(1.015); }
}

/* 5) Center/hero pilt: natuke tugevam, “cover image” tunne */
@media (min-width: 900px){
  :where(img.aligncenter, .aligncenter img, .wp-block-image.alignwide img){
    
  }
}

/* 6) Mobiil: kõik 100% */
@media (max-width: 767px){
  .alignleft, img.alignleft,
  .alignright, img.alignright{
    float:none; width:100%;
    margin: 0 0 1.6em 0;
  }
}
/* 7) Ligipääsetavus */
@media (prefers-reduced-motion: reduce){
  :where(
    img.alignleft, img.alignright, img.aligncenter,
    .alignleft img, .alignright img, .aligncenter img,
    .wp-block-image img,
    .wp-block-media-text__media img
  ){
    transition:none;
  }
  :where(
    img.alignleft, img.alignright, img.aligncenter,
    .alignleft img, .alignright img, .aligncenter img,
    .wp-block-image img,
    .wp-block-media-text__media img
  ):hover{
    transform:none;
  }
}
@media (max-width: 1500px) {
.video-wrapper {
   	height: 500px;
    }
.hero-video {
    height: 500px; 
    }
.hero {  
	  height: 500px;
}

.post-thumbnail img {  
    height: 500px; 
}
}
@media (max-width: 1199px){
  #map .map-point.is-lg{ --s: .85; }
  #map .map-point.is-md{ --s: .8; }
  #map .map-point.is-sm{ --s: .75; }
}
 #map{ --s-lg: .85; --s-md: .80; --s-sm: .75; 
	}
}
@media (max-width:1024px){
  #teenused .services-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
.axera-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .axera-project-card,
    .axera-project-card.is-featured {
        grid-column: span 1;
    }

    .axera-project-card.is-featured {
        min-height: 520px;
    }
}
@media (max-width: 991px) {

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: 0.6s cubic-bezier(.77,0,.18,1);
    }

    .main-navigation.active {
        transform: translateY(0);
    }

    .menu {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .menu a {
        font-size: 24px;
        color: #fff;
        text-decoration: none;
        transition: 0.3s ease;
    }

    .menu a:hover {
        opacity: 0.7;
    }

    /* Dropdown */
    .menu li ul {
        position: static;
        background: none;
        padding: 10px 0 0 0;
        opacity: 1;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .menu li.open > ul {
        max-height: 500px;
    }

    .menu li ul a {
        font-size: 18px;
        opacity: 0.8;
    }
}
@media (max-width: 899px){
	.single-post .post-thumbnail img {
    
    height: 400px;
  
}
	.single-post .hero {
    height: 400px;
}
	
	.post-grid .post {
   width: 49.5%;

}
	 #map{ --s-lg: .78; --s-md: .74; --s-sm: .70; }


  #map .map-point.is-lg .map-point__bubble{
    width: 180px;
    height: 180px;
  }

  #map .map-point.is-md .map-point__bubble{
    width: 135px;
    height: 135px;
  }

  #map .map-point.is-sm .map-point__bubble{
    width: 100px;
    height: 100px;
  }



  #map .map-point__title{
    font-size: 25px;
  }

  #map .map-point__suffix{
    font-size: 12px;
  }
}

@media (max-width: 768px) {
	#services-main-grey .entry-content-inside {
   
    padding: 0px 0%;
   
}
	ol li {
    text-align:center;
    font-size: 18px;
   
}
	.site-footer img {
    display:none;
}
	.post-category {
       font-size: 12px;
		padding: 6px 10px;
}
	h1{
		font-size:50px;
	}
	.single-post h1 {
    font-size: 40px;
}
	.post-grid .post h2 a {
    font-size: 18px;
}
	.single-post .entry-content h2{
    
    font-size: 25px;
	
 
}
	.axera-sticky-cta__link {
    
    padding: 25px 10px 25px 35px;
   
}
	h2 {
    font-size: 45px;
}
	 .axera-projects {
        padding: 56px 0;
    }

    .axera-projects .container {
        padding: 0 16px;
    }

    .axera-projects__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 14px;
    }

    .axera-project-card,
    .axera-project-card:nth-child(1),
    .axera-project-card:nth-child(2),
    .axera-project-card:nth-child(3),
    .axera-project-card:nth-child(4),
    .axera-project-card:nth-child(5),
    .axera-project-card:nth-child(6),
    .axera-project-card:nth-child(7),
    .axera-project-card:nth-child(8),
    .axera-project-card:nth-child(9),
    .axera-project-card:nth-child(10) {
        grid-column: span 1;
        grid-row: auto;
        min-height: 320px;
    }

    .axera-project-card__media {
        position: absolute;
        inset: 0;
    }

    .axera-project-card__content {
        padding: 20px;
    }

    .axera-project-card__title {
        font-size: 28px;
    }

    .axera-project-card__text {
        font-size: 15px;
        max-width: 100%;
    }

    .axera-project-card__cta {
        margin-top: 18px;
        padding: 10px 0;
    }
}


@media (max-width:640px){
  #teenused .services-grid{
    grid-template-columns:1fr;
  }

  #teenused .service{
    min-height:150px;
    border-radius:14px;
  }

  #teenused .service::after{
    border-radius:14px;
    transform:translate(6px,6px);
  }
 
    :root{ --row-h:45px;
		--font:35px; 
	}
  }
@media (max-width: 599px){
	.meta-text p br{
   display:none;
}

  #map .map-point{
    --s: .7;
  }

  #map .map-point.is-lg .map-point__bubble{
    width: 150px;
    height: 150px;
  }

  #map .map-point.is-md .map-point__bubble{
    width: 115px;
    height: 115px;
  }

  #map .map-point.is-sm .map-point__bubble{
    width: 90px;
    height: 90px;
  }

  #map .map-point__number{
    font-size: 50px;
  }

  #map .map-point__title{
    font-size: 22px;
  }
	#map .map-point.is-md .map-point__title {
    font-size: 19px;
    margin-bottom: 5px;
}
	#map .map-point.is-md .map-point__suffix {
    font-size: 11px;
}
#map .map-point.is-sm .map-point__title {
    font-size: 16px;
    margin-bottom: 5px;
}
		#map .map-point.is-sm .map-point__suffix {
    font-size: 9px;
}
  #map .map-point__suffix{
    font-size: 11px;
  }

  /* vähem pulssi mobiilis */
  #map .map-point__pulse,
  #map .map-point__pulse::after{
    inset: -8px;
  }
	#map .entry-content-inside {
    padding:100px 0%;
}
	#map{ --s-lg: .70; --s-md: .66; --s-sm: .62; }
}


@media (max-width: 500px) {
	#services-main-white-inside {
    
    padding: 50px 0%;
  
}
		ol li {
  
    font-size: 16px;
   
}

	h1{
		font-size:40px;
		
	}
		.single-post h1 {
    font-size: 35px;
}
	.single-post .entry-content h2 {
    font-size: 23px;
}
		.post-grid .post h2 a {
    font-size: 16px;
}
		h2 {
    font-size: 40px !important;
}
	.post-grid .post {
    width: 100%;
}

}