/********** Template CSS **********/
:root {
    --primary: #0C3D82;
    --secondary: #B2D2FF;
    --light: #F8F2F0;
    --dark: #2D2D2D;
    --red: #CA2727;
}

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

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Bold.otf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy Bold';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Bold.otf');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'SVN-Gilroy';
    line-height: 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

p:last-of-type {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'SVN-Gilroy Bold';
  margin: 0;
  font-weight: 700;
}

@media (min-width: 1200px) {

    .col-20 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.btn-custom {
    border: 1px solid var(--secondary);
    border-radius: 0;
    padding: 12px 27px;
    font-family: 'SVN-Gilroy Bold';
    color: var(--primary);
    font-size: 18px;
    line-height: 28px;
    letter-spacing: .32px;
}

.btn-custom:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.images-box {
    position: relative;
    overflow: hidden;
}

.images-box::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.images-box .img,
.images-box a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.images-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** Section title ***/

.section-title h6 {
    color: var(--red);
    line-height: 28px;
    text-transform: uppercase;
}

.section-title h2 {
    color: var(--primary);
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
}

/*** Button ***/

.back-to-top {
    background: var(--primary);
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.back-to-top:hover {
    color: var(--primary);
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/

.bg-navbar {
    background: var(--primary);
    padding-right: 24px;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 6 Pro"; 
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-light .navbar-brand {
    background: url('../img/bg-logo.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}
.navbar-light .navbar-brand img{
    max-width: 250px;
}
.navbar-light a.btn {
    height: 75px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 1200px) and (max-width: 1255px) {

    .navbar-light .navbar-nav .nav-link {
        margin-right: 20px;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {

    .navbar-light .navbar-nav .nav-link {
        margin-right: 20px;
        font-size: 14px;
    }
}

@media (min-width: 992px) {

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

@media (max-width: 991px) {

    .navbar .offcanvas {
        background: #ececec;
        max-width: 80%;
        z-index: 1200;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        color: black;
    }

    .navbar-light .navbar-nav .nav-link:hover, 
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .offcanvas-header {
        background: white;
    }

    .offcanvas-header img {
        width: 180px;
    }

    .offcanvas-header .btn-close:focus, 
    .search-project-frm input[type="text"]:focus {
        box-shadow: none;
    }

    .search-project-frm {
        padding: 1px 10px;
        margin: 10px 0;
        width: 100%;
    }

    .search-project-frm input[type="text"] {
        border: 0;
    }

    .navbar .offcanvas-body {
        padding: 0;
    }

    .navbar .navbar-nav {
        gap: 12px;
        padding: 16px;
        background: white;
    }
}

@media (max-width: 767px) {

    .bg-navbar {
        flex-wrap: nowrap;
    }
}

.content-form {
    background-color: transparent;
    border: none;
}

.searchform {
    position: relative;
    margin-bottom: 0;
}

.flex-row {
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-grow {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-negative: 1;
    -ms-flex-preferred-size: auto;
}

.flex-row .flex-col {
    padding-right: 4px;
}

.searchform-wrapper .flex-col:last-of-type {
    margin-left: -2.9em;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.searchform-wrapper input[type=text] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 0 0.75em;
    height: 67px;
    font-size: .97em;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, .2);
    color: white;
    -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    -webkit-transition: color .3s, border .3s, background .3s, opacity .3s;
    -o-transition: color .3s,border .3s,background .3s,opacity .3s;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    border-radius: 99px;
    padding: 0 20px;
}

.searchform input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.searchform input[type=text]:focus, 
.searchform input[type=text]:focus-visible {
    outline: none;
}

.searchform input[type=text]::placeholder {
    color: white;
    font-size: 20px;
}

.searchform .icon {
    color: currentColor;
    border-color: transparent;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.searchform .icon i {
    color: white;
}

.language-menu {
    position: relative;
}

.language-menu a {
    display: block;
    color: white;
}

.language-menu ul.dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    /*left: -7px;*/
    right: 0;
    top: 47px;
    width: 110px;
    background: white;
    color: black;
    z-index: 99;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.language-menu:hover ul.dropdown {
    opacity: 1;
    visibility: visible;
}

.language-menu ul.dropdown a {
    padding: 5px 12px;
    color: black;
}

.content-bottom__offcanvas {
    margin: 12px 0 0;
    padding: 16px;
    background: white;
}

.content-bottom__offcanvas h3 {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: black;
}

.content-bottom__offcanvas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*** Header ***/

.banner-item .hs-item {
    height: 100%;
    min-height: 717px;
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.header-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    color: var(--primary);
}

.header-text img {
    max-width: 350px;
}

.header-text h3 {
    font-size: 40px;
    line-height: 52px;
    text-transform: uppercase;
    margin-top: 32px;
}

.header-carousel .owl-nav,
.product-slider .owl-nav {
    position: absolute;
    bottom: 50px;
    right: 80px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-carousel .owl-nav i,
.product-slider .owl-nav i {
    font-size: 20px;
}

.header-carousel .owl-prev,
.header-carousel .owl-next,
.product-slider .owl-prev,
.product-slider .owl-next {
    border: 2px solid white;
    border-radius: 50%;
    width: 41px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .banner-item .hs-item {
        min-height: 470px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav{
        display: none;
    }
    .banner-item .hs-item {
        min-height: 260px;
    }
    .header-text img {
        max-width: 200px;
    }

    .header-text h3 {
        font-size: 32px;
        line-height: 40px;
    }

    .header-carousel .owl-nav,
    .product-slider .owl-nav {
        right: 40px;
    }
}

/*** About ***/

.about {
    background: url('../img/bg-about.jpg') center no-repeat;
    background-size: cover;
}

.about-content {
    font-size: 15px;
}

.about-content a.btn-custom {
    margin-top: 24px;
}

.about-video a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** Product ***/

.title-wrapper {
    position: relative;
    margin-bottom: 28px;
}

.title-wrapper h2 {
    color: white;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.title-wrapper .img {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.product-box-thumb img{
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}
.product-thumb::before,
.service-thumb::before,
.news-image::before {
    padding-top: 60%;
}

.product-thumb .img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, #0C3D82 0%, rgba(12, 61, 130, 0) 106.41%);
    width: 100%;
    height: 100%;
}

.product-item a,
.service-item a {
    color: white;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.product-item a:hover img {
    border: 6px solid var(--primary);
}

.product-item a:hover .product-thumb::after {
    background: linear-gradient(360deg, #0C3D82 0%, rgba(12, 61, 130, 0) 106.41%);
}

.product-content,
.service-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    text-transform: capitalize;
    padding: 0 24px 28px;
}

.product-content h6,
.service-content h6 {
    font-size: 18px;
}

@media (max-width: 991px) {

    .product-content {
        padding: 0 16px 16px;
    }

    .title-wrapper .img img {
        height: 40px;
    }

    .title-wrapper h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .title-wrapper h2{
        font-size: 16px;
    }
    .title-wrapper .img {
        width: 362px;
    }

    .product-content h6 {
        font-size: 16px;
    }
}

/*** Service ***/

.service {
    background: url('../img/bg-service.jpg') center no-repeat;
    background-size: cover;
}

.service-thumb .img::after,
.service-thumb .img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, #08244C 0%, rgba(12, 61, 130, 0) 81.29%);
    width: 100%;
    height: 40%;
}

.service-thumb .img::before {
    background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 72.74%);
}

/*** News ***/

.news {
    background: linear-gradient(128.02deg, #FFFFFF 29.61%, #E5F0FF 63.1%, #FFFFFF 92.56%);
}

.new-wrapper {
    background: #F8F8F8;
    padding: 16px 12px;
    border-radius: 4px;
}

.news-item:not(:last-child) {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.news-meta span {
    display: block;
    font-size: 12px;
    line-height: 20px;
    color: var(--primary);
}

.news-item:first-child .news-meta span:first-child {
    font-family: 'SVN-Gilroy Bold';
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
}

.news-content h6 {
    color: black;
    font-size: 14px;
    line-height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item a:hover h6 {
    color: var(--primary);
}

.news-content p {
    color: #7C7C7C;
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/*** Partner ***/

.partner {
    background: url('../img/bg-partner.jpg') center no-repeat;
    background-size: cover;
    padding: 160px 0;
}

.partners-item img {
    width: 100%;
}

@media (max-width: 767px) {

    .partner {
        padding: 60px 0;
    }
}

/*** Contact ***/

.contact {
    background: url('../img/bg-contact.jpg') center no-repeat;
    background-size: cover;
}

.title-contact h2 {
    color: white;
    margin-bottom: 4px;
}

.contact-form label {
    color: white;
    font-size: 14px;
    line-height: 28px;
}

.contact-form input,
.contact-form textarea {
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: none;
    border-color: white;
}

.contact-form button {
    margin-top: 8px;
    padding: 15px 76px;
    background: var(--red);
    color: white;
    font-family: 'SVN-Gilroy Bold';
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
}

.contact-form button:hover {
    background: var(--red);
    color: white;
}

/*** Footer ***/

.footer {
    background: url('../img/bg-footer.jpg') center no-repeat;
    background-size: cover;
}

.logo-footer {
    margin-bottom: 48px;
}

.info-footer:not(:last-child) {
    margin-bottom: 20px;
}

.info-footer h6 {
    color: var(--primary);
    font-size: 18px;
    line-height: 24px;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.info-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-footer li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-footer li:not(:last-child) {
    margin-bottom: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 12px;
}

.social-icon a {
    display: block;
    color: var(--primary);
    font-size: 23px;
}

.copyright {
    padding: 14px 0;
    margin-top: 42px;
    background: var(--primary);
    color: white;
    font-size: 13px;
}

.copyright a {
    color: white;
}

.list-nav a:not(:last-child) {
    margin-right: 48px;
}

@media (max-width: 991px) {

    .list-nav a:not(:last-child) {
        margin-right: 24px;
    }
}

/* ----------------------------------- Other Pages Styles ----------------------------------- */

/*--------------------------------------------------------------
# Heading Page
--------------------------------------------------------------*/

.page-heading {
    background: url('../img/bg-heading.jpg') center no-repeat;
    background-size: cover;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.page-heading .breadcrumb a,
.page-heading .breadcrumb {
    font-size: 12px;
    line-height: 24px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: white;
}

.page-heading h3 {
    color: white;
    font-size: 36px;
    line-height: 56px;
    text-transform: uppercase;
}

@media (max-width: 767px) {

    .page-heading {
        min-height: 250px;
    }
}

/*--------------------------------------------------------------
# Product Page
--------------------------------------------------------------*/

.products-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.products-item:not(:last-child) {
    margin-bottom: 30px;
}

.products-item > div {
    max-width: 50%;
    flex: 0 0 50%;
}

.product-slider .owl-nav {
    bottom: 24px;
    right: 44px;
}

.product-box-content {
    padding: 0 24px;
}

.product-box-content h3 {
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product-box-content h3 a {
    color: black;
    display: block;
}

.product-box-content h3 a:hover {
    color: var(--primary);
}

.nav-wrapper .nav-tabs {
    justify-content: center;
    margin-bottom: 20px;
}

.nav-wrapper .nav-tabs li .nav-link {
    height: 100%;
    border: none;
    font-weight: 700;
    text-transform: capitalize;
    color: black;
}

.nav-wrapper .nav-tabs li .nav-link.active {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.product-box-content table {
    font-size: 14px;
}

.product-box-content table tr td:first-child {
    white-space: nowrap;
}

/* .product-box-content table tbody tr td:nth-child(2) p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
} */

.product-box-content table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-button a {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.group-button a:last-child {
    background: var(--primary);
    border-color: var(--primary);
}

.group-button a:last-child:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

@media (min-width: 1200px) and (max-width: 1399px) {

    .nav-wrapper .nav-tabs li .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 991px) {

    .products-item > div {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .product-box-content {
        padding-top: 30px;
    }

    .nav-wrapper,
    .nav-tabs-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        white-space: nowrap;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .nav-wrapper ul {
        flex-wrap: nowrap;
    }

    .product-box-content table tbody tr td:nth-child(2) p {
        -webkit-line-clamp: inherit;
    }
}

@media (max-width: 767px) {

    .group-button {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-tabs-wrapper ul {
        flex-wrap: nowrap;
    }
}

/*--------------------------------------------------------------
# Service Page
--------------------------------------------------------------*/

.page-service {
    background: url('../img/banner/banner.jpg') center no-repeat;
    background-size: cover;
    min-height: 700px;
    text-align: left;
}

.page-service h3,
.page-service .breadcrumb a,
.page-service .breadcrumb li,
.page-service .breadcrumb-item+.breadcrumb-item::before {
    color: var(--primary);
}

.office .service-thumb .img::after, 
.office .service-thumb .img::before {
    background: linear-gradient(359.91deg, #0C3D82 14.67%, rgba(12, 61, 130, 0) 99.93%);
}

.warehouse {
    background: linear-gradient(128.02deg, #FFFFFF 29.61%, #E5F0FF 63.1%, #FFFFFF 92.56%);
}

.warehouse-item a {
    color: white;
    display: block;
    position: relative;
    overflow: hidden;
}

.warehouse-thumb::before {
    padding-top: 60%;
}

.warehouse-thumb .img::after, 
.warehouse-thumb .img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, #04285B 0%, rgba(0, 0, 0, 0) 106.41%);
    width: 100%;
    height: 45%;
}

.warehouse-item a:hover .warehouse-thumb .img::after,
.warehouse-item a:hover .warehouse-thumb .img::before {
    background: transparent;
}

.warehouse-content {
    width: 65%;
    text-align: center;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.warehouse-content h6 {
    font-size: 20px;
    line-height: 52px;
    text-transform: uppercase;
    letter-spacing: .32px;
}

.warehouse-content h3 {
    font-size: 32px;
    line-height: 52px;
    text-transform: uppercase;
    letter-spacing: .32px;
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
}

.warehouse-content h3::after {
    content: '';
    width: 262px;
    height: 2px;
    background: transparent;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.warehouse-item a:hover .warehouse-content h3::after {
    background: white;
}

.warehouse-item a:hover .warehouse-content {
    bottom: inherit;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #CA2727D1;
    padding: 102px 45px;
    border-radius: 4px;
}

.machining .service-content {
    text-align: left;
    bottom: -60%;
    transition: all .5s ease;
}

.machining .service-item a:hover .service-content {
    bottom: 0;
}

.machining .service-content h6 {
    margin-bottom: 16px;
}

.machining .service-content p,
.machining .service-content ul {
    margin-bottom: 0;
    font-size: 14px;
}

.machining .service-content ul {
    padding-left: 20px;
}

.machining .service-thumb .img::after, 
.machining .service-thumb .img::before {
    height: 100%;
}

@media (max-width: 767px) {

    .page-service {
        min-height: 250px;
    }

    .warehouse-thumb::before {
        padding-top: 100%;
    }

    .warehouse-content {
        width: 75%;
    }

    .warehouse-item a:hover .warehouse-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .warehouse-content h6 {
        line-height: 32px;
    }

    .warehouse-content h3 {
        font-size: 22px;
        line-height: 42px;
    }

    .warehouse-content h3::after {
        width: 100%;
    }

    .machining .service-thumb::before {
        padding-top: 100%;
    }

    .machining .service-content {
        bottom: -80%;
        padding-bottom: 24px;
    }

    .machining .service-content h6 {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/*--------------------------------------------------------------
# Single Product Page
--------------------------------------------------------------*/

.item-product .thumb::before {
    padding-top: 75%;
}

.breadcrumbs-single {
    margin-bottom: 10px;
}

.breadcrumbs-single .breadcrumb-item+.breadcrumb-item::before {
    color: #8B8B8B;
}

.breadcrumbs-single a, 
.breadcrumbs-single li {
    font-size: 12px;
    line-height: 28px;
    text-transform: capitalize;
    letter-spacing: .32px;
    color: #8B8B8B;
}

.breadcrumbs-single li.active {
  color: var(--primary);
  text-decoration: underline;
}

.single-product--info h1 {
    color: var(--primary);
    font-size: 32px;
    line-height: 40px;
    letter-spacing: .32px;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.product-short-description {
    font-size: 14px;
    margin-bottom: 30px;
}

.nav-tabs-wrapper {
    margin-bottom: 52px;
}

.nav-tabs-wrapper .nav-tabs {
    border-bottom-color: var(--primary);
}

.nav-tabs-wrapper .nav-tabs .nav-link {
    font-family: 'SVN-Gilroy Bold';
    font-size: 22px;
    line-height: 40px;
    text-transform: uppercase;
    color: var(--primary);
}

.nav-tabs-wrapper .nav-tabs .nav-link:focus, 
.nav-tabs-wrapper .nav-tabs .nav-link:hover {
    border-color: transparent;
}

.nav-tabs-wrapper .nav-tabs .nav-link.active {
    border-color: var(--primary) var(--primary) white;
}

.table-product--detail thead {
    vertical-align: middle;
}

.table-product--detail thead th {
    background: var(--primary);
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.product-detail--description,
.table-product--detail tbody {
    font-size: 14px;
}

@media (max-width: 991px) {

    .nav-tabs-wrapper .nav-tabs .nav-link {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Shareholders Page
--------------------------------------------------------------*/

.page-shareholders {
    background: url('../img/bg-shareholders.jpg') center no-repeat;
    background-size: cover;
    text-align: left;
}

.page-shareholders h3 {
    font-size: 64px;
    line-height: 93px;
}

.shareholders-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.shareholders-item {
    grid-column: span 3;
}

.shareholders-item.item-large {
    grid-column: span 6;
}

.shareholders-item a {
    display: block;
    position: relative;
    overflow: hidden;
    color: white;
    text-transform: capitalize;
}

.shareholders-item.item-large .shareholders-thumb::before {
    padding-top: 48.5%;
}

.shareholders-thumb .img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(12, 61, 130, 0) 0%, #0C3D82 100%);
    width: 100%;
    height: 35%;
}

.shareholders-item a:hover .img::before {
    display: none;
}

.shareholders-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 33px;
}

.shareholders-item a:hover .shareholders-content {
    background: #CA2727E5;
}

@media (max-width: 991px) {

    .shareholders-item {
        grid-column: span 6;
    }

    .shareholders-item.item-large {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {

    .page-shareholders h3 {
        font-size: 36px;
        line-height: 56px;
    }

    .shareholders-item {
        grid-column: span 12;
    }

    .shareholders-item.item-large .shareholders-thumb::before {
        padding-top: 75%;
    }
}

/*--------------------------------------------------------------
# About Page
--------------------------------------------------------------*/

.about-wrapper {
    min-height: auto;
}

.about-wrapper .about-content p {
    text-align: justify;
}

.about-content h6 {
    color: var(--primary);
    line-height: 32px;
    text-transform: uppercase;
    margin: 14px 0 21px;
}

.about-core {
    position: relative;
    overflow: hidden;
}

.core-thumb::before {
    padding-top: 150%;
}

.core-thumb .img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(242, 247, 255, 0) 0%, #F2F7FF 60.34%);
    width: 100%;
    height: 80%;
}

.about-core:hover .img::before {
    background: linear-gradient(180deg, rgba(12, 61, 130, 0) 0%, #0C3D82 77.88%);
}

.about-core.middle .core-thumb .img::before {
    height: 50%;
}

.core-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 77px 63px;
    font-size: 14px;
    color: var(--primary);
}
.core-content p{
    text-align: justify;
}
.about-core:hover .core-content {
    color: white;
}

.about-core.middle .core-content {
    min-height: 370px;
}

.core-content h3 {
    font-size: 48px;
    line-height: 60px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hmc-mess {
    background: url('../img/bg-mess.jpg') center no-repeat;
    background-size: cover;
    min-height: 810px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 14px;
}

.hmc-mess h2 {
    font-size: 54px;
    line-height: 72px;
    letter-spacing: .48px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.timeline-wrapper {
    position: relative;
    overflow-x: auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.timeline-item {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 90px;
    width: calc(100% + 50px);
    border: 1px dashed var(--primary);
    z-index: 1;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-img {
    position: relative;
    z-index: 2;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    object-fit: cover;
}

.timeline-img::before {
    content: '';
    background: url('../img/line-border.png') center no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.timeline-img img {
    padding: 15px;
}

.timeline-date {
    font-family: 'SVN-Gilroy Bold';
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .64px;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(87.75deg, #0C3D82 29.56%, #529AFF 98.11%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.timeline-text {
    visibility: hidden;
    font-size: 13px;
    height: 168px;
}

.timeline-item:hover .timeline-text {
    visibility: visible;
}

.leader {
    background: url('../img/bg-directors.jpg') center no-repeat;
    background-size: cover;
    min-height: 810px;
    display: flex;
    align-items: center;
}

.title-leader {
    margin-bottom: 42px;
}

.title-leader h2 {
    font-size: 64px;
    line-height: 72px;
    letter-spacing: .48px;
    text-transform: uppercase;
}

.leader .nav-wrapper .nav-tabs {
    border-bottom: none;
}

.leader .nav-wrapper .nav-tabs li .nav-link {
    color: white;
    border-bottom: 1px solid transparent;
    font-size: 20px;
    line-height: 1.4;
    text-transform: capitalize;
}

.leader .nav-wrapper .nav-tabs li .nav-link.active {
    background-color: transparent;
    color: white;
    border-bottom-color: white;
}

.leader-item {
    text-align: center;
}

.leader-content {
    font-size: 12px;
    line-height: 20px;
    margin-top: 18px;
}

.leader-content h6 {
    line-height: 20px;
}

.departments {
    background: url('../img/bg-departments.jpg') center no-repeat;
    background-size: cover;
    padding: 151px 0 82px;
}

.departments .title-wrapper h2 {
    font-size: 18px;
    line-height: 24px;
}

.office-block {
    margin-bottom: 225px;
}

.horizontal-line {
    width: 745px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1px;
    background-color: var(--primary);
    z-index: 1;
}

.office-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.office-item {
    position: relative;
    padding-top: 64px;
    margin-top: -12px;
    flex: 0 0 calc(33.33333333333333% - 30px);
    max-width: calc(33.33333333333333% - 30px);
}

.office-item.second {
    padding-top: 20px
}

.vertical-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 64px;
    background-color: var(--primary);
    border-radius: 1.5px;
}

.office-item.second .vertical-line {
    height: 327px;
    top: -307px;
}

.office-box {
    background: white;
    padding: 20px 33px;
    border-radius: 24px;
    height: 100%;
}

.office-box h6,
.affiliated-box h6 {
    line-height: 24px;
    margin-bottom: 4px;
}

.office-box p,
.affiliated-box p {
    font-size: 14px;
    margin-bottom: 4px;
}

.office-box ul,
.affiliated-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-box li {
    line-height: 28px;
    word-break: break-word;
}

.office-box li:not(:last-child),
.affiliated-box li:not(:last-child) {
    margin-bottom: 10px;
}

.affiliated .horizontal-line {
    top: 0;
    left: 50%;
    transform: translateY(0) translateX(-50%);
    width: 835px;
}

.affiliated-item .vertical-line {
    top: -30px;
    height: 30px;
}

.affiliated:not(:last-child) {
    margin-bottom: 27px;
}

.affiliated-item {
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    position: relative;
    background: white;
    margin-top: 30px;
    padding: 17px 20px;
    border-radius: 24px;
}

.affiliated-box li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 14px;
    line-height: 24px;
    word-break: break-word;
}

.affiliated.second .horizontal-line {
    width: 560px;
}

@media (min-width: 1400px) {

    .horizontal-line {
        width: 865px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .office-box {
        padding-left: 24px;
        padding-right: 24px;
    }

    .office-box li {
        display: flex;
        align-items: flex-start;
        gap: 5px;
    }

    .office-item.second .vertical-line {
        height: 415px;
        top: -395px;
    }

    .affiliated .horizontal-line {
        width: 550px;
    }

    .affiliated .office-wrapper {
        justify-content: space-between;
        gap: inherit;
    }

    .affiliated.second .office-wrapper {
        gap: 30px;
    }

    .affiliated-item {
        padding: 12px;
    }

    .affiliated.second .affiliated-item {
        max-width: 30%;
        flex: 0 0 30%;
    }

    .affiliated.second .horizontal-line {
        width: 485px;
    }
}

@media (max-width: 991px) {

    .about-core.middle .core-content {
        min-height: 314px;
    }

    .core-content {
        padding: 24px;
    }

    .core-content h3 {
        font-size: 32px;
        line-height: 38px;
    }

    .timeline-wrapper {
        flex-wrap: nowrap;
    }

    .timeline-item {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .horizontal-line {
        width: 465px;
    }
}

@media (max-width: 767px) {

    .about-wrapper {
        background-position: left;
    }

    .core-content {
        padding: 24px;
    }

    .hmc-mess {
        min-height: 410px;
    }

    .timeline-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .title-leader {
        margin-bottom: 32px;
    }

    .title-leader h2 {
        font-size: 36px;
        line-height: 56px;
    }

    .departments {
        padding: 48px 0;
    }

    .office-block {
        margin-bottom: 48px;
    }

    .horizontal-line,
    .vertical-line {
        display: none;
    }

    .office-wrapper {
        margin-top: 32px;
    }

    .office-item,
    .affiliated-item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .office-item.second {
        padding: 0;
        margin: 0;
    }

    .affiliated-box {
        margin: 0;
    }
}

/* =========================================================
   NEWS MODULE – SINGLE + RELATED + SIDEBAR (SCOPED)
   Áp dụng cho:
   - .banner-page, .single-post-area (single)
   - .related-articles (owl carousel)
   - .blog_right_sidebar (featured list)
   Dùng chung token với module .news
========================================================= */
    /* --primary: #0C3D82; */
    /* --secondary: #B2D2FF; */
:where(.news, .single-post-area, .related-articles, .blog_right_sidebar){
  --news-text:#0C2233;            /* body text (đậm hơn để hợp xanh) */
  --news-heading:#0A2D61;         /* title – xanh navy HMAFU */
  --news-accent:#1E88E5;          /* xanh HMAFU chủ đạo (#1E88E5) */
  --news-surface:#ffffff;         /* nền card */
  --news-muted:#6e7f91;           /* text-muted xanh xám */
  --news-border:1px solid rgba(30,136,229,.18);   /* viền xanh nhạt */
  --news-shadow:0 6px 18px rgba(14,40,68,.12);    /* bóng xanh navy */
  --news-ring:0 0 0 3px rgba(30,136,229,.25);     /* hiệu ứng ring */
}


/* =======================
   Banner page (cover)
======================= */
.banner-page{
  position:relative; overflow:hidden; border-radius:16px; margin-bottom:18px;
}
.banner-page .bg-cover img{ width:100%; height:360px; object-fit:cover; display:block; }
@media (max-width: 768px){
  .banner-page .bg-cover img{ height:240px; }
}

/* =======================
   Single Post Card
======================= */
.single-post-area .single-post{
  background: var(--news-surface);
  border: var(--news-border);
  border-radius:16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.single-post-area .blog_single_details h2{
  color: var(--news-heading);
  font-weight: 800;
  line-height: 1.25;
}
.single-post-area .blog_single_details .small,
.single-post-area .blog_single_details .text-muted{ color: var(--news-muted)!important; }

.single-post-area .news-image{ background:#f4f7f6; border-radius:12px; overflow:hidden; }
.single-post-area .news-image img{ object-fit:cover; transition: transform .35s ease; }
.single-post-area .news-image:hover img{ transform: scale(1.03); }

/* Tags */
.single-post-area .badge{ 
  border:1px solid rgba(79,209,179,.45);
  background: rgba(79,209,179,.12);
  color:#065f55;
  font-weight:600;
  border-radius:999px;
}

/* Content body */
/* Share buttons */
.single-post-area .btn.btn-outline-secondary{
  border-color: rgba(10,78,71,.25);
  color: var(--news-heading);
}
.single-post-area .btn.btn-outline-secondary:hover{
  background: var(--news-accent);
  border-color: var(--news-accent);
  color:#0b2f2a;
  box-shadow: var(--news-ring);
}

/* =======================
   Related Articles (Owl)
======================= */
.related-articles{
  margin-top: 8px;
  padding: 8px 36px; /* chừa khoảng cho nút prev/next */
}
.related-articles .section-title h3{ 
  color: var(--news-heading);
  font-weight: 800;
}

/* Item card */
.related-articles__item.card{
  border: var(--news-border);
  border-radius:14px;
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.related-articles__item.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--news-shadow);
  border-color: rgba(79,209,179,.55);
}
.related-articles__item .card-img-top{
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Date badge trên ảnh */
.related-articles__date{
  position:absolute; top:10px; left:10px; z-index:2;
  padding:6px 10px; border-radius:999px;
  background: rgba(0,0,0,.55); color:#fff; font-size:.8rem; font-weight:600;
  backdrop-filter: blur(2px);
}

/* Title */
.related-articles__title{
  display:block;
  color: var(--news-heading);
  font-weight: 700;
  line-height: 1.35;
  text-decoration:none;
  transition: color .2s ease;
}
.related-articles__title:hover{ color: var(--news-accent); }

/* Nav buttons (custom outside Owl) */
.related-articles__nav{
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(10,78,71,.12);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  z-index:3;
}
.related-articles__nav i{ font-size:.9rem; }
.related-articles__nav:hover{
  background: var(--news-accent); border-color: var(--news-accent); color:#0b2f2a;
}
.related-articles__nav--prev{ left: 0; }
.related-articles__nav--next{ right: 0; }

/* Owl dots/arrows (nếu bật) */
.related-articles .owl-dots .owl-dot span{
  background:#cfd8dc; width:8px; height:8px;
}
.related-articles .owl-dots .owl-dot.active span{ background: var(--news-accent); transform: scale(1.08); }

/* =======================
   Sidebar Featured List
======================= */
.blog_right_sidebar .single_sidebar_widget{
  background: var(--news-surface);
  border: var(--news-border);
  border-radius:16px;
  padding:18px;
}
.blog_right_sidebar h3{
  color: var(--news-heading);
  font-weight:800;
  margin-bottom:14px;
}

/* Item */
.blog_right_sidebar .newslist_page{
  display:grid; grid-template-columns: 110px 1fr; gap:12px;
  padding:10px; border-radius:12px;
  transition: background .2s ease;
}
.blog_right_sidebar .newslist_page:hover{
  background: rgba(79,209,179,.06);
}
.blog_right_sidebar .newslist_img .ratio{ background:#f4f7f6; }
.blog_right_sidebar .newslist_img img{ object-fit:cover; }

/* Title */
.blog_right_sidebar .newslist_title a{
  color: var(--news-heading);
  font-weight:700; line-height:1.35; text-decoration:none;
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
}
.blog_right_sidebar .newslist_title a:hover{ color: var(--news-accent); }

/* Optional desc nếu bật lại */
.blog_right_sidebar .newslist_desc{
  color: var(--news-muted); font-size:.92rem;
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
}

/* =======================
   Utilities & responsive
======================= */
.single-post-area .stretched-link::after{ position:static; } /* tránh tràn */
@media (max-width: 992px){
  .related-articles{ padding: 8px 28px; }
  .related-articles__nav{ width:36px; height:36px; }
  .blog_right_sidebar .newslist_page{ grid-template-columns: 100px 1fr; }
}
@media (max-width: 576px){
  .related-articles{ padding: 8px 20px; }
  .blog_right_sidebar .newslist_page{ grid-template-columns: 90px 1fr; gap:10px; }
}
/* =========================================
   NEWS MODULE (HMAFU BLUE THEME)
========================================= */
.news{
  /* Tokens – HMAFU Blue */
  --news-text:#0C2233;            /* body text xanh navy đậm */
  --news-heading:#0A2D61;         /* title – navy HMAFU */
  --news-accent:#1E88E5;          /* xanh HMAFU chính */
  --news-surface:#ffffff;         /* nền card */
  --news-muted:#6e7f91;           /* muted xanh xám */
  --news-ring:0 0 0 3px rgba(30,136,229,.25);
  --news-shadow:0 6px 18px rgba(10,45,97,.12);
  --news-shadow-lg:0 10px 28px rgba(10,45,97,.15);
  --news-border:1px solid rgba(30,136,229,.20);
}

/*-----------------------------
# News Slider
------------------------------*/
.news .news-slider{ position:relative; overflow:hidden; }
.news .news-slider .swiper-slide{ display:flex; justify-content:center; }

.news .slide-row{
  display:flex; align-items:center; gap:30px;
  background:#f5f8fb; 
  border-radius:16px; 
  box-shadow:0 4px 14px rgba(10,45,97,.08);
  padding:20px; 
  transition:all .3s ease;
}
.news .slide-row:hover{ transform:translateY(-4px); box-shadow:var(--news-shadow); }

.news .img-slide{ flex:0 0 45%; border-radius:12px; overflow:hidden; }
.news .img-slide img{ width:100%; height:280px; object-fit:cover; transition:transform .4s ease; }
.news .slide-row:hover .img-slide img{ transform:scale(1.05); }

.news .content-slide{ flex:1; }
.news .content-slide h6{
  font-size:.9rem; 
  color:var(--news-muted); 
  text-transform:uppercase; 
  margin-bottom:6px;
}
.news .content-slide h3{
  font-size:1.3rem; 
  font-weight:700; 
  margin-bottom:10px; 
  color:var(--news-heading);
}
.news .content-slide h3 a{
  color:var(--news-heading); 
  text-decoration:none; 
  transition:color .3s ease;
}
.news .content-slide h3 a:hover{ color:var(--news-accent); }
.news .content-slide p{
  color:var(--news-text); 
  opacity:.9; 
  font-size:1rem; 
  line-height:1.6; 
  margin:0;
  display:-webkit-box; 
  -webkit-line-clamp:4; 
  -webkit-box-orient:vertical; 
  overflow:hidden;
}

/* Pagination */
.news .swiper-pagination-news{ bottom:-15px !important; }
.news .swiper-pagination-bullet{
  background:#c9d6e2; 
  opacity:1; 
  margin:0 4px !important; 
  transition:background .3s ease, transform .2s ease;
}
.news .swiper-pagination-bullet-active{
  background:var(--news-accent); 
  transform:scale(1.08);
}

/*-----------------------------
# News Tabs
------------------------------*/
.news .news-posts{ margin-top:36px; }

.news .news-posts .nav-tabs{
  border:0; 
  justify-content:center; 
  gap:10px; 
  flex-wrap:wrap; 
  padding:6px;
  background: rgba(30,136,229,.08);   /* xanh nhạt */
  border-radius:999px;
}
.news .news-posts .nav-tabs .nav-link{
  position:relative; 
  border:1px solid transparent; 
  border-radius:999px;
  padding:8px 18px; 
  background:transparent; 
  color:var(--news-heading);
  font-weight:600; 
  letter-spacing:.2px; 
  transition:.25s ease; 
  outline:0;
}
.news .news-posts .nav-tabs .nav-link:hover{
  border-color: rgba(30,136,229,.40); 
  background: rgba(30,136,229,.10);
}
.news .news-posts .nav-tabs .nav-link.active{
  color:#062d5a;
  background: radial-gradient(
      120% 120% at 50% 0%, 
      rgba(30,136,229,.20) 0%, 
      rgba(30,136,229,.12) 60%, 
      rgba(30,136,229,.04) 100%
  );
  border-color: rgba(30,136,229,.55); 
  box-shadow: 0 6px 18px rgba(30,136,229,.25);
}
.news .news-posts .nav-tabs .nav-link:focus-visible{
  box-shadow: var(--news-ring);
}

.news .news-posts .tab-content{ margin-top:22px; }

/* Cards */
.news .news-posts .card{
  border:var(--news-border); 
  border-radius:14px; 
  overflow:hidden; 
  background:var(--news-surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news .news-posts .card:hover{
  transform: translateY(-6px); 
  box-shadow: var(--news-shadow-lg);
  border-color: rgba(30,136,229,.55);
}
.news .news-posts .ratio{ background:#f0f4f8; }
.news .news-posts .card-img-top{ object-fit:cover; transition:transform .35s ease; }
.news .news-posts .card:hover .card-img-top{ transform:scale(1.045); }

.news .news-posts .card-body{ padding:16px 16px 18px; }
.news .news-posts .news-title{ margin:0 0 6px; line-height:1.35; }
.news .news-posts .news-title a{
  color:var(--news-heading); 
  font-weight:700; 
  font-size:1rem; 
  text-decoration:none; 
  transition: color .2s ease;
}
.news .news-posts .news-title a:hover{ color:var(--news-accent); }
.news .news-posts .card-text{
  margin:0; 
  color:var(--news-muted); 
  font-size:.92rem;
  display:-webkit-box; 
  -webkit-line-clamp:3; 
  -webkit-box-orient:vertical; 
  overflow:hidden;
}

/* Badge HMAFU */
.news .badge-accent{
  display:inline-block; 
  padding:4px 10px; 
  border-radius:999px;
  background: rgba(30,136,229,.15); 
  color:#0A2D61; 
  border:1px solid rgba(30,136,229,.45);
  font-weight:600; 
  font-size:.75rem;
}

/*-----------------------------
# Responsive
------------------------------*/
@media (max-width: 992px){
  .news .slide-row{ flex-direction:column; }
  .news .img-slide{ flex:none; width:100%; }
  .news .img-slide img{ height:220px; }
  .news .content-slide{ text-align:center; }

  .news .news-posts .nav-tabs{ gap:8px; padding:6px; }
  .news .news-posts .nav-link{ padding:7px 14px; font-size:.95rem; }
}
@media (max-width: 576px){
  .news .content-slide h3{ font-size:1.1rem; }
  .news .content-slide p{ font-size:.95rem; }
  .news .news-posts{ margin-top:28px; }
  .news .news-posts .news-title a{ font-size:.98rem; }
}
