@font-face {
  font-family: 'Inter Khmer';
  src: url('/wp-includes/fonts/Inter-Khmer[slnt,wght].ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
}
@font-face {
  font-family: 'Inter Khmer Loopless';
  src: url('/wp-includes/fonts/Inter-Khmer-Loopless[slnt,wght].ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
}
body {
    font-family: Inter Khmer Loopless;
}
a {
    outline: none;
}
/*teched-customize download button*/

a.teched-download-btn.customize {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  background: #2468ff;
font-family: Inter Khmer Loopless;
  transition: all 0.2s ease;
  will-change: transform;

  position: relative;
}

a.teched-download-btn.customize:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

a.teched-download-btn.customize svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
a.teched-download-btn.customize.excel-file {
      background: #2CA01C;
}    

.wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* number of lines */
    overflow: hidden;
}
h2.wp-block-post-title a{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* number of lines */
    overflow: hidden;
}


svg.search-icon {
    font-size: 25px;
    fill: #cccccc
}
button.wp-block-search__button.has-icon.wp-element-button {
    background: none;
}
input#wp-block-search__input-1 {
    height: 40px;
    outline: none;
}
h1.wp-block-heading {
    word-wrap: break-word;
}

a.show-more.contact {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 30px;
}
a.show-more.contact {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 30px;
    background: none;
    outline: none;
}
a.show-more.contact img {
    width: 2rem;
}
/* Make WordPress tables scrollable */
.wp-block-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wp-block-table.is-style-stripes {
    overflow-x: auto;
}

.wp-block-table.is-style-stripes table {
    min-width: 600px;
}

.copy-box {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    font-family: Inter Khmer Loopless;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
button.copy-btn {
    font-family: Inter Khmer Loopless;
}
.copy-btn {
    border: none;
    background: #111827;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #1f2937;
}

.copy-btn:active {
    transform: scale(0.96);
}

img.avatar.avatar-48.photo {
    width: 75px;
    height: auto;
    border-radius: 37px;
}
p.wp-block-post-author__name, p.wp-block-post-author__name a {
    font-weight: 600;
    color: #2468ff;
    text-decoration: none;
}
p.wp-block-post-author__bio {
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 400;
    margin-top: 10px;
}
.wp-block-post-author {
    border: 1px solid #cccccc;
    padding: 20px;
}

@media screen and (max-width: 600px) {
    h2.wp-block-post-title {
        font-size: 28px !important;
    }
    p.wp-block-post-excerpt__excerpt {
        font-size: 18px;
    }
    .wp-block-group.teched-customize.is-layout-grid.wp-block-group-is-layout-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    }
	figure.wp-block-post-featured-image {
    	aspect-ratio: 16 / 9 !important;
    }
    .wp-block-post-author {
        flex-wrap: wrap;
        flex-direction: column;
    }
    p.wp-block-post-author__name {
        padding-top: 10px;
    }
    p.wp-block-post-author__bio {
        font-size: 17px;
    }
    img.avatar.avatar-48.photo {
        width: 55px;
    }
    .wp-container-core-columns-is-layout, .wp-block-columns.alignwide.teched-related-post.is-layout-flex {
        gap: 20px;
    }
}

.taxonomy-category a, a.wp-block-post-author-name__link, .entry-content a {
    background: linear-gradient(#2468ff, #2468ff) no-repeat 100% 100% / 0 1px;
    color: #2468ff;
    display: inline;
    text-decoration: none;
    transition: background-size .4s;
}
.taxonomy-category a:hover, a.wp-block-post-author-name__link:hover, .entry-content a:hover {
    background-position-x: left;
    background-size: 100% 1px;
}

/* Excel Formula CSS */
.language-excel {
    background: #000;
    border-radius: 6px;
    padding: 1rem 1.5rem;

    /* Scroll */
    overflow-x: auto;
    overflow-y: hidden;

    /* Prevent line break */
    white-space: nowrap;

    /* Smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

.language-excel code.language-xls {
    display: inline-block;
    min-width: max-content;

    color: #fff;
    font-weight: 500;
    line-height: 1.8;

    text-shadow: none;
}

/* Syntax Colors */
.token.operator {
    background-color: transparent;
    color: #fbde2d;
    padding: 0 2px;
}

.token.function {
    color: #5ce638;
}

.token.punctuation,
.token.selector,
.token.number,
.token.string,
.token.boolean {
    color: #fff;
}

.teched-block-notice {
    background: #d2efef;
    border-radius: 6px;
    padding: 20px;
    border: 0;
    font-style: normal;
}
.teched-block-notice:before {
    content: url(/wp-includes/assets/images/alert_circle.svg);
    margin: 4px 7px -7px 0px;
    float: left;
    vertical-align: middle;
}
@media screen and (max-width: 782px) {
	.teched-block-notice:before {
   		margin: 1px 7px -18px 0px;
	}
}