/* Component adjustments for the PHP templates and local interaction code. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #145ba1; outline-offset: 3px; }
[id] { scroll-margin-top: 135px; }
.sr-only, .inquiry-trap, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 5px; left: 5px; background: #fff; padding: .5rem 1rem; z-index: 9999; }
.image-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; background: #f3f4f6; }
#nav [data-submenu], .category-toggle { display: none; }
#nav .nav-ul > li:focus-within > .submenu { display: flex; }
.head-info button.mob-btn { background: transparent; }
.language-option { position: absolute; z-index: 1001; padding: 5px 12px; background: #fff; color: #111; }
.head-share .lang-icon { cursor: pointer; }
.head-share .lang-icon img { width: 24px; height: 16px; margin-right: 8px; object-fit: contain; }
.home-service .service-item .title a { color: #ecef12; font-weight: 700; }
.home-service .service-item .title a:hover { text-decoration: underline; }
.search-input input { min-width: 0; }
.search-page-container .page-main, .full-width-page .page-main { width: 100%; padding-right: 0; }
.search-page-form { max-width: 720px; }
.search-page-form input { min-width: 0; }
.category-toggle { width: 100%; background: transparent; text-align: left; }
.public-why { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; margin-bottom: 36px; padding: 28px; background: #f8f8f8; }
.public-why h2 { margin-bottom: 12px; }
.public-why ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.public-why strong { color: #b64b08; }
.prodetails-top .singglepic img { object-fit: contain; }
.public-article { overflow-wrap: anywhere; }
.public-article li { list-style: revert; }
.public-article table { display: block; overflow-x: auto; }
.public-article img { height: auto; }
.news-info .date { display: block; }
.news-content-head { text-align: center; margin-bottom: 20px; }
.news-content-head h2 { font-size: clamp(1.35rem, 3vw, 2.15rem); }
.news-content-head time { color: #995023; }
.public-inquiry { width: min(100%, 500px); background: #6efaf1; border: 1px solid #eee; border-radius: 10px; padding: 25px; margin: 30px 0; }
.public-inquiry input:not([type=hidden]), .public-inquiry textarea { width: 100%; padding: 12px; margin: 8px 0; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #111; }
.public-inquiry textarea { resize: vertical; }
.public-inquiry button { width: 100%; padding: 14px; background: #006bdb; color: #fff; border-radius: 6px; }
.public-inquiry button:hover { background: #0059b7; }
.inquiry-status { margin: 10px 0; padding: 8px 12px; background: #f1fff2; color: #114519; }
.inquiry-status.error { background: #fff1ef; color: #861b12; }
.inquiry-success-dialog {
    width: min(calc(100% - 32px), 440px);
    margin: auto;
    padding: 30px 24px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #171e28;
    text-align: center;
    box-shadow: 0 16px 48px #0003;
}
.inquiry-success-dialog::backdrop { background: #14203399; }
.inquiry-success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e4f6eb;
    color: #15803d;
}
.inquiry-success-dialog h2 { margin: 0 0 10px; font-size: clamp(20px, 5vw, 24px); line-height: 1.25; }
.inquiry-success-dialog p { margin: 0 0 20px; color: #4b5663; line-height: 1.55; }
.inquiry-success-dialog button { width: auto; min-width: 108px; padding: 10px 20px; }
.inquiry-success-dialog button:focus-visible { outline: 2px solid #213950; outline-offset: 3px; }
.contact-wrap { align-items: flex-start; gap: 32px; }
.contact-wrap .contact-sidebar { margin-top: 0; background: #ae4c0b; }
.contact-wrap .public-inquiry { margin-top: 0; }
.contact-qr { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contact-qr img { width: min(37%, 160px); height: auto; }
.contact-map-link { display: inline-block; margin-top: 8px; text-decoration: underline !important; }
.youtube-frame, .youtube-player { width: 100%; max-width: 100%; border: 0; display: block; aspect-ratio: 16 / 9; height: auto; }
.youtube-player { color: white; background: radial-gradient(ellipse at center, #333, #1b1b1b); }
.youtube-player span[aria-hidden] { display: inline-grid; place-items: center; width: 64px; height: 44px; border-radius: 10px; background: #d82015; font-size: 20px; }
.youtube-player:hover { background: #323232; }
.article-video { width: 100%; aspect-ratio: 16 / 9; margin-block: 1.25rem; background: #1b1b1b; border-radius: 8px; }
.article-video :is(.youtube-player, .youtube-frame) { position: relative; width: 100%; height: 100%; min-height: 0; border-radius: inherit; }
.article-video .youtube-player { display: grid; place-items: center; overflow: hidden; }
.article-video .youtube-player img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.article-video .youtube-player span[aria-hidden] { position: relative; box-shadow: 0 2px 12px #0006; }
.article-video .youtube-player:hover span[aria-hidden] { background: #b9160c; }
.article-video .youtube-player:focus-visible { outline: 3px solid var(--color, #f47920); outline-offset: 3px; }
.video-page-grid section { max-width: 1280px; margin: 0 auto 36px; }
.video-page-grid h2 { margin-bottom: 10px; }
.image-dialog { border: 0; padding: 16px; max-width: 90vw; max-height: 90vh; margin: auto; }
.image-dialog::backdrop { background: #000b; }
.image-dialog img { display: block; object-fit: contain; max-width: 82vw; max-height: 75vh; }
.image-dialog button { display: block; margin: 0 0 10px auto; background: #20242d; color: #fff; padding: 5px 12px; }
.not-found-page { max-width: 650px; }
.not-found-page .search-input { display: flex; gap: 6px; margin: 20px 0; }
.not-found-page input { border: 1px solid #999; padding: 5px 10px; }
.not-found-page button, .action-link { display: inline-block; padding: 5px 14px; background: #ad4700; color: #fff; }
.service-more { display: inline-block; margin-top: 7px; color: #56efff; }
.service-more:hover { color: #fff; text-decoration: underline; }
.hero-carousel { --swiper-theme-color: #f47920; }
.hero-carousel .swiper-slide img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }
.hero-fallback { display: grid; align-items: center; padding: 8%; color: #fff; background: linear-gradient(117deg, #151b23, #364e5f); min-height: 185px; aspect-ratio: 16 / 5; font-size: clamp(17px, 3vw, 42px); }
.hero-carousel .swiper-button-next, .hero-carousel .swiper-button-prev { background: #fff8; }
[data-strip] { position: relative; }
[data-strip] .swiper-wrapper { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
[data-strip] .swiper-slide { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
[data-strip] .swiper-slide .img { aspect-ratio: 4 / 3; }
[data-strip] .swiper-slide .img a img { object-fit: contain; }
[data-strip] .swiper-button-next, [data-strip] .swiper-button-prev { color: #181818; background: #ffffffd9; border-radius: 50%; width: 38px; height: 38px; }
[data-strip] .swiper-button-next::after, [data-strip] .swiper-button-prev::after { display: none; }
[data-strip] button:disabled { visibility: hidden; }
.home-about .about-img { align-self: center; }
.home-about .about-img img { width: 100%; height: auto; object-fit: contain; }
.home-about .about-info .text { margin-top: 18px; }
.home-news .news-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.home-product .more, .home-news .more { text-align: center; margin-top: 18px; }
.home-product .more a, .home-news .more a { color: #9d4310; text-decoration: underline; }
.rfixed-inquiry, .rfixed .gotop { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #b54b03; margin-bottom: 10px; }
@media (max-width: 1024px) {
    [id] { scroll-margin-top: 65px; }
    #nav [data-submenu] { display: block; background: transparent; }
    #nav .m-search-box .search-input { gap: 8px; }
    .category-heading { display: none; }
    .sidebar .category .category-toggle { display: block; }
    .sidebar .sidebar-item.category.categories-open .sidebar-cate { display: block; }
    [data-strip] .swiper-slide { flex-basis: calc((100% - 18px) / 2); }
    .rfixed { display: none; }
}
@media (max-width: 600px) {
    .public-why { grid-template-columns: 1fr; padding: 18px; }
    .hero-carousel .swiper-button-next, .hero-carousel .swiper-button-prev { display: grid; }
    .public-inquiry { padding: 16px; }
    .contact-wrap { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
