/* --- File: mobileres.css --- */

@media (max-width:768px) {

    .swiperslide {
        height: auto !important;
    }

    .breadcrumb {
        margin-top: 0.5rem !important;
        padding: 0.5rem 0 !important;
        margin-bottom: 0.5rem !important;
    }

    /* .thumnail-product a img {
        max-height: 180px !important;
    } */

    .swiper-container-multirow .swiper-slide {
        height: 310px !important;
    }

    img {
        width: auto\9;
        height: auto;
        vertical-align: middle;
        border: 0;
        -ms-interpolation-mode: bicubic;
    }
}

@media (max-width: 992px) {
    #header {
        height: 125px !important;
    }

    .swiper-slide .overlay-media img {
        border-radius: 10px;
    }

    .swiper-cbuttom .swiper-button-next,
    .swiper-cbuttom .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        line-height: 30px !important;
    }
}

@media (min-width: 1200px) {

    .container {
        max-width: 1200px;
    }
}

/* Font display overrides for icon fonts */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    background-color: #fff;
    /* #ededed; */
}

body,
input,
button,
textarea,
label,
h1,
h2,
h3,
h4,
h1 a,
h2 a,
h3 a,
h4 a {
    outline: none;
    zoom: 1;
    color: #000;
}

ul,
li,
ol {
    list-style: none;
    margin: 0px;
}

a,
p,
h1,
h2,
h3,
h4,
strong,
b {
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    line-height: 20px;
    margin: 0px;
}

#content {
    min-height: 400px;
}

@keyframes light-left {
    from {
        left: 0%;
        opacity: 1
    }

    to {
        left: 100%;
        opacity: 0
    }
}

@keyframes light-right {
    from {
        right: 0%;
        opacity: 1
    }

    to {
        right: 100%;
        opacity: 0
    }
}

.nav>li {
    position: relative;
    display: block;
}


/* for mobile tablet */


/* for boostrap */

.btn {
    font-weight: 500;
    border-radius: 5px;
}


/* for news flash */


/* for contents */


/* for memeber */


/* col-xl-9 */

.swiper-banner img {
    border-radius: 20px;
}

.swiper-container-multirow>.swiper-wrapper {
    flex-direction: inherit;
}

.swiper-container-multirow .swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: -55px !important;
    height: 400px;
    z-index: 9999;
}

.swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.gallery-top .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.gallery-thumbs .swiper-slide {
    width: 20%;
    height: 100%;
    margin-top: 10px;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}


/* css upload file */

.form-group>input {
    height: 42px;
    border-radius: 5px;
    border-color: #d9dbe4;
    transition: border-color .3s;
    -o-transition: border-color .3s;
    -ms-transition: border-color .3s;
    -moz-transition: border-color .3s;
    -webkit-transition: border-color .3s;
}


/*-- LIST ALL Lawer -- */

.btn-primary {
    background-color: #0069ff;
    border-color: #0069ff;
}


/*-- Detail Lawer --*/


/* -- phan trang --*/


/*hotline*/

img {
    border: 0;
    vertical-align: middle
}

@-webkit-keyframes wrench {
    0% {
        -webkit-transform: rotate(-12deg);
        transform: rotate(-12deg)
    }

    8% {
        -webkit-transform: rotate(12deg);
        transform: rotate(12deg)
    }

    10%,
    28%,
    30%,
    48%,
    50%,
    68% {
        -webkit-transform: rotate(24deg);
        transform: rotate(24deg)
    }

    18%,
    20%,
    38%,
    40%,
    58%,
    60% {
        -webkit-transform: rotate(-24deg);
        transform: rotate(-24deg)
    }

    100%,
    75% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
}

@keyframes wrench {
    0% {
        -webkit-transform: rotate(-12deg);
        -ms-transform: rotate(-12deg);
        transform: rotate(-12deg)
    }

    8% {
        -webkit-transform: rotate(12deg);
        -ms-transform: rotate(12deg);
        transform: rotate(12deg)
    }

    10%,
    28%,
    30%,
    48%,
    50%,
    68% {
        -webkit-transform: rotate(24deg);
        -ms-transform: rotate(24deg);
        transform: rotate(24deg)
    }

    18%,
    20%,
    38%,
    40%,
    58%,
    60% {
        -webkit-transform: rotate(-24deg);
        -ms-transform: rotate(-24deg);
        transform: rotate(-24deg)
    }

    100%,
    75% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }
}

/* --- File: page.css --- */

.card {
    border: 1px solid #dedede;
}


/*-- breadcrumb --*/

.breadcrumb {
    background-color: transparent;
    margin: 0.5rem 0;
    padding: 0.5rem 0rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb a {
    font-size: 14px;
    color: #9b9b9b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item.active {
    color: #9b9b9b;
}

.breadcrumb a:hover {
    text-decoration: none;
    color: #eb1e25;
}


/**-- bg-dark promo_banner --*/

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiperslide {
    width: 100%;
    height: 600px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 1;
    cursor: auto;
    pointer-events: none;
}

.swiper-cbuttom .swiper-button-prev {
    background: #f8f8f8;
    box-shadow: 0 1px 12px 0 rgb(0 0 0 / 12%);
    -webkit-transition: all .1s cubic-bezier(.4, 0, .6, 1);
    transition: all .1s cubic-bezier(.4, 0, .6, 1);
    left: 0;
}

.swiper-cbuttom .swiper-button-next {
    background: #f8f8f8;
    box-shadow: 0 1px 12px 0 rgb(0 0 0 / 12%);
    -webkit-transition: all .1s cubic-bezier(.4, 0, .6, 1);
    transition: all .1s cubic-bezier(.4, 0, .6, 1);
    right: 0;
}

.swiper-cbuttom .swiper-button-next,
.swiper-cbuttom .swiper-button-prev {
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
    display: block;
    padding: 5px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #5c5b5b;
    font-size: 1.2rem !important;
    line-height: 1;
}


/*-- index head --*/


/*-- index -- */

.lazyload,
.lazyloading {
    opacity: 0;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}


/*-- page detail --*/


/* Non solid icons get a stroke */


/* Solid icons get a fill */


/*-- other page --*/


/*-- Page --*/


/*content news*/


/*-- Footer --*/

#footer {
    background: linear-gradient(to right, #272d33, #453445) !important;
    color: #fff;
    text-align: unset;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/*paging*/


/* cart shopping */


/* add web to home mobile */


/* close icon */


/* applied only if the application icon is shown */

/* --- File: custom-new-erasol.css --- */
/* ============================================================
       PART 1 – CSS Variables + Reset + Header styles
    ============================================================ */
:root {
    --navy: #0b2341;
    --navy-light: #163a5f;
    --navy-soft: #2a5080;
    --gold: #c9a227;
    --gold-light: #e2c158;
    --gold-dark: #a8850f;
    --primary: var(--gold);
    --primary-dark: var(--gold-dark);
    --primary-light: var(--gold-light);
    --secondary: var(--navy);
    --secondary-light: var(--navy-light);
    --bg: #f8f9fc;
    --white: #ffffff;
    --text: #3d4f5f;
    --text-light: #64748b;
    --border: #e2e8f0;
    --overlay: rgba(11, 35, 65, 0.38);
    --font: 'Montserrat', sans-serif;
    --container: 1260px;
    --radius: 8px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--navy-light);
    text-decoration: none;
}

a:hover {
    color: var(--gold-dark);
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-pill {
    border-radius: 99px;
}

/* Scroll fade animation */

/* ── HEADER ─────────────────────────────────────────── */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(11, 35, 65, 0.06);
    border-bottom: 2px solid rgba(201, 162, 39, 0.35);
    transition: box-shadow var(--transition);
}

@media (max-width: 992px) {
    #header {
        height: 80px !important;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

#logo img {
    max-height: 100px;
    width: auto;
}

/* Desktop nav */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-desktop>li>a {
    display: block;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
    position: relative;
}

.nav-desktop>li>a:hover,
.nav-desktop>li.active>a {
    color: var(--gold-dark);
}

.nav-desktop>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-desktop>li>a:hover::after,
.nav-desktop>li.active>a::after {
    transform: scaleX(1);
}

/* Dropdown */

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    padding: 80px 24px 24px;
    overflow-y: auto;
}

#mobile-menu.open {
    display: block;
}

.mobile-nav {
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav .menu-item {
    display: flex;
    justify-content: center;
}

.mobile-nav li a {
    display: block;
    padding: 14px 0;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text);
}

#mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

#mobile-menu.active {
    right: 0;
}

/* header */

#mobile-close {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 40px;
    color: #444;
    cursor: pointer;
}

/* menu */

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 30px;
}

.mobile-nav li {
    margin-bottom: 18px;
}

.menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-height: 80px;
    border-radius: 18px;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
    padding: 0 25px;
    transition: .3s;
}

.menu-item:hover {
    background: #f5f8fc;
}

.menu-item.active {
    background: #fdfaf0;
    border-radius: unset;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-right: 20px;
}

/* nút liên hệ */

.contact-btn {
    background: var(--gold);
    color: var(--navy);
}

.contact-btn:hover {
    background: var(--gold-light);
}

/* contact */

.mobile-contact {
    padding: 30px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.mobile-contact h4 {
    margin: 0 0 25px;
    font-size: 18px;
    text-transform: uppercase;
    color: #1f2937;
}

.contact-item {
    margin-bottom: 18px;
    font-size: 18px;
    color: #374151;
}

/* mobile nhỏ */

@media(max-width:480px) {

    .mobile-nav {
        padding: 20px;
    }

    .menu-item {
        min-height: 70px;
        font-size: 18px;
    }

    .icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* ============================================================
       PART 2 – Section Hero, Intro, Categories
    ============================================================ */

/* Hero */

/* Intro */

/* Categories */

/* ============================================================
       PART 3 – Section Projects (custom slider) + Featured grid
    ============================================================ */

/* Custom slider */

/* Slider nav buttons */

/* Dots */

/* Featured Projects grid */

/* ============================================================
       PART 4 – Section CTA, Services, Why Choose
    ============================================================ */

/* CTA Banner */

/* Adjust banner height on smaller screens to prevent image cropping */

/* On mobile screens, scale the container height using aspect-ratio if there is no text content */

/* Services header */

/* Services grid */

/* Why Choose */

/* ============================================================
       PART 5 – Partners + Footer
    ============================================================ */

/* Footer */
footer {
    background: var(--white);
    border-top: 3px solid var(--gold);
    padding: 50px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 64px;
    padding-bottom: 40px;
    align-items: start;
}

.footer-col {
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-col__subtitle {
    margin-top: 20px;
}

.footer-col p {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    margin-bottom: 6px;
}

.footer-col p strong {
    font-weight: 700;
    color: inherit;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 7px;
}

.footer-col ul li a {
    font-size: inherit;
    color: inherit;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-dark);
}

.footer-logo {
    max-width: 180px;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    /* Soft border radius */
    background-color: #ffffff;
    /* Protective white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Soft shadow to separate from background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Minimal light border */
    margin-bottom: 12px;
    display: inline-block;
    transition: transform var(--transition), box-shadow var(--transition);
}

.footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: inherit;
    color: inherit;
}

.contact-item i {
    color: var(--gold);
    font-size: 14px;
    margin-top: 3px;
    min-width: 16px;
}

.contact-item a {
    font-size: inherit;
    color: inherit;
}

.contact-item a:hover {
    color: var(--gold-dark);
}

.social-row {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.social-row a {
    font-size: 20px;
    color: var(--text);
    transition: color var(--transition), transform var(--transition);
}

.social-row a:hover {
    color: var(--gold-dark);
    transform: scale(1.12);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

/* Floating action buttons */
.fab-container {
    position: fixed;
    bottom: 28px;
    right: 20px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.fab-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.fab-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.fab-scroll {
    background: #607d8b;
    border: none;
}

.fab-scroll svg {
    stroke: white;
}

.fab-mess {
    background: #0084ff;
}

.fab-zalo {
    background: #0068ff;
}

.fab-phone {
    background: #4caf50;
}

/* Back to top */
#back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
       RESPONSIVE
    ============================================================ */

@media (max-width: 768px) {

    .nav-desktop,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Why Choose */
}

/* 1. logo */
#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #040e17; */
    padding: 8px 8px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(4, 14, 23, 0.25); */
    align-self: flex-start;
    height: 90px;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#logo:hover {
    transform: translateY(2px);
    box-shadow: 0 6px 20px rgba(4, 14, 23, 0.35);
}

#logo img {
    max-height: 90px !important;
    width: auto;
    filter: none !important;
}

@media (max-width: 992px) {
    #logo {
        height: 80px;
        padding: 6px 16px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    #logo img {
        max-height: 64px !important;
    }
}

/*
============================================================
   PART 6 – Archive Pages Header Banner (Projects, News, Recruitment)
============================================================
*/

/* --- File: custom-new-erasol-subpage.css --- */
/**ABOUT PAGE */

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ✅ Không cho xuống dòng lẻ từ cuối */

/* ===== CTA ===== */

/* Nút 1: Gradient tím than */

/* Nút 2: Gradient gold */

/* Hover */

/* ===== Dự án ===== */

/* ===== Đối tác ===== */

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

    h2 {
        font-size: 1.5rem;
    }
}

/* Tự động xuống dòng phần sau dấu – trên mobile */

/** PROJECT LISTING PAGE */

/* ==========================
   DETAIL PROJECT
========================== */

.project-detail-view {
    background: #fff;
    padding-bottom: 80px;
}

.project-detail-view__container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 24px;
}

.project-detail-view__header {
    padding-top: 24px;
}

.project-detail-view__header-inner {
    text-align: center;
    padding-bottom: 32px;
}

.project-detail-view__category {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-detail-view__category a {
    color: #c9a227;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-detail-view__category a:hover {
    color: #0b2341;
}

.project-detail-view__title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0b2341;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.project-detail-view__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.project-detail-view__badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 99px;
}

.project-detail-view__badge--location {
    background: rgba(11, 35, 65, 0.06);
    color: #0b2341;
}

.project-detail-view__badge--type {
    background: #0b2341;
    color: #fff;
}

.project-detail-view__divider {
    display: block;
    width: 48px;
    height: 2px;
    background: #c9a227;
    margin: 20px auto 0;
}

.project-detail-view__hero {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.project-detail-view__hero-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.project-detail-view__hero-img {
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    display: block;
}

.project-detail-view__intro {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.75;
    color: #a8850f;
    font-weight: 600;
    text-align: center;
}

.project-detail-view__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-detail-view__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.project-detail-view__share-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    margin-right: 4px;
}

.project-detail-view__share-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0b2341;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-detail-view__share-btn:hover {
    background: #0b2341;
    border-color: #0b2341;
    color: #fff;
}

.project-detail-view__cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px 32px;
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(to right, #0b2341, #163a5f);
    border-radius: 10px;
    color: #fff;
}

.project-detail-view__cta-text {
    flex: 1 1 260px;
    max-width: 360px;
}

.project-detail-view__inquiry {
    flex: 1 1 320px;
    max-width: 480px;
    width: 100%;
}

.project-detail-view__inquiry-form .form-group {
    margin-bottom: 14px;
}

.project-detail-view__inquiry-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
}

.project-detail-view__inquiry-input {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #0b2341;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-detail-view__inquiry-input:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.project-detail-view__inquiry-input::placeholder {
    color: #94a3b8;
}

textarea.project-detail-view__inquiry-input {
    min-height: 88px;
    resize: vertical;
}

.project-detail-view__inquiry-error {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #ffd6d6;
    line-height: 1.4;
}

.project-detail-view__inquiry-actions {
    margin-top: 6px;
}

.project-detail-view__inquiry-submit {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #c9a227, #e2c158);
    color: #0b2341;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-detail-view__inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-detail-view__cta-text h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #fff;
}

.project-detail-view__cta-text p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.9;
}

/* Content blocks (from CKEditor / legacy HTML) */
.project-detail-view__content h2,
.project-detail-view__content h3,
.project-detail-view__content h4 {
    color: #0b2341;
    font-weight: 700;
    line-height: 1.4;
    margin: 2em 0 0.75em;
    text-transform: uppercase;
}

.project-detail-view__content h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.project-detail-view__content p {
    margin: 0 0 1.2em;
}

.project-detail-view__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-detail-view__content ul,
.project-detail-view__content ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.project-detail-view__content a {
    color: #c9a227;
}

.project-detail-view__content .swiper {
    width: 100%;
}

.project-detail-view__content .swiper-slide {
    height: 240px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.project-detail-view__content .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-detail-view__content .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
    border-radius: 8px;
}

.project-detail-view__content .swiper-button-next,
.project-detail-view__content .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #0b2341 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.project-detail-view__content .swiper-button-next::after,
.project-detail-view__content .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold;
}

@media (max-width: 768px) {

    .project-detail-view {
        padding-bottom: 56px;
    }

    .project-detail-view__container,
    .project-detail-view__hero {
        padding: 0 16px;
    }

    .project-detail-view__header-inner {
        padding-bottom: 24px;
    }

    .project-detail-view__intro {
        text-align: left;
    }

    .project-detail-view__cta-box {
        flex-direction: column;
        padding: 24px 20px;
    }

    .project-detail-view__cta-text,
    .project-detail-view__inquiry {
        max-width: 100%;
    }

    .project-detail-view__inquiry-submit {
        width: 100%;
    }

    .project-detail-view__share {
        justify-content: center;
    }
}

/* =========================
   NEWS / BLOG LIST
========================= */

/* =========================
   NEWS DETAIL
========================= */

/* --- Inline View CSS & Feedback Fixes --- */
/* Smooth Scroll and Padding for Sticky Header */
html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 100px !important;
}

/* Base Google Font Override & Font Fix for UTM Fonts */
@font-face {
    font-family: 'utm_avobold';
    src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'utm_avoregular';
    src: local('Montserrat Regular'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
    font-weight: normal;
}

body,
html,
h1,
h2,
h3,
h4,
p,
span,
a,
input,
textarea,
button {
    font-family: 'Montserrat', 'Outfit', sans-serif !important;
}

/* Style small images to be centered */
.content-img-small {
    display: block !important;
    margin: 1.5rem auto !important;
    max-width: 100% !important;
    height: auto !important;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.content-img-small:hover {
    transform: scale(1.02);
}

/* Style single large images to be centered and full width */
.content-img-single {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 2rem auto !important;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 61, 46, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-img-single:hover {
    transform: scale(1.01);
    box-shadow: 0 24px 55px rgba(15, 61, 46, 0.25);
}

/* Map text-align to flex alignment for CKEditor content containing flex layouts */

/* Custom breadcrumbs styling for static page */
.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    list-style: none;
    display: none;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item a {
    color: #0b2341;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #c9a227;
}

/* Input helper for access key */

/* --- Styles extracted from test.html --- */
.gen-style-1 {
    padding: 64px 20px;
    background: #f7f6f1;
}

.gen-style-2 {
    max-width: 1160px;
    margin: 0px auto;
    display: flex;
    gap: 46px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.gen-style-3 {
    flex: 1;
    min-width: 300px;
}

.gen-style-4 {
    display: inline-block;
    color: #c9a227;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.gen-style-5 {
    font-size: 30px;
    font-weight: 800;
    color: #0f3d2e;
    margin: 0 0 22px;
}

.gen-style-6 {
    width: 64px;
    height: 4px;
    background: #c9a227;
    border-radius: 4px;
    margin-bottom: 26px;
}

.gen-style-7 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gen-style-8 {
    display: flex;
    gap: 10px;
    padding: 12px 0px;
    border-bottom: 1px dashed rgb(221, 214, 194);
    font-size: 15px;
    justify-content: flex-start;
    align-items: center;
}

.gen-style-9 {
    color: #c9a227;
    font-weight: 800;
}

.gen-style-10 {
    color: #0f3d2e;
    font-weight: bold;
    text-decoration: none;
}

.gen-style-11 {
    display: flex;
    gap: 10px;
    padding: 12px 0px;
    font-size: 15px;
    justify-content: flex-start;
    align-items: center;
}

.gen-style-12 {
    padding: 64px 20px;
}

.gen-style-13 {
    max-width: 1160px;
    margin: 0 auto;
}

.gen-style-14 {
    text-align: center;
    margin-bottom: 30px;
}

.gen-style-15 {
    font-size: 30px;
    font-weight: 800;
    color: #0f3d2e;
    margin: 0 auto 8px;
}

.gen-style-16 {
    width: 64px;
    height: 4px;
    background: #c9a227;
    border-radius: 4px;
    margin: 14px auto 0;
}

.gen-style-17 {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 61, 46, .18);
    margin-bottom: 26px;
}

.gen-style-18 {
    max-width: 900px;
    margin: 0 auto 34px;
    color: #3a3f38;
    font-size: 15px;
}

.gen-style-19 {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 34px;
    justify-content: flex-start;
    align-items: center;
}

.gen-style-20 {
    flex: 1;
    min-width: 260px;
    background: #f7f6f1;
    border-radius: 14px;
    overflow: hidden;
}

.gen-style-21 {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.gen-style-22 {
    font-size: 16px;
    font-weight: bold;
    color: #0f3d2e;
    padding: 16px 18px;
    margin: 0;
}

.gen-style-23 {
    max-width: 900px;
    margin: 0 auto;
    color: #3a3f38;
    font-size: 15px;
}

.gen-style-24 {
    margin: 0 0 12px;
}

.gen-style-25 {
    margin: 0 0 14px;
    padding-left: 20px;
}

.gen-style-26 {
    padding: 5px 0;
}

.gen-style-27 {
    margin: 0;
}

.gen-style-28 {
    background: #f7f6f1;
    padding: 64px 20px;
}

.gen-style-29 {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 61, 46, .18);
    margin-bottom: 34px;
}

.gen-style-30 {
    font-size: 20px;
    font-weight: 800;
    color: #0f3d2e;
    margin: 0 0 14px;
}

.gen-style-31 {
    max-width: 900px;
    color: #3a3f38;
    font-size: 15px;
}

.gen-style-32 {
    margin: 0 0 26px;
    padding-left: 20px;
}

.gen-style-33 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.gen-style-34 {
    text-align: center;
}

.gen-style-35 {
    text-align: left;
}

.gen-style-36 {
    color: #3a3f38;
    font-size: 15px;
}

.gen-style-37 {
    margin: 0;
    padding-left: 20px;
}

.gen-style-38 {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 61, 46, .18);
    margin-bottom: 30px;
}

.gen-style-39 {
    flex: 1;
    min-width: 260px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 61, 46, .08);
}

.gen-style-40 {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.gen-style-41 {
    margin: 0px;
    text-align: center;
}

.gen-style-42 {
    margin: 0px;
    text-align: left;
}

.gen-style-43 {
    margin-bottom: 30px;
    text-align: left;
}

.gen-style-44 {
    margin: 0 0 22px;
}

.gen-style-45 {
    max-width: 900px;
    margin: 0 auto 34px;
}

.gen-style-46 {
    display: flex;
    gap: 10px;
    padding: 10px 0px;
    font-size: 14.5px;
    justify-content: flex-start;
    align-items: center;
}

.gen-style-47 {
    font-size: 14pt;
}

.gen-style-48 {
    font-size: 12pt;
}

.gen-style-49 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.gen-style-50 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
}