/*
Theme Name: Cow for Cambodia
Author: ThreeAM Web + IT
Author URI: https://threeam.com.au
Description: Custom Theme by ThreeAM Web + IT
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap');

@font-face {
  font-family: 'Watterbite';
  src: url('assets/fonts/Watterbite.woff2') format('woff2'),
       url('assets/fonts/Watterbite.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


:root {
  --tateru-color-secondary: #305db1;
  --tateru-color-primary: #3498db;
  --tateru-color-offwhite: #EAEAEA;
  --tateru-color-white: #ffffff;
  --tateru-color-grey: #B2B2B2;
  --tateru-color-black: #000000;

  --tateru-default-padding: 40px;

  --tateru-primary-font: 'Inter', sans-serif;
  --tateru-heading-font: "Watterbite", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  padding-top: 120px;
  margin: 0;
  background-color: #fff;
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: var(--tateru-color-black);
  font-family: var(--tateru-primary-font);
}

body.disable-scroll {
  height: 100dvh;
  overflow: hidden
}

table {
  text-align: left;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

@media only screen and (max-width:480px){
  .single .alignright,
  .single .alignleft {
    float:none;
  }
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

a {
  color: var(--tateru-color-primary);
}

a:hover {
  color: var(--tateru-color-secondary);
  text-decoration: none;
}

a img:hover {
  opacity: 0.6;
}

.hidden-positioned-anchor {
  position: absolute;
  top: -115px;
  height: calc(100% + 115px);
  width: 100%;
  pointer-events: none;
  opacity: 0;
  filter: opacity(0);
  visibility: hidden;
}

@media screen and (max-width: 1200px) {
  .hidden-positioned-anchor {
    top: -91px;
    height: calc(100% + 91px);
  }
}

.entry-header {
  height: 500px;
}

.wrapper {
  max-width: 1500px;
  margin: 0 auto;
}

@media screen and (max-width: 1900px) {
  .wrapper {
    max-width: 1300px;
  }
}

@media screen and (max-width: 1600px) {
  .wrapper {
    max-width: 1100px;
  }
}

@media screen and (max-width: 1400px) {
  :root {
    --tateru-default-padding: 30px;
  }

  .wrapper {
    max-width: 100%;
    padding: 0 var(--tateru-default-padding);
  }
}


.padding-smaller-top {
  padding-top: calc(var(--tateru-default-padding) / 2);
}

.padding-smaller-bottom {
  padding-bottom: calc(var(--tateru-default-padding) / 2);
}

.padding-default-top {
  padding-top: var(--tateru-default-padding);
}

.padding-default-bottom {
  padding-bottom: var(--tateru-default-padding);
}

.padding-larger-top {
  padding-top: calc(var(--tateru-default-padding) * 2);
}

.padding-larger-bottom {
  padding-bottom: calc(var(--tateru-default-padding) * 2);
}

h1, .h1-style {
  font-family: var(--tateru-heading-font);
  margin: 0;
  letter-spacing: 1px;
  line-height: 1;
}

h1 .highlight, .h1-style .highlight {
  line-height: 1;
}

h2, .h2-style {
  font-family: var(--tateru-heading-font);
  font-size: 50px;
  line-height: 60px;
  letter-spacing: -1px;
}

h2 .highlight, .h2-style .highlight {
  line-height: 50px;
}

h3, .h3-style {
  font-family: var(--tateru-heading-font);
  font-size: 35px;
  line-height: 42px;
}

h3 .highlight, .h3-style .highlight {
  line-height: 35px;
}

h4, .h4-style {
  font-family: var(--tateru-heading-font);
  font-size: 33px;
  line-height: 1;
  letter-spacing: -1px;
}

h4 .highlight, .h4-style .highlight {
  line-height: 33px;
}

h5, .h5-style {
  font-size: 20px;
  font-weight: 700;
}

h5 .highlight, .h5-style .highlight {
  line-height: 20px;
}

h6, .h6-style {
  font-size: 16px;
  font-weight: 400;
}

h6 .highlight, .h6-style .highlight {
  line-height: 16px;
}

.highlighted-text i {
  font-style: normal;
  position: relative;
  z-index: 1;
}

.highlighted-text.highlighted .highlight {
  color: var(--tateru-color-white);
}

.highlighted-text .highlight {
  display: inline-block;
}

.highlighted-text span {
  position: relative;
}

.highlighted-text svg {
  position: absolute;
  left: -7.5%;
  right: -7.5%;
  top: -9%;
  bottom: 0;
  width: calc(100% + 15%);
  height: 120%;
}

.underlined svg {
  left: 0;
  right: 0;
  top: auto;
  bottom: -15%;
  width: 100%;
  height: auto;
}

.highlighted-text.highlight-brown .highlight-svg {
  stroke: var(--tateru-color-secondary);
}

.highlighted-text.highlight-brown .underline-svg {
  fill: var(--tateru-color-secondary);
}

.highlighted-text.highlight-black .highlight-svg {
  stroke: var(--tateru-color-black);
}

.highlighted-text.highlight-black .underline-svg {
  fill: var(--tateru-color-black);
}


@media screen and (max-width: 1000px) {
  body {
    padding-top: 80px;
  }

  h2, .h2-style {
    font-size: 25px;
    line-height: 30px;
  }

  h2 .highlight, .h2-style .highlight {
    line-height: 30px;
  }

  h3, .h3-style {
    font-size: 20px;
  }

  h4, .h4-style {
    font-size: 20px;
  }

  h5, .h5-style {
    font-size: 18px;
    font-weight: 700;
  }

  h6, .h6-style {
    font-size: 16px;
    font-weight: 400;
  }

  .highlighted-text.highlighted svg {
    top: -10%;
  }
}

p {
  margin: 0;
}

.content,
.mce-content-body {
  word-wrap: break-word;
}

.content p {
  margin-bottom: 20px;
}

.button {
  min-height: var(--tateru-default-padding);
  text-align: center;
  width: auto;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18.8px;
  font-weight: 600;
  padding: 3px 30px;
  cursor: pointer;
}


.button-color-black {
  background: var(--tateru-color-black);
  color: var(--tateru-color-white);
  border: 2px solid var(--tateru-color-black);
}

.button-color-black:hover {
  background: var(--tateru-color-white);
  color: var(--tateru-color-black);
}

.button-color-orange {
  background: var(--tateru-color-primary);
  color: var(--tateru-color-white);
  border: 2px solid var(--tateru-color-primary);
}

.button-color-orange:hover {
  background: var(--tateru-color-white);
  color: var(--tateru-color-primary);
}

.button-color-brown {
  background: var(--tateru-color-secondary);
  color: var(--tateru-color-white);
  border: 2px solid var(--tateru-color-secondary);
}

.button-color-brown:hover {
  background: var(--tateru-color-white);
  color: var(--tateru-color-secondary);
}

.button[disabled] {
  pointer-events: none;
  opacity: 0.3;
}

.content iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}


@media screen and (min-width: 1001px) {
  .background-desktop-left-top {
    background-position: left top !important;
  }

  .background-desktop-left {
    background-position: left !important;
  }

  .background-desktop-left-bottom {
    background-position: left bottom !important;
  }

  .background-desktop-right-top {
    background-position: right top !important;
  }

  .background-desktop-right {
    background-position: right !important;
  }

  .background-desktop-right-bottom {
    background-position: right bottom !important;
  }

  .background-desktop-center-top {
    background-position: center top !important;
  }

  .background-desktop-center {
    background-position: center !important;
  }

  .background-desktop-center-bottom {
    background-position: center bottom !important;
  }
}

@media screen and (max-width: 1000px) {
  .background-mobile-left-top {
    background-position: left top !important;
  }

  .background-mobile-left {
    background-position: left !important;
  }

  .background-mobile-left-bottom {
    background-position: left bottom !important;
  }

  .background-mobile-right-top {
    background-position: right top !important;
  }

  .background-mobile-right {
    background-position: right !important;
  }

  .background-mobile-right-bottom {
    background-position: right bottom !important;
  }

  .background-mobile-center-top {
    background-position: center top !important;
  }

  .background-mobile-center {
    background-position: center !important;
  }

  .background-mobile-center-bottom {
    background-position: center bottom !important;
  }
}


@media screen and (max-width: 500px) {
  .wrapper {
    max-width: 100%;
    padding: 0 calc( var(--tateru-default-padding) / 2 ) ;
  }
}