/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Heavy Italic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy SemiBold Italic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Medium Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('fonts/SVN-Gilroy Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

body, .nav > li > a {
  font-family: 'SVN-Gilroy', sans-serif !important;
  font-weight: 400;
}
.header-button .button.primary.is-large span, .nav > li > a {
	font-weight: 400 !important;
}
 
h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: 'SVN-Gilroy' !important;
  font-weight: 600 !important;
  font-style: normal;
}
h3, h6 {
  font-family: 'SVN-Gilroy';
  font-weight: 600;
  font-style: normal;
}
.nav>li>a, .nav-dropdown>li>a, .nav-column>li>a, .nav-vertical-fly-out>li>a {
    color: rgb(28 28 28 / 91%);
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.nav-dropdown {
    position: absolute;
    padding: 0px 0 0px; 
}
.page-archive-hocbong {
    padding: 30px 0;
}

.hocbong-box .box-image {
    border-radius: 8px;
    overflow: hidden;
}

.hocbong-box .box-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.hocbong-box .box-image span img {
	 width: auto;
}
.hocbong-box:hover .box-image img {
    transform: scale(1.05);
}

.hocbong-box .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.hocbong-box .box-title {
    color: white;
    font-size: 27px;
    margin-bottom: 10px;
    line-height: 1.4;
	
}

.hocbong-box .button {
    margin-bottom: 0;
    color: white;
    display: inline;
    font-weight: 400;
    padding: 5px 20px;
}
.hocbong-box .button:hover {
    background-color: white;
    color: #333;
}

/* CSS cho Thành tích */
.thanhtich-box {
    margin-bottom: 10px;
    position: relative;
}

.thanhtich-box .box-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.devvn-row-slider .thanhtich-box {
	position:relative;
	border-radius: 20px;
    overflow: hidden;
}
.thanhtich-box .box-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.devvn-row-slider .box-image {
	margin-bottom:0;
}
.devvn-row-slider .thanhtich-box .box-image img {
	height: auto;
}
.devvn-row-slider .thanhtich-box:hover .backdrop-blur {
	opacity:1;
	bottom:0;
}
.devvn-row-slider .backdrop-blur  {
	transition: all 1s;
    position: absolute;
    bottom: -140px;
    background: #ddddddc7;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-between;
    padding: 20px;
	opacity:0;
} 

.devvn-row-slider .backdrop-blur .so-khien span  {
    font-size: 26px;
    font-weight: 600;
    color: #e91e25;
}
.thanhtich-box:hover .box-image img {
    transform: scale(1.05);
}

.thanhtich-box .box-text {
    padding: 10px;
}

.thanhtich-box .box-title {
    font-size: 1.1em;
    margin: 0;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}
.hocbong-box .overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
}

.post-list article {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

.post-list .entry-image {
    flex: 0 0 200px;
}

.post-list .post-content {
    flex: 1;
}

.post-list .entry-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.post-list .post-date {
    color: #ff0000;
    font-weight: 500;
}

.post-list .entry-excerpt {
    margin-bottom: 10px;
    color: #666;
}

/*Support button*/
.support-button-wrapper {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9999;
}

.support-button {
    background: #FAA911;
    color: white;
    border: none;
    padding: 1px 30px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
	margin-right: 0;
}

.support-button:hover {
    background: #FF4B4B;
    transform: translateY(-2px);
}

.support-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: #8EDAC7;
    border-radius: 12px;
    padding: 10px;
    width: 210px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    border-radius: 88px;
    transition: all 0.2s ease;
    background: #fff;
    margin: 5px 0;
}

.contact-item:hover {
    background: #E91E25;
	color:#fff !important;
}

.contact-item i, .contact-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.contact-item:hover.phone img { 
    filter: brightness(110);
}
