@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//ipushenglish.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

:root {
	--wd-text-font: Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(40,40,40);
	--wd-text-font-size: 14px;
	--wd-title-font: Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(211,38,46);
	--wd-alternative-color: rgb(37,61,138);
	--wd-link-color: rgb(221,51,51);
	--wd-link-color-hover: rgb(37,61,138);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(232,78,72);
	--btn-accented-bgcolor-hover: rgb(212,71,66);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(37,61,138);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(221,51,51);
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(242,242,242);
	background-image: url(https://ipushenglish.com/wp-content/uploads/2021/08/landing-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(5,51,194);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(240,242,244);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


@font-face {
	font-family: "hkgroteskpro";
	src: url("//ipushenglish.com/wp-content/uploads/2021/08/hkgroteskpro-regular.woff2") format("woff2"), 
url("//ipushenglish.com/wp-content/uploads/2021/08/hkgroteskpro-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "hkgroteskpro";
	src: url("//ipushenglish.com/wp-content/uploads/2021/08/hkgroteskpro-semibold.woff2") format("woff2"), 
url("//ipushenglish.com/wp-content/uploads/2021/08/hkgroteskpro-semibold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

.masterstudy-course-player-quiz__navigation-tabs {top: calc(59% - 25px)!important;}
/* MASTERSTUDY – FIX CHIỀU CAO POPUP HINT, GIỮ NGUYÊN VỊ TRÍ VÀ CÁCH HOẠT ĐỘNG */
.masterstudy-hint__popup {
    /* Để popup tự giãn chiều cao theo nội dung */
    height: auto !important;
    min-height: 60px !important;      /* có thể tăng 80–100 nếu muốn */
    max-height: none !important;

    /* Không cắt nội dung bên trong */
    overflow: visible !important;

    /* Cho phép xuống dòng khi câu dài */
    white-space: normal !important;
}

/* Đảm bảo text xuống dòng đẹp, không bị ép 1 dòng */
.masterstudy-hint__text {
    white-space: normal !important;
    line-height: 1.6 !important;
}

.comments-area .comment-body {padding-left: 0px !important;}

/* hiện chữ sau icon hint */
.masterstudy-hint__icon::before {
  content: "Explanation ";
  font-size: 13px;
  color: #444;
  margin-right: 6px;
  font-family: inherit; /* dùng font bình thường */
}
.masterstudy-hint, .masterstudy-hint__icon {width:100px !important; cursor: pointer;}
.single-post .masterstudy-online-testing {display:block !important;}
.wd-post-cat.wd-style-with-bg, .wd-post-meta {display:none !important;}
.wd-sidebar-opener, .comments-area .comment-edit-link, .comments-area .no-comments {display:none !important;}

/* Popup login popup giao bai tap */
#no-access-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}
.no-access-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.no-access-modal {
    position: relative;
    background: #fff;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,.2);
    text-align: center;
    max-width: 480px;
    width: 100%;
    z-index: 100000;
    animation: popupShow .3s ease;
}
.no-access-icon {
    font-size: 60px;
    margin-bottom: 15px;
}
.no-access-modal h2,
.no-access-modal h5 {
    font-size: 20px;
    color: #e63946;
    margin-bottom: 12px;
}
.no-access-modal p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 16px;
}
.no-access-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.no-access-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background .2s;
}
.no-access-btn:hover {
    background: #005f8d;
}
.no-access-btn.alt {
    background: #6c757d;
}
.no-access-btn.alt:hover {
    background: #5a6268;
}

.mon-pro-login-form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* khoảng cách đều giữa các input + nút */
}

.mon-pro-login-form input[type="text"],
.mon-pro-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.mon-pro-login-form .no-access-btn, .no-access-btn.dangky {
    width: 100%;
    text-align: center;
    font-size: 16px;
}

.mon-pro-login-form button:hover {
    background: #005f8d;
}
/* ===== STAR CUSTOM LAYOUT for testimonial ===== */
.montesti .testimonial-rating {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

/* Ẩn star mặc định */
.montesti .star-rating {
    position: relative;
    width: 45px !important;  
    height: 45px !important; 
    background: url("https://ipushenglish.com//wp-content/uploads/2025/11/golden_stars_big.png") center/contain no-repeat !important; /* SAO LỚN */
}

/* Tắt fill gốc */
.montesti .star-rating > span {
    display: none !important;
}

/* ==== THÊM 4 SAO NHỎ ==== */
.montesti .star-rating:before,
.montesti .star-rating:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;      /* Kích thước sao nhỏ */
    height: 26px;
    background: url("https://ipushenglish.com//wp-content/uploads/2025/11/golden_stars1.png") center/contain no-repeat;
    transform: translateY(-50%);
}

/* Hai sao nhỏ bên trái */
.montesti .star-rating:before {
    left: -40px;  /* vị trí sao nhỏ 1 */
    box-shadow: -32px 0 0 url("https://ipushenglish.com//wp-content/uploads/2025/11/golden_stars1.png"); /* sao nhỏ 2 */
}

/* Hai sao nhỏ bên phải */
.montesti .star-rating:after {
    right: -40px;  /* vị trí sao nhỏ 4 */
    box-shadow: 32px 0 0 url("https://ipushenglish.com//wp-content/uploads/2025/11/golden_stars1.png"); /* sao nhỏ 5 */
}

.montesti .wd-carousel-item {padding-top: 50px;}

/* Viền đỏ cong giống hình */
.montesti .testimonial-inner {
    background: #ffffff;
    border-radius: 25px;
    border: 12px solid #c51726; /* viền đỏ */
    padding: 50px 35px 40px;
    position: relative;
}

/* Avatar nằm lên trên viền */
.montesti .testimonial-avatar {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Avatar tròn, viền trắng */
.montesti .testimonial-avatar img {
    width: 120px !important;
    height: 120px !important;
		max-width: 120px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #ffffff;
}
/* Khoảng cách nội dung đẹp hơn */
.montesti .testimonial-content {
    margin-top: 15px;
    font-size: 20px;
    color: #222;
    line-height: 1.6;
}
/* ===============================
   CUSTOM PAGINATION DOTS — STYLE NHƯ HÌNH
   =============================== */

.montesti .wd-nav-pagin-wrap[class*="wd-style-shape"] .wd-nav-pagin-item span {
    width: 22px !important;
    height: 22px !important;
    background: #c51626 !important; /* chấm đỏ bên trong */
    border: 1px dashed #c51626 !important; /* viền đứt */
    border-radius: 50% !important;
    opacity: 0.4;
    transition: all .3s ease;
}

/* ACTIVE DOT — lớn & rõ hơn */
.montesti .wd-nav-pagin-wrap[class*="wd-style-shape"] .wd-nav-pagin-item.wd-active span {
    width: 26px !important;
    height: 26px !important;
    opacity: 1;
    background: #c51626 !important;
    border-color: #c51626 !important;
    transform: scale(1.1);
}

.mon-visitor-inline {
    display: flex;
    justify-content: center;
    gap: 22px;
    font-size: 18px;
    color: #000;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mon-visitor-inline span {
    white-space: nowrap;
}

.mon-visitor-inline strong {
    color: #111;
    font-weight: 600;
}
/* Vocab table – alternating soft colors */
.wp-block-table tbody tr:nth-child(even) td {
  background-color: #eef6ff; /* xanh nhạt */
}

.wp-block-table tbody tr:nth-child(odd) td {
  background-color: #fff1f1; /* đỏ nhạt */
}

/* Header row */
.wp-block-table tbody tr:first-child td {
  background-color: #e2e8f0; /* xám xanh */
  font-weight: 600;
}

/* Optional: padding & border */
.wp-block-table td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

@media (max-width: 576px) {
	.limited-row {
    max-height: 300px;   /* giới hạn chiều cao */
    overflow-y: auto;    /* hiện thanh scroll dọc nếu nội dung vượt quá */
    overflow-x: hidden;  /* không cho scroll ngang */
}
.limited-row::-webkit-scrollbar {
    width: 6px;   /* độ rộng scrollbar */
}
.limited-row::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}
.limited-row::-webkit-scrollbar-thumb:hover {
    background: #888;
}

    .no-access-modal {
        width: 90%;
        padding: 20px 15px;
    }
    .no-access-icon {
        font-size: 45px;
        margin-bottom: 10px;
    }
    .no-access-modal h2,
    .no-access-modal h5 {
        font-size: 18px;
    }
    .no-access-modal p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .no-access-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    .mon-pro-login-form input,
    .mon-pro-login-form button {
        font-size: 14px;
        padding: 10px;
    }
.montesti .testimonial-content {font-size: 14px;}
.testimonial-content footer {font-size: 11px;}
/* ===============================
   CUSTOM PAGINATION DOTS — STYLE NHƯ HÌNH
   =============================== */

.montesti .wd-nav-pagin-wrap[class*="wd-style-shape"] .wd-nav-pagin-item span {
    width: 10px !important;
    height: 10px !important;
}

/* ACTIVE DOT — lớn & rõ hơn */
.montesti .wd-nav-pagin-wrap[class*="wd-style-shape"] .wd-nav-pagin-item.wd-active span {
    width: 10px !important;
    height: 10px !important;
}
}

