/*
Theme Name: CLKS
Author: Bornly Chesda
Author URI: 
Version: 1.0.1
*/
html {
    margin-top: 0px !important;
}
html, body {
    background-color: #ffffff;
    overscroll-behavior: none; /* stops bounce */
    font-family: 'Inter', 'Battambang', sans-serif;
}
html[style] {
  margin-top: 0 !important;
}
p{
	line-height: 30px;
}
.p{
	font-size: 18px;
	line-height: 30px !important;
}
.container-md{
    max-width: 768px;
}
.container-lg{
    max-width: 1024px
}
.container-xl{
    max-width: 1200px;
}
.container-2xl{
    max-width: 1536px;
}
swiper-container::part(pagination) {
    bottom: 24px;
}
swiper-container::part(bullet-active) {
    background: #FFFFFF;
    height: 12px;
    width: 32px;
    border-radius: 12px;
}
swiper-container::part(bullet) {
    background: #FFFFFF;
    height: 12px;
    width: 12px;
}
swiper-container::part(button-next) {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    background: #00a5504a;
    border-radius: 100%;
    display: none;
    padding: 12px;
    backdrop-filter: blur(8px);
}
swiper-container::part(button-prev) {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    display: none;
    background: #00a5504a;
    border-radius: 100%;
    padding: 12px;
    backdrop-filter: blur(8px);
}
.nav-active a, a.nav-active span, a.nav-active svg{
    color: #ce882e;
}
.border-bottom-primary{
    border-bottom: 1px solid #19335d;
}
.horizontal-line{
    position: relative;
    padding-left: 10px;
}
.horizontal-line::before{
    content: '';
    width: 4px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ce882e;
}

/* Simple pagination styling */
.pagination-container .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.pagination-container .page-numbers:hover {
    background: #e5e7eb;
}

.pagination-container .current {
    background: #f1bc10;
    color: white;
}

.pagination-container .prev,
.pagination-container .next {
    font-weight: 600;
}

.pagination-container .dots {
    background: transparent;
}

.revert-default-style *:not(ul):not(img):not(table){
	all: revert !important;
	line-height: 30px !important;
	font-size: 18px;
}

.revert-default-style p:empty {
/* 	margin: 0;
	padding: 0; */
}

.revert-default-style ul {
	margin: 0;
	list-style: unset !important;
	padding-left: 20px !important;
}

.revert-default-style table tr td{
	border-top: 2px solid #9198a2 !important;
    padding: 10px 0 !important;
}
.revert-default-style table {
	margin: 32px 0px !important;
}
.revert-default-style .wp-block-table {
	margin-left: 0px !important;
    overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}
.revert-default-style table tr:last-child td {
	border-bottom: 2px solid #9198a2 !important;
}
.wp-block-table{
    overflow: scroll;
}
/* .wp-block-table > table {
	width: 100%;
} */

@media (max-width: 640px) {
  /* Styles for small screens */
  swiper-container::part(button-next) {
		width: 24px;
		height: 24px;
		padding: 8px;
	  backdrop-filter: blur(4px);
	}
	swiper-container::part(button-prev) {
		width: 24px;
		height: 24px;
		padding: 8px;
		backdrop-filter: blur(4px);
	}
}

.green-banner {
  background: linear-gradient(
    to right,
    rgba(76, 175, 80, 0) 0%,
    rgba(76, 175, 80, 0.8) 15%,
    rgba(76, 175, 80, 1) 50%,
    rgba(76, 175, 80, 0.8) 85%,
    rgba(76, 175, 80, 0) 100%
  );
}

/* ========================= */
/* RESPONSIVE IMPROVEMENTS   */
/* ========================= */

/* Smooth font scaling */
@media (max-width: 640px) {
  .section-title {
    font-size: 1.35rem;
  }
  .section-title::after {
    height: 5px;
    margin-top: 8px;
  }
  p {
    line-height: 26px;
  }
  .p {
    font-size: 16px;
    line-height: 26px !important;
  }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
  .section-title::after {
    height: 6px;
  }
}

/* Improve card readability on small screens */
@media (max-width: 480px) {
  .revert-default-style *:not(ul):not(img):not(table) {
    font-size: 16px;
  }
}