

body{
    font-family: 'Newsreader', serif;
    font-size:medium;
}
.main-content {
    margin-top: 100px;
    margin-bottom: 300px;
}

/* Áp dụng cho bất kỳ vùng chứa nội dung nào có class là post-body */
.post-body p {
    margin: 0; /* Reset lề mặc định để dễ kiểm soát */
    margin-top: 16px;
    line-height: 1.2; /* Khoảng cách dòng cho dễ đọc */
    font-size: 18px;
    color: #333;
}

/* Kỹ thuật Adjacent Sibling: Chỉ đẩy lề trên của các thẻ p đứng sau một thẻ p khác */
.post-body p + p {
    margin-top: 1.1rem;
}

.dynamic-grid {
        display: grid;
        gap: 20px;
        padding: 20px;
    }
    /* Mặc định 1 cột */
.dynamic-grid.cols-1 { grid-template-columns: 1fr; }
    /* 2 cột */
.dynamic-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    /* 3 cột */
.dynamic-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

    /* 4 cột */
.dynamic-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pagination-container { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.page-btn { cursor: pointer !important;         
        padding: 5px 10px; 
        border: 1px solid #333; 
        color: rgb(255, 0, 179); 
        transition: all 0.3s ease; /* Thêm hiệu ứng chuyển cảnh mượt mà */ 
        user-select: none; /* Ngăn người dùng bôi đen số khi click nhanh */
    }
    /* Hiệu ứng khi rê chuột vào (Hover) */
.page-btn:hover {
        background-color: #f0f0f0; /* Đổi màu nền nhẹ */
        border-color: #007bff;     /* Đổi màu viền */
        color: #007bff;            /* Đổi màu chữ */
        transform: translateY(-2px); /* Nhấc nhẹ con số lên */
    }
    /* Hiệu ứng cho trang đang được chọn */
.page-btn.active {
        background-color: #333;
        color: #fff;
        cursor: default; /* Trang đang xem thì không cần hiện bàn tay nữa */
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*đảm bảo padding không làm tăng kích thước chiều rộng của đối tượng*/
}

.container {
    margin: 0%;
}
.container p {
    margin-top: 10px;
}

.header {
    position:fixed;
    width: 100%;
}
.img-candle {
    height: 360px;
    width: 640px;
}
.img-fluid {
    width:100%;
}
.imgstick { 
    grid-area: x;
    text-align: center;
    width:100%;
    }
.imgdes {
    grid-area: y; 
    text-align: center;
    width:100%;
    padding-bottom: 10px;    
    }
.imgdes>div{
    padding:10px;
}
    
.grid-2-col-stick {
    display: grid;      
    border: solid 1px;    
    align-items:end;    
    }
.btn {
    padding: 15px;
    background-color:  rgb(0, 92, 128);
    box-shadow: rgb(187, 88, 17);
    border-radius: 5px;
}

a {
    color: #311E10;
    text-decoration: none;
}
.list{
	list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:20px;
}

li a:hover {
    cursor:pointer;
    color: rgb(255, 0, 179);
    justify-content: space-between;
  }
  
  a:hover {
    cursor:pointer;
    color: rgb(255, 0, 179);
  }
  
  
  .hover {
    cursor:pointer;
    color: rgb(255, 0, 179);
  }

 
.section-line {
    width: 8rem;
    height: 3px;
    background-color: #78e9ff;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}
.section-page {
    margin-top: 30px;
    display: grid;
    justify-content: center;
    justify-items: center;
}
.section-page td{
    padding:10px;
}
.pemphasize {
    font-weight: 900;
}
.pemphasizered {
    color: red;
}
.pemphasizeblue {
    color: blue;
}
.pemphasizeorange {
    color: orange;
}
.pemphasizegrey {
    color: grey;
}
.pemphasizegreen {
    color: green;
}
.pemphasizeitalic {
    font-style: italic;
}
.d-flex {
    display: flex;
    
}
.d-flex-sp {
    display: flex;
    justify-content: space-between;
    ;
}
.col-1-sp { 
    grid-area: x;
    text-align: center;
    width:96%;
    padding:1px;
    }
.col-2-sp {
    grid-area: y; 
    text-align: center;
    width:96%;
    padding:1px;
    }
.col-3-sp {
    grid-area: z;
    text-align: center;
    width:96%;
    padding:1px;
    }

.grid-3-col-sp {
    display: grid;
    grid-template-areas:
        'x y'
        'z z';
    }

.col-1 { 
    grid-area: x;
    text-align: center;
    width:96%;
    }
.col-2 {
    grid-area: y; 
    text-align: center;
    width:96%;
    }
    
.grid-2-col-header {
    display: grid;
    grid-template-areas:'x y';
    grid-gap: 5px;
    padding: 5px;
    justify-items: center;
    align-items:stretch;    
    }
.section-heading {
    margin-bottom: 35px;
	padding-top:10px;
}




.displaynone {
    display: none;
}
#section-b-content-two {     
    display: none;
}
#section-b-content-three {
    display: none;
}
#section-t-content-two, #section-t-content-three {
    display: none;
}
#section-trick-content-two, #section-trick-content-three {
    display: none;
}
#section-fa-content-two, 
#section-fa-content-three, 
#section-fa-content-four, 
#section-fa-content-five,
#section-fa-content-six,
#section-fa-content-seven,
#section-fa-content-eight,
#section-fa-content-nine,
#section-fa-content-ten {
    display: none;
}



/*Social proof*/
.section-padding {
    text-align: center;
    padding: 15px 0;
}
.social-proof {
    background-color: #311E10;
    color: #fff;    
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
#fa .grid-3-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
}
#candlepattern .grid-2-col-ta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
}

.col-1-basic { 
    grid-area: a;
    width:96%;
    padding: 25px 3px;    
    }
.col-2-basic {
    grid-area: b; 
    text-align: left;
    width:96%;
    padding-left: 15px;
    }
    
.grid-2-col-basic {
    display: grid;
    /* Ép cột 1 là 3.4%, cột 2 là phần còn lại. 
       minmax(0, ...) giúp cột có thể nhỏ hơn nội dung bên trong nó */
    grid-template-columns: minmax(0, 5%) minmax(0, 95%);
    grid-template-areas: 'a b';
    justify-items: center;
    padding:0px;  
    }

.basic-icon {    
    font-size: 20px;    
    display: flex;
    align-items: center;

}
.basic-content {
    text-align: left;
    align-items: center;
    justify-items: center;
}



/* FA*/

.col-2-fa .list {
    display: grid;
    text-align: center;
    justify-content: center;
    margin-top: 30px;    
    
}
.col-2-fa .list li {
    padding-bottom: 15px;
    
}
/*.main*/
.grid-3-col .main {
    transform:scale(1.1);
    z-index: 1;
    background-color: #fff;
}


.grid-2-col-ta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
    padding: 5px;
    align-items:center;    
    }
.col-2-ta {
    text-align: left;
}
.col-2-ta a {
    padding-bottom: 10px;
}
/*contact me*/
.w-100 {
    width: 100%;    
}
.form-group {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;

}
form i {
    padding: 0.4rem 1rem;
    border: 1px solid #141414;
}
form input {
    width: 90%;
    padding: 0.4rem;
    border: 1px solid #141414;
    
}
form textarea {
    width: 100%;
    height: 5rem;
    padding: 0.4rem;
    border: 1px solid #141414;
    text-align: center;
}

.col-1-article { 
    grid-area: x;
    text-align: left;
    width:96%;
    
    }
.col-2-article {
    grid-area: y; 
    text-align: center;
    width:96%;
    margin-top: 65px;
    height: 100px;
    }
.col-3-article {
    grid-area: z; 
    text-align: left;
    width:96%;
    
    }
.grid-3-col-article {
    position: relative;
    display: grid;/*sua thanh flex de duoc 3 cot*/
    grid-template-areas:
    'y y y y''x x x z';/*chinh cau truc de duoc bo cuc khac*/
    grid-gap: 5px;
    border: solid 1px;
    
    justify-items: center;	/*start,end*/
    align-items:stretch; /*top,end*/
    
    }
.grid-3-col-article >div {
    border:solid 1px;
    padding:5px;
    
    }

.article-title {
    display: flex;
    flex-direction: row;
    padding: 15px;
}
.article-title  h3 {    
    padding-left: 5px;
}
.article-content p,a {
    padding-bottom: 10px ;
}
.article-content li {
	list-style-type: none;
	padding-bottom: 10px ;
}
.img-200300 {
    width: 200px;
    height: 300px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top:10px;
}
.img-350250 
{
    width: 350px;
    height: 250px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top:10px;
}
.img-200400 {
	width:200px;
	height:400px;
}

@media only screen and (max-width: 600px) {
    .grid-2-col-header {
        grid-template-areas:'x''y';       
                      
    }
    .imgdesp {
        display: none;
    }
    .grid-3-col, .grid-2-col-ta {
        grid-template-columns: 1fr;
    }
    #fa .grid-3-col {
        grid-template-columns: 1fr;
    }
    .col-1-fa {
        margin-top: 15px;
    }
    
    .list {
        justify-content: space-evenly;
        padding: 5px;
    }
    .grid-3-col-article{
        grid-template-areas:'y''x''z';

    }
	#candlepattern .grid-2-col-ta {
        
        grid-template-columns: 1fr;
        
    }
	#wyckoff .img-350250 {
        width: 100%;
        padding: auto;
    }

    
        
}

