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

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    font-stretch: 100%;
    src: url(https://fonts.gstatic.com/s/roboto/v51/KFO5CnqEu92Fr1Mu53ZEC9_Vu3r1gIhOszmkC3kaSTbQWt4N.woff2) format('woff2');
    unicode-range: U +0460 -052F, U +1C80 -1C8A, U +20B4, U +2DE0 -2DFF, U + A640-A69F, U + FE2E-FE2F;
}

/* Css header */
.stuck .header-top {
    min-height: 30px;
    height: 30px;
}
.header-top .nav > li > a {
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
}
.header-top .nav > li > a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
.nav-divided>li {
    margin: 0 !important;
}
.nav-divided>li+li>a:after {
    border: 0 !important;
}
.header-top .searchform input.search-field {
    height: 20px;
    background-color: #fff !important;
    color: #2a2a2a !important;
}
.header-top .searchform input.search-field::placeholder {
    color: #2a2a2a !important;
}
.header-top .searchform .flex-col {
    padding-right: 0;
}
.header-top .searchform .submit-button i {
    top: 0;
    color: #2a2a2a;
}
.header-top .flex-right {
    width: 35%;
}
.header-top .top-call-phone {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.header-top .top-call-phone:hover {
    background-color: transparent !important;
}
.header-top .top-call-phone span {
    font-size: 12px;
}
#logo h1 {
    margin-bottom: 0;
}
.stuck .nav-dropdown-has-border .nav-dropdown {
    margin-top: 0;
}
.nav-dropdown-has-border .nav-dropdown {
    margin-top: 8px;
    padding: 0;
    border: 0;
}
.nav-dropdown-has-arrow li.has-dropdown:before,.nav-dropdown-has-arrow li.has-dropdown:after{
    display: none;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a{
    margin:0;
    padding-left: 10px;
    color: #333333;
}
.header-nav-main {
    gap: 30px;
}
.header-main .nav > li > a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.stuck .header-main .nav > li > a {
    font-size: 14px;
    line-height: 22px;
}

/* css button arrow slider  */
.flickity-slider-always-show .flickity-button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
    top: 50%;
}
.flickity-slider-always-show .flickity-button,
.slider-wrapper .flickity-prev-next-button {
    width: 30px;
    height: 30px;
}
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
}
/* Ẩn điều hướng nếu toàn bộ slider đủ chỗ chứa trên màn hình (Flickity sẽ bỏ is-draggable) */
.flickity-enabled:not(.is-draggable) .flickity-button {
    display: none !important;
}
.flickity-slider-always-show .flickity-prev-next-button.previous {
    transform: translateY(-50%) translateX(0) !important;
}
.flickity-slider-always-show .flickity-prev-next-button.next {
    transform: translateY(-50%) translateX(0) !important;
}
.slider .flickity-button svg,
.slider .flickity-button:hover svg {
    border-radius: 0 !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: transparent !important;
}
.slider-nav-circle .flickity-prev-next-button:hover .arrow, 
.slider-nav-circle .flickity-prev-next-button:hover svg {
    fill: var(--primary-color) !important;
}
/* UI Text Inside Image cho Adv UX Slider */
.adv-ux-box-text-inside .box-text {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 15px;
    background: transparent !important;
}
.adv-ux-box-text-inside .box-text h4 a,
.adv-ux-box-text-inside .box-text .category-title a,
.adv-ux-box-text-inside .box-text p {
    color: #fff !important;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.6);
}
.adv-ux-box-text-inside .box-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Css Home page  */
.sc-default .row > .col {
    padding-bottom: 4px !important;
}
.is-divider {
    display: none !important;
}
.sub-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.title-section {
    font-size: 40px;
    line-height: 55px;
    font-weight: bold;
    margin-bottom: 0;
}
.des {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}
.title-box {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #fff;
}
.post-title {
    margin-bottom: 10px;
}
.post-title a {
    font-size: 18px;
    line-height: 26px !important;
    font-weight: 600;
    height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.from_the_blog_excerpt {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 15px;
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* Css Section Về chúng tôi  */
.sc-ve-chung-toi .des {
    text-align: left;
}

/* Css Section Anh Ngữ  */
.sc-anh-ngu .title-section {
   color: var(--primary-color);
}
.category-title {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 26px;
}

/* =======================================
   CSS CHO ADV POST GRID (News Layout)
   ======================================= */
.adv-ux-post-grid .adv-grid-card-large {
    height: 100%;
}
.adv-ux-post-grid .adv-grid-card-large .card-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.adv-ux-post-grid .adv-grid-card-large .card-text {
    padding: 15px 0;
}
.adv-ux-post-grid .adv-grid-card-large .post-title {
    margin-bottom: 10px;
}
.adv-ux-post-grid .adv-grid-card-large .post-title a {
    font-size: 22px;
    line-height: 30px !important;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.adv-ux-post-grid .adv-grid-card-large .post-meta,
.adv-ux-post-grid .adv-grid-card-small .post-meta {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.adv-ux-post-grid .adv-grid-card-large .post-meta.address {
    margin-top: -5px;
    margin-bottom: 12px;
}
.adv-ux-post-grid .adv-grid-card-large .post-excerpt {
    font-size: 16px;
    line-height: 24px;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Small Cards Stack */
.adv-ux-post-grid .adv-grid-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.adv-ux-post-grid .adv-grid-card-small {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.adv-ux-post-grid .adv-grid-card-small .card-image-small {
    width: 170px;
    flex-shrink: 0;
}
.adv-ux-post-grid .adv-grid-card-small .card-image-small img {
    width: 100%;
    aspect-ratio: 4/3.2;
    object-fit: cover;
}
.adv-ux-post-grid .adv-grid-card-small .card-text-small {
    flex-grow: 1;
}
.adv-ux-post-grid .adv-grid-card-small .post-title-small {
    margin-bottom: 10px;
}
.adv-ux-post-grid .adv-grid-card-small .post-title-small a {
    font-weight: 600;
    height: initial;
    max-height: 88px;
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =======================================
   HOVER ZOOM EFFECT CHO ẢNH
   ======================================= */
.adv-ux-post-grid .adv-grid-card-large .card-image,
.adv-ux-post-grid .adv-grid-card-small .card-image-small,
.box-image,
.box-image-inner {
    overflow: hidden;
}
.adv-ux-post-grid .adv-grid-card-large .card-image img,
.adv-ux-post-grid .adv-grid-card-small .card-image-small img,
.box-image img,
.box-image-inner img {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.4s ease, 
                filter 0.4s ease;
    transform: scale(1);
}
.adv-ux-post-grid .adv-grid-card-large:hover .card-image img,
.adv-ux-post-grid .adv-grid-card-small:hover .card-image-small img {
    transform: scale(1.07);
}

/* Css Don vi Bảo trợ  */
.slider-don-vi .ux-logo-link.block {
    background: #fff;
    margin: 0 8px;
}
.slider-don-vi .flickity-button svg,
.slider-don-vi .flickity-button:hover svg {
    border-radius: 0 !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    background-color: transparent !important;
}
.slider-don-vi .flickity-prev-next-button:hover .arrow, 
.slider-don-vi .flickity-prev-next-button:hover svg {
    fill: #fff !important;
}
.slider-don-vi .flickity-prev-next-button.previous {
    margin-right: 26px; 
}
.slider-don-vi .flickity-prev-next-button.next {
    margin-left: 26px; 
}

/* =======================================
   CSS CHO EVENT META TRONG UX BLOG POSTS
   ======================================= */
.ux-blog-post-event-meta {
    text-align: left;
    margin-top: 10px;
}
.ux-blog-post-event-meta .event-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.ux-blog-post-event-meta .event-meta-item svg {
    stroke: var(--primary-color);
}
.ux-blog-post-event-meta .event-meta-item span {
    display: inline-block;
}

/* =======================================
   CSS CHO VIDEO PLAY ICON OVERLAY
   ======================================= */
.card-image, 
.card-image-small, 
.box-image {
    position: relative;
    overflow: hidden;
}

.video-play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-play-icon-overlay svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 4px;
}

.video-play-icon-overlay.is-small {
    width: 40px;
    height: 40px;
    border-width: 1.5px;
}

.video-play-icon-overlay.is-small svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

/* Hiệu ứng hover cho thẻ cha */
.adv-grid-card-large:hover .video-play-icon-overlay,
.adv-grid-card-small:hover .video-play-icon-overlay,
.box:hover .video-play-icon-overlay {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* =======================================
   CSS CHO ADV VIDEO BOX (MANUAL)
   ======================================= */
.adv-ux-video-box-container {
    margin-bottom: 20px;
}
.manual-box .card-image {
    position: relative;
    overflow: hidden;
}
.manual-box .card-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.layout-small .manual-box {
    display: flex;
    gap: 20px;
}
.layout-small .manual-box .card-image-small {
    width: 170px;
    flex-shrink: 0;
}
.layout-small .manual-box .card-image-small img {
    width: 100%;
    aspect-ratio: 4/3.2;
    object-fit: cover;
}
.layout-small .manual-box .post-title-small {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}
.layout-small .manual-box .card-text-small {
    flex-grow: 1;
}

/* =======================================
   ADV POST VIDEO GRID (HTV LAYOUT)
   ======================================= */
.adv-ux-post-video-grid-container {
    padding: 30px 0;
}
.adv-video-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.grid-col-left, .grid-col-right {
    flex: 1;
    min-width: 300px;
}
.grid-section-header h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 30px;
}

.video-thumb-container {
    position: relative;
    overflow: hidden;
}
.video-thumb-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.video-thumb-container:hover img {
    transform: scale(1.05);
}

.video-thumb-container:hover .video-play-icon-overlay {
    background: #cc0000;
    border-color: #cc0000;
    transform: translate(-50%, -50%) scale(1.1);
}

/* List Titles below Main Card */
.video-list-titles {
    background: #fff;
    padding: 8px 15px 9px;
    border: 1px solid #eee;
}
.list-item-title {
    padding: 9px 10px;
    border-bottom: 1px dotted #ccc;
}
.list-item-title:last-child {
    border-bottom: none;
}
.list-item-title {
    
}
.list-item-title a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-item-title a .title-text {
    padding-left: 1rem;
}
.list-item-title a:hover {
    color: #cc0000;
}
.red-play-arrow {
    color: #cc0000;
    font-size: 12px;
}

/* Right Column: 2x2 Grid */
.video-small-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.video-small-card .small-card-info {
    background: #fff;
    padding: 10px 15px;
    margin-bottom: 10px;
}
.small-title {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.small-title a {
    color: #333;
    text-decoration: none;
    display: block;
}
.small-title a:hover {
    color: #cc0000;
}

/* Responsive */
@media (max-width: 550px) {
    .video-small-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.custom-follow-icons {
    display: flex;
    gap: 1rem;
}
.custom-follow-icons .icon-500px:before {
    content: "";
    top: 1px;
    width: 32px;
    height: 32px;
    position: relative;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.custom-follow-icons .icon-500px:before {
    background-image: url(/wp-content/uploads/2026/04/Zalo.png);
}

/* ==============================
   Adv Quick Links Widget
   ============================== */
.adv-ux-quick-links {
    padding: 0;
}
/* Tiêu đề */
.adv-quick-links-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Đường kẻ có accent màu */
.adv-quick-links-divider {
    position: relative;
    height: 2px;
    background-color: #e0e0e0;
    margin-bottom: 16px;
}
.adv-quick-links-accent {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 56px;
    background-color: var(--primary-color); /* Ghi đè inline style */
    border-radius: 1px;
}

/* Danh sách liên kết */
.adv-quick-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.adv-quick-links-list li {
    margin: 0;
    border-bottom: 0;
}
.adv-quick-links-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.adv-quick-links-list li a {
    color: #cccccc;
}
.adv-quick-links-list li a:hover {
    color: #ffffff;
}
.adv-quick-links-list li a:hover .adv-quick-links-arrow {
    transform: translateX(3px);
}
.adv-quick-links-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    line-height: 1;
}
.adv-quick-links-arrow svg {
    width: .6rem !important;
}
.adv-quick-links-text {
    line-height: 1.4;
}

/* CSS footer */
.text-footer {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 5px;
}
.text-footer-not-icon {
    margin-left: 18px;
}
.custom-tabs-footer .active a {
    background-color: var(--primary-color);
}
.custom-tabs-footer .nav > li > a {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 20px;
    color: #cccccc;
    padding: 7px 10px;
    border-radius: 5px;
}
.footer-wrapper .title-tab {
    width: fit-content;
    color: #fff;
}
.title-tab .adv-quick-links-divider {
    margin-top: 8px;
}
.title-tab .adv-quick-links-accent {
    background-color: #fff200;
}

/* ==============================
   Adv Category Nav Sidebar
   ============================== */
.adv-cat-nav {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: solid 3px #b42025;
}

/* List */
.adv-cat-nav__list,
.adv-cat-nav__sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adv-cat-nav__item {
    margin: 0;
    border-bottom: 1px solid #eaeaea;
}

.adv-cat-nav__item:last-child {
    border-bottom: none;
}

/* Active / Hover State cho thư mục gốc */
.adv-cat-nav__item.is-active > .adv-cat-nav__link,
.adv-cat-nav__item.is-expanded > .adv-cat-nav__link,
.adv-cat-nav__link:hover {
    color: var(--primary-color);
}

.adv-cat-nav__item.is-sub > .adv-cat-nav__link {
    background: transparent !important;
}

/* Link */
.adv-cat-nav__link {
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    background: url(https://studylink.org/skins/default/images/icon_logo.svg) no-repeat center left 15px #f3f3f3;
    background-size: 12px;
    position: relative;
    box-sizing: border-box;
    padding-left: 40px;
    display: block;

}

/* Item Wrapper */
.adv-cat-nav__item {
    margin: 0;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}
.adv-cat-nav__item:first-child > .adv-cat-nav__link {
    border-top-left-radius: 10px;
}
.adv-cat-nav__item:last-child > .adv-cat-nav__link {
    border-bottom-left-radius: 10px;
}

/* Toggle Icon */
.adv-cat-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 4px;
    width: 32px;
    height: 32px;
    color: #999;
    cursor: pointer;
    z-index: 2;
}

.adv-cat-nav__toggle svg {
    width: 16px;
    height: 16px;
}

/* Submenu */
.adv-cat-nav__sub-list {
    background: #f1f1f1;
    border-top: 1px solid #eaeaea;
}

.adv-cat-nav__item.is-sub {
    border-bottom: 1px solid #e8e8e8;
}

/* Css layout left sidebar  */
.widget_media_image img {
    width: 100%;
}
.post-sidebar .adv-cat-nav {
    margin-bottom: 30px;
}

/* ==============================
   "Các Tin Khác" - Related Posts
   ============================== */
.sl-related-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}
.sl-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sl-related-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: #111;
}
.sl-related-nav { display: flex; gap: 6px; }
.sl-nav-btn {
    width: 32px;
    height: 32px;
    border: 1.5px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    padding: 0;
    transition: border-color 0.15s, color 0.15s;
}
.sl-nav-btn:hover:not(:disabled) { border-color: var(--primary-color); color: var(--primary-color); }
.sl-nav-btn:disabled { opacity: 0.35; cursor: default; }
.sl-related-track-wrap { overflow: hidden; }
.sl-related-track { display: flex; transition: transform 0.35s ease; }

/* ==============================
   Category Archive — Card Grid
   ============================== */
.blog-wrapper .custom-archive-column {
    padding-left: 0;
}
.sl-cate-archive__title {
    font-size: 36px;
    line-height: 46px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 20px;
}

/* Grid 3 cột */
.sl-cate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .sl-cate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .sl-cate-grid { grid-template-columns: 1fr; }
}

/* Card */
.sl-cate-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.sl-cate-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Thumbnail */
.sl-cate-card__thumb {
    display: block;
    aspect-ratio: 16/11;
    overflow: hidden;
}
.sl-cate-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.sl-cate-card:hover .sl-cate-card__thumb img {
    transform: scale(1.04);
}

/* Body */
.sl-cate-card__body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

/* Tiêu đề */
.sl-cate-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sl-cate-card__title a {
    color: #111;
    text-decoration: none;
}
.sl-cate-card__title a:hover { color: var(--primary-color); }

/* Date */
.sl-cate-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #444;
}
.sl-cate-card__cal-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: var(--primary-color);
}

/* Excerpt */
.sl-cate-card__excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer — Xem thêm */
.sl-cate-archive__footer {
    margin-top: 28px;
    text-align: center;
}
.sl-cate-more a {
    display: inline-block;
    padding: 10px 32px;
    background: var(--primary-color);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.15s;
}
.sl-cate-more a:hover { background: #c0142a; }

/* =========================================================================
   SINGLE POST DETAIL (Layout giống mockup Categorie)
   ========================================================================= */

.sl-single-post {
    background: #fff;
    padding-bottom: 40px;
}

.sl-single-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.sl-single-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 0;
}

.sl-single-date {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.sl-single-share {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sl-single-share-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    border-radius: 2px;
    transition: opacity 0.2s;
}

.sl-single-share-btn:hover {
    opacity: 0.8;
}

.sl-single-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.sl-single-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
}

.sl-single-content h1, .sl-single-content h2, .sl-single-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Custom position for Flickity buttons on Related Slider */
.sl-single-related .flickity-prev-next-button {
    top: -45px;
    width: 30px;
    height: 30px;
    transform: none;
    opacity: 1 !important;
    visibility: visible !important;
}
.sl-single-related .flickity-prev-next-button.previous {
    right: 55px;
    left: auto;
}

.sl-single-related .flickity-prev-next-button.next {
    right: 15px;
}
.sl-single-related h3 {
    position: relative;
}
.sl-single-footer {
    background: #f5f5f5;
    padding: 10px 15px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sl-single-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sl-single-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}
.sl-single-btn:hover {
    opacity: 0.85;
}
.sl-single-btn--fb {
    background: #3b5998;
    color: #fff !important;
    border: 1px solid #3b5998;
}
.sl-single-btn--gplus {
    background: #fff;
    color: #333 !important;
    border: 1px solid #ccc;
}
.sl-single-btn-back {
    color: #555 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sl-single-btn-back:hover {
    color: var(--primary-color) !important;
}
.sl-single-contact-notice {
    text-align: center;
    margin: 24px 0 30px 0;
}
.sl-single-contact-notice i {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}
.sl-single-related {
    margin-top: 40px;
    position: relative;
}
.sl-single-related h3 {
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    font-weight: bold;
}

.custom-html-widget .wp-form-group .form-group {
    width: 100%;
}

/* Css Form  */
.wp-form-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.wp-form-group .form-group {
    width: calc(100% / 2 - 15px);
}
.wp-form-group input,
.wp-form-group select {
    box-shadow: none;
    width: 100%;
    height: 40px;
    border: none;
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
    color: #666666;
    padding: 0 6px;
}
.wp-form-group input:focus {
    outline: none;
    box-shadow: none;
    border-bottom: solid 1px var(--primary-color);
}
.wp-submit-button {
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
}
.wpcf7-form .wpcf7-submit {
    width: 170px;
    height: 40px;
    background: #b42025;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    margin: 1rem 0 0;
}
.cf7-website-url-wrap {
    display: none;
}


/* Css Contact  */
.sc-contact .title-section {
    font-size: 36px;
    line-height: 46px;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
}
.sc-contact .title {
    font-size: 24px;
    line-height: 32px;
    color: #b42025;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
}
.sc-contact .text-contact {
    display: flex;
    gap: 20px;
    margin-bottom: 6px;
}
.sc-contact .text-contact span {
    font-size: 14px;
    line-height: 22px;
    color: #333333;
}
.sc-contact .text-contact svg {
    color: #b42025;
}
.sc-contact .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #b42025;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 5px !important;
    margin: 1rem 0 0 0;
    border: 0;
    line-height: 100%;
    font-size: 14px;
}
.custom-tab-contact .nav-pills {
    gap: 10px;
}
.custom-tab-contact .nav-pills>li>a {
    border: solid 1px #e2e2e2;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: #333;
    display: block;
    width: fit-content;
    text-align: center;
    background-color: #d9d9d9;
    border-radius: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.custom-tab-contact .nav-pills>li.active>a {
    background-color: var(--primary-color);
    color: #fff;
}

/* Css page  */
.custom-sidebar-page .adv-cat-nav {
    margin-bottom: 25px;
}
