/*
Theme Name: Riviera Kundalini Yoga
Theme URI: https://www.kundaliniawakeningriviera.com
Description: Child theme for the Assembler Theme
Author: Balraj Jutla
Author URI: https://bsjdesign.com
Template: assembler-wpcom
Version: 1.0.1 /
*/

/* @import url("https://p.typekit.net/p.css?s=1&k=egd7ikc&ht=tk&f=57286.58259&a=4027190&app=typekit&e=css"); */

@font-face {
  font-family: "r41-alfabeta-16";
  src: url("https://use.typekit.net/af/6a7e88/00000000000000007755a5e1/30/l?primer=3620e75016187cc37b658d13f507cd973dd179931de5ef023ed368407440fdcf&fvd=n4&v=3")
      format("woff2"),
    url("https://use.typekit.net/af/6a7e88/00000000000000007755a5e1/30/d?primer=3620e75016187cc37b658d13f507cd973dd179931de5ef023ed368407440fdcf&fvd=n4&v=3")
      format("woff"),
    url("https://use.typekit.net/af/6a7e88/00000000000000007755a5e1/30/a?primer=3620e75016187cc37b658d13f507cd973dd179931de5ef023ed368407440fdcf&fvd=n4&v=3")
      format("opentype");
  font-display: auto;
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
}

@font-face {
  font-family: "drummond-variable";
  src: url("https://use.typekit.net/af/77c248/000000000000000077572525/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3")
      format("woff2"),
    url("https://use.typekit.net/af/77c248/000000000000000077572525/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3")
      format("woff"),
    url("https://use.typekit.net/af/77c248/000000000000000077572525/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3")
      format("opentype");
  font-display: auto;
  font-style: normal;
  font-weight: 300 700;
  font-stretch: normal;
}

.tk-r41-alfabeta-16 {
  font-family: "r41-alfabeta-16", sans-serif;
}
.tk-drummond-variable {
  font-family: "drummond-variable", sans-serif;
}

@media screen and (max-width: 600px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: left !important;
  }
}

.kar-cover-title {
  width: 700px;
  align-self: flex-start;
  line-height: 1.2;
}

@media screen and (max-width: 600px) {
  .kar-cover-title {
    width: 100%;
  }
}

h1.kar-cover-title {
  font-family: r41-alfabeta-16, sans-serif;
}

.kar-masonry {
  /* Remove grid properties */
  margin: 0 auto; /* center the container */
}

.kar-masonry-item {
  /* Let the item size be fluid */
  width: calc(33.333% - 30px); /* 3 columns */
  margin-bottom: 30px; /* vertical spacing between items */
  opacity: 0;
}

.kar-masonry-item__card {
  position: relative;
}

.kar-masonry-item:hover .kar-masonry-item__media img {
  filter: none;
}

.kar-masonry-item__media img {
  transition: filter 2s;
}

.kar-masonry-item__media {
  order: -1;
}

.kar-masonry-item__title {
  position: absolute;
  min-height: 70px;
  bottom: 150px;
  align-content: center;
  left: -10px;
  color: var(--wp--preset--color--kundalini-white);
  background-color: var(--wp--preset--color--kundalini-lighter-olive);
  padding: 10px 20px;
  box-shadow: 5px 5px 0px rgb(255, 255, 255);
  text-transform: uppercase;
  width: 250px;
  font-size: 1.2em;
}

.kar-masonry-item__date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: var(--wp--preset--color--kundalini-white);
  color: var(--wp--preset--color--kundalini-lighter-olive);
  padding: 5px 10px;
  font-size: 0.8em;
  text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
  .kar-masonry-item {
    width: calc(50% - 30px); /* 2 columns */
  }
}
@media screen and (max-width: 600px) {
  .kar-masonry-item {
    width: 100%; /* 1 column */
  }
}

/**
* Utility classes
*/

.kar-margin-vertical-0 {
  margin-top: 0px;
  margin-bottom: 0px;
}

/**
* Custom classes
*/

@media screen and (max-width: 600px) {
  .kar-contact-button {
    order: -1;
  }
}
