/* HKarts — contemporary gallery / ink. Native Elementor content, scoped theme layer. */
body.hk-gallery{--hg-paper:#f7f5ef;--hg-ink:#252620;--hg-red:#7e292c;--hg-line:#d9d6cc;--hg-muted:#64665d;background:var(--hg-paper);color:var(--hg-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei",sans-serif;font-size:16px;line-height:1.8;}
body.hk-gallery #page{overflow:visible;}
body.hk-gallery #content,body.hk-gallery article{background:var(--hg-paper);}
body.hk-gallery h1,body.hk-gallery h2,body.hk-gallery h3,body.hk-gallery .elementor-heading-title{font-family:"Songti TC","Noto Serif TC","PMingLiU",Georgia,serif!important;font-weight:500!important;color:var(--hg-ink);line-height:1.4;}
body.hk-gallery p{line-height:1.85;}
body.hk-gallery a{transition:color .25s,background-color .25s,border-color .25s;}
body.hk-gallery :where(a,button,[role=button]):focus-visible{outline:2px solid var(--hg-red);outline-offset:5px;}
body.hk-gallery #masthead{position:sticky!important;top:0;z-index:999;background:rgba(247,245,239,.97);border-bottom:1px solid var(--hg-line);backdrop-filter:blur(12px);}
body.hk-gallery.admin-bar #masthead{top:32px;}
body.hk-gallery #masthead .main-header-bar{background:transparent!important;border:0!important;}
body.hk-gallery #masthead .site-primary-header-wrap{min-height:96px;transition:min-height .3s;max-width:1280px;}
body.hk-gallery.hg-scrolled #masthead .site-primary-header-wrap{min-height:76px;}
body.hk-gallery #masthead .custom-logo{width:245px;max-width:100%;transition:width .3s;}
body.hk-gallery.hg-scrolled #masthead .custom-logo{width:215px;}
body.hk-gallery #masthead .menu-link{color:var(--hg-ink)!important;font-size:14px;letter-spacing:.04em;}
body.hk-gallery #masthead .current-menu-item>.menu-link,body.hk-gallery #masthead .menu-link:hover{color:var(--hg-red)!important;}
body.hk-gallery .sub-menu{background:var(--hg-paper)!important;border-color:var(--hg-line)!important;}
body.hk-gallery .hg-wrap{width:min(1200px,calc(100% - 96px))!important;max-width:none!important;margin-inline:auto!important;padding:0!important;--gap:0;}
body.hk-gallery .hg-hero{display:grid!important;grid-template-columns:1fr 1fr;align-items:center;gap:64px!important;padding-block:64px 84px!important;}
body.hk-gallery .hg-hero-copy{padding:24px 0!important;gap:24px!important;}
body.hk-gallery .hg-hero-title .elementor-heading-title{font-size:clamp(48px,5.3vw,76px)!important;line-height:1.3!important;letter-spacing:.06em;}
body.hk-gallery:lang(en-US) .hg-hero-title .elementor-heading-title{letter-spacing:-.025em;line-height:1.12!important;font-size:clamp(48px,5.7vw,82px)!important;}
body.hk-gallery .hg-eyebrow,body.hk-gallery .hg-eyebrow p{font-size:11px!important;font-weight:600;letter-spacing:.16em;color:var(--hg-red)!important;margin:0;text-transform:uppercase;}
body.hk-gallery .hg-lead p{font-size:18px!important;color:var(--hg-muted);line-height:1.9!important;margin:0;}
body.hk-gallery .hg-micro p{font-size:11px;letter-spacing:.12em;color:var(--hg-muted);margin:0;}
body.hk-gallery .hg-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:12px!important;padding:4px 0!important;}
body.hk-gallery .hg-actions>.elementor-element{width:auto!important;}
body.hk-gallery .hg-hero-art{position:relative;padding:0!important;min-width:0;}
body.hk-gallery .hg-ink{overflow:hidden;}
body.hk-gallery .hg-ink img{height:530px!important;width:100%!important;object-fit:cover;object-position:20% center;filter:sepia(.12);}
body.hk-gallery .hg-art-note{position:absolute;right:28px;bottom:26px;width:auto;max-width:calc(100% - 56px);padding:16px 20px;background:rgba(247,245,239,.87);border-left:2px solid var(--hg-red);}
body.hk-gallery .hg-art-note p{font-size:16px;letter-spacing:.14em;margin:0;}
body.hk-gallery .hg-art-note span{font-size:9px;letter-spacing:.1em;}
body.hk-gallery .hg-button .elementor-button,body.hk-gallery .hk-actions a,body.hk-gallery button.hk-more{background:var(--hg-red)!important;color:#fff!important;border:1px solid var(--hg-red)!important;border-radius:0!important;min-height:48px;padding:13px 24px!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:.04em;box-shadow:none!important;transition:background .25s,color .25s,transform .25s;}
body.hk-gallery .hg-button .elementor-button:hover,body.hk-gallery .hk-actions a:hover,body.hk-gallery button.hk-more:hover{background:#582022!important;color:#fff!important;transform:translateY(-2px);}
body.hk-gallery .hg-link-button .elementor-button{background:transparent!important;border-color:transparent!important;border-bottom:1px solid var(--hg-line)!important;padding:12px 0!important;color:var(--hg-ink)!important;}
body.hk-gallery .hg-link-button .elementor-button:hover{background:transparent!important;color:var(--hg-red)!important;border-bottom-color:var(--hg-red)!important;}
body.hk-gallery .hg-band{background:#eeece3!important;padding:84px 0!important;}
body.hk-gallery .hg-feature{display:grid!important;grid-template-columns:.8fr 1fr;gap:100px!important;align-items:center;}
body.hk-gallery .hg-poster-shell{padding:0!important;align-items:center;}
body.hk-gallery .hg-poster img{width:auto!important;max-height:560px;box-shadow:0 18px 38px #26262015;}
body.hk-gallery .hg-feature-copy{padding:0!important;gap:20px!important;align-items:flex-start;}
body.hk-gallery .hg-section-title .elementor-heading-title{font-size:clamp(32px,3.8vw,48px)!important;letter-spacing:.025em;}
body.hk-gallery .hg-date{font-family:Georgia,serif;font-size:56px;line-height:1.1;margin:12px 0 22px;letter-spacing:-.04em;}
body.hk-gallery .hg-date span{display:block;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:12px;letter-spacing:.12em;margin-top:14px;color:var(--hg-muted);}
body.hk-gallery .hg-section{padding-block:100px!important;gap:42px!important;}
body.hk-gallery .hg-section-head{display:flex!important;flex-direction:row!important;align-items:flex-end;justify-content:space-between;gap:32px!important;padding:0!important;}
body.hk-gallery .hg-heading-group{padding:0!important;gap:16px!important;width:auto;}
body.hk-gallery .hg-section-head>.hg-button{width:auto;flex-shrink:0;}
body.hk-gallery .hg-card-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:48px!important;padding:0!important;}
body.hk-gallery .hg-card{padding:0!important;gap:12px!important;align-items:flex-start;min-width:0;}
body.hk-gallery .hg-card-image{width:100%;overflow:hidden;background:#ece9df;margin-bottom:12px!important;}
body.hk-gallery .hg-card-image img{height:380px!important;object-fit:contain;width:100%;transition:transform .55s cubic-bezier(.2,.7,.3,1);}
body.hk-gallery .hg-card-image:hover img{transform:scale(1.025);}
body.hk-gallery .hg-card h3{font-size:25px!important;}
body.hk-gallery .hg-card p{margin:0;}
body.hk-gallery .hg-dark-band{background:#292c27!important;color:#f7f5ef;padding:84px 0!important;}
body.hk-gallery .hg-video-feature{display:grid!important;grid-template-columns:.8fr 1fr;gap:80px!important;align-items:center;}
body.hk-gallery .hg-video-copy{gap:24px!important;padding:0!important;align-items:flex-start;}
body.hk-gallery .hg-dark-band .hg-eyebrow p{color:#c9b8a2!important;}
body.hk-gallery .hg-dark-band h2,body.hk-gallery .hg-dark-band p{color:#f7f5ef!important;}
body.hk-gallery .hg-video-preview{padding:0!important;gap:16px!important;}
body.hk-gallery .hg-video-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:filter .3s;}
body.hk-gallery .hg-video-cover a:hover img{filter:brightness(1.12);}
body.hk-gallery .hg-film-caption p{font-size:13px;display:flex;justify-content:space-between;margin:0;}
body.hk-gallery .hg-light-button .elementor-button{border-color:#c9b8a2!important;background:transparent!important;color:#f7f5ef!important;}
body.hk-gallery .hg-about-intro{padding-top:92px!important;}
body.hk-gallery .hg-about-section{padding:56px max(48px,calc((100vw - 1200px)/2))!important;background:none!important;border-bottom:1px solid var(--hg-line);min-height:0!important;}
body.hk-gallery .hg-about-section:has(>.elementor-widget-divider){padding-block:0!important;border:0;}
body.hk-gallery .hg-about-section>.e-con-inner{gap:64px;}
body.hk-gallery .hg-about-section .e-con{padding:0!important;min-width:0;}
body.hk-gallery .hg-about-title .elementor-heading-title{font-size:34px!important;line-height:1.4!important;}
body.hk-gallery .hg-about-copy{padding:0!important;}
body.hk-gallery .hg-about-copy .hfe-infocard-title{font-size:18px!important;line-height:1.8!important;}
body.hk-gallery .hg-about-copy .hfe-infocard-description{font-size:16px!important;line-height:1.9!important;}
body.hk-gallery .hg-about-image img{max-height:420px;object-fit:cover;}
body.hk-gallery .hg-page-heading{min-height:0!important;padding:64px max(48px,calc((100vw - 1200px)/2)) 44px!important;background:none!important;border-bottom:1px solid var(--hg-line);}
body.hk-gallery .hg-page-heading>.e-con,body.hk-gallery .hg-page-heading>.e-con-inner{padding:0!important;min-height:0!important;}
body.hk-gallery .hg-page-title .elementor-heading-title{font-size:clamp(32px,4.3vw,56px)!important;line-height:1.4!important;color:var(--hg-ink)!important;}
body.hk-gallery .hg-page-heading .elementor-heading-title{max-width:1050px;}
body.hk-gallery .hg-event-body{padding:24px max(48px,calc((100vw - 1200px)/2)) 72px!important;}
body.hk-gallery .hg-tabs .e-n-tabs-heading{gap:24px!important;justify-content:flex-start!important;margin-bottom:44px;}
body.hk-gallery .hg-tabs .e-n-tab-title{background:transparent!important;color:var(--hg-muted)!important;border:0!important;border-bottom:1px solid var(--hg-line)!important;border-radius:0!important;padding:14px 0!important;font-size:14px!important;}
body.hk-gallery .hg-tabs .e-n-tab-title[aria-selected=true]{color:var(--hg-red)!important;border-bottom:2px solid var(--hg-red)!important;}
body.hk-gallery .hg-event-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:68px!important;padding:0!important;align-items:start;}
body.hk-gallery .hg-event-art,body.hk-gallery .hg-event-details{padding:0!important;min-width:0;}
body.hk-gallery .hg-event-poster img{width:100%!important;max-height:none!important;box-shadow:0 12px 30px #26262012;}
body.hk-gallery .hg-event-copy .hk-event-info{padding:0;max-width:none;}
body.hk-gallery .hg-event-copy h2{font-size:48px!important;letter-spacing:.06em;margin-bottom:18px;}
body.hk-gallery .hg-event-copy .hk-event-info>p:first-of-type{font-size:18px;color:var(--hg-muted);}
body.hk-gallery .hg-event-copy dl{margin:28px 0;padding-block:22px;border-top:1px solid var(--hg-line);border-bottom:1px solid var(--hg-line);font-size:14px;}
body.hk-gallery .hg-event-copy dt{font-weight:500;color:var(--hg-muted);}
body.hk-gallery .hg-event-copy .hk-actions{gap:10px;}
body.hk-gallery .hk-actions a.hk-secondary{color:var(--hg-red)!important;background:transparent!important;}
body.hk-gallery .hk-poster-note{font-size:12px;color:var(--hg-muted);margin-top:12px;}
body.hk-gallery .hg-exhibition-row{max-width:1200px;width:calc(100% - 96px);margin-inline:auto;padding:48px 0!important;gap:64px!important;border-bottom:1px solid var(--hg-line);align-items:center;}
body.hk-gallery .hg-exhibition-row .e-con{padding:0!important;}
body.hk-gallery .hg-exhibition-row .elementor-heading-title{font-size:30px!important;line-height:1.6!important;}
body.hk-gallery .hg-exhibition-image img{max-height:520px!important;object-fit:contain;width:100%;}
body.hk-gallery .hg-exhibition-detail{padding-block:44px!important;background-color:var(--hg-paper)!important;}
body.hk-gallery .hg-exhibition-detail .elementor-heading-title{font-size:30px!important;line-height:1.6!important;}
body.hk-gallery .hg-exhibition-detail img{border:1px solid #e3dfd5;}
body.hk-gallery .hg-video-library{background-image:none!important;background:var(--hg-paper)!important;padding:64px 32px!important;}
body.hk-gallery .hg-video-library>.elementor-container{max-width:1200px!important;}
body.hk-gallery .hg-video-library .hg-page-title{margin-bottom:44px!important;text-align:left;}
body.hk-gallery .hg-video-library .elementor-widget-video{overflow:hidden;background:#e9e6dd;border:1px solid var(--hg-line);}
body.hk-gallery .hg-video-library .elementor-custom-embed-image-overlay{transition:filter .3s;}
body.hk-gallery .hg-video-library .elementor-custom-embed-image-overlay:hover{filter:brightness(1.07);}
body.hk-gallery .hg-video-library .hk-video-row{margin-bottom:18px!important;}
body.hk-gallery #colophon{background:#252822;color:#e8e7df;}
body.hk-gallery .site-primary-footer-wrap{background:transparent!important;padding:60px 48px!important;}
body.hk-gallery .site-primary-footer-inner-wrap{grid-template-columns:1fr!important;max-width:1200px;margin:auto;gap:0!important;}
body.hk-gallery .site-footer-section{width:100%;}
body.hk-gallery .hg-footer{display:grid;grid-template-columns:1fr 1fr;gap:80px;text-align:left;}
body.hk-gallery .hg-footer-brand strong{font-family:"Songti TC",Georgia,serif;font-size:38px;font-weight:400;letter-spacing:.1em;}
body.hk-gallery .hg-footer-brand p{font-size:11px;letter-spacing:.13em;margin-top:12px;color:#b9bcae;}
body.hk-gallery .hg-footer h2{font-family:inherit!important;color:#d9d8ce;font-size:12px;letter-spacing:.12em;margin-bottom:18px;}
body.hk-gallery .hg-footer p{font-size:14px;}
body.hk-gallery .hg-footer a{color:#e8e7df;text-underline-offset:5px;}
body.hk-gallery .ast-footer-social-1-wrap{margin-top:24px;}
body.hk-gallery .site-below-footer-wrap{background:transparent!important;border-top:1px solid #ffffff20;padding:22px 48px!important;}
body.hk-gallery .ast-footer-copyright{font-size:11px!important;letter-spacing:.05em;color:#b9bcae;}
@media(max-width:1024px){body.hk-gallery .hg-hero{gap:36px!important;}body.hk-gallery .hg-wrap{width:calc(100% - 64px)!important;}body.hk-gallery .hg-feature,body.hk-gallery .hg-video-feature{gap:48px!important;}body.hk-gallery .hg-ink img{height:470px!important;}body.hk-gallery .hg-card-image img{height:300px!important;}body.hk-gallery .hg-event-grid{gap:40px!important;}}
@media(max-width:767px){body.hk-gallery{font-size:15px;}body.hk-gallery #masthead .site-primary-header-wrap{min-height:74px;}body.hk-gallery #masthead .custom-logo,body.hk-gallery.hg-scrolled #masthead .custom-logo{width:190px;}body.hk-gallery.hg-scrolled #masthead .site-primary-header-wrap{min-height:68px;}body.hk-gallery.admin-bar #masthead{top:46px;}body.hk-gallery .hg-wrap{width:calc(100% - 40px)!important;}body.hk-gallery .hg-hero{grid-template-columns:1fr;padding-block:32px 44px!important;gap:28px!important;}body.hk-gallery .hg-hero-copy{gap:18px!important;padding:8px 0 0!important;}body.hk-gallery .hg-hero-title .elementor-heading-title{font-size:46px!important;line-height:1.3!important;}body.hk-gallery:lang(en-US) .hg-hero-title .elementor-heading-title{font-size:52px!important;}body.hk-gallery .hg-lead p{font-size:16px!important;}body.hk-gallery .hg-ink img{height:290px!important;}body.hk-gallery .hg-art-note{right:16px;bottom:16px;padding:10px 14px;}body.hk-gallery .hg-art-note p{font-size:13px;}body.hk-gallery .hg-micro p{font-size:9px;}body.hk-gallery .hg-band,body.hk-gallery .hg-dark-band{padding:48px 0!important;}body.hk-gallery .hg-feature,body.hk-gallery .hg-video-feature,body.hk-gallery .hg-card-grid{grid-template-columns:1fr;gap:32px!important;}body.hk-gallery .hg-poster img{max-height:430px;}body.hk-gallery .hg-section{padding-block:56px!important;gap:28px!important;}body.hk-gallery .hg-section-head{align-items:flex-start;flex-direction:column!important;gap:18px!important;}body.hk-gallery .hg-section-title .elementor-heading-title{font-size:32px!important;}body.hk-gallery .hg-card-image img{height:340px!important;}body.hk-gallery .hg-card-grid{gap:40px!important;}body.hk-gallery .hg-card h3{font-size:23px!important;}body.hk-gallery .hg-date{font-size:48px;}body.hk-gallery .hg-about-intro{padding-top:56px!important;}body.hk-gallery .hg-about-section{padding:36px 20px!important;}body.hk-gallery .hg-about-section>.e-con-inner{gap:24px;}body.hk-gallery .hg-about-title .elementor-heading-title{font-size:28px!important;}body.hk-gallery .hg-about-copy .hfe-infocard-title{font-size:17px!important;}body.hk-gallery .hg-about-copy .hfe-infocard-description{font-size:15px!important;}body.hk-gallery .hg-about-section .e-con{gap:20px!important;}body.hk-gallery .hg-page-heading{padding:36px 20px 28px!important;}body.hk-gallery .hg-page-title .elementor-heading-title{font-size:32px!important;}body.hk-gallery .hg-event-body{padding:16px 20px 44px!important;}body.hk-gallery .hg-event-grid{grid-template-columns:1fr;gap:28px!important;}body.hk-gallery .hg-event-details{order:-1;}body.hk-gallery .hg-event-copy h2{font-size:36px!important;}body.hk-gallery .hg-event-copy .hk-actions a{font-size:12px!important;padding:12px 14px!important;}body.hk-gallery .hg-tabs .e-n-tabs-heading{margin-bottom:24px;}body.hk-gallery .hg-tabs .e-n-tab-title{margin-bottom:20px!important;}body.hk-gallery .hg-exhibition-row{width:calc(100% - 40px);padding-block:32px!important;gap:24px!important;}body.hk-gallery .hg-exhibition-row .elementor-heading-title{font-size:24px!important;}body.hk-gallery .hg-exhibition-detail{padding:28px 20px!important;}body.hk-gallery .hg-exhibition-detail .elementor-heading-title{font-size:24px!important;}body.hk-gallery .hg-video-library{padding:36px 12px!important;}body.hk-gallery .hg-video-library .hg-page-title{margin-bottom:24px!important;}body.hk-gallery .site-primary-footer-wrap{padding:44px 20px!important;}body.hk-gallery .hg-footer{grid-template-columns:1fr;gap:28px;}body.hk-gallery .hg-footer-brand strong{font-size:30px;}body.hk-gallery .site-below-footer-wrap{padding:18px 20px!important;}}
@media(prefers-reduced-motion:reduce){body.hk-gallery *,body.hk-gallery *::before,body.hk-gallery *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}body.hk-gallery .hg-button .elementor-button:hover,body.hk-gallery .hg-card-image:hover img{transform:none;}}
body.hk-gallery #custom_html-1>.widget-title{display:none;}
body.hk-gallery .hg-footer nav{font-size:13px;margin-top:24px;}
/* QA refinements: nested Elementor padding, reading measure, and sticky-header anchors. */
body.hk-gallery .hg-page-heading .e-con{padding:0!important;min-height:0!important;}
body.hk-gallery .hg-exhibition-detail{background-image:none!important;}
body.hk-gallery .elementor-widget-spacer .elementor-spacer-inner{height:32px!important;}
body.hk-gallery .elementor>.e-con:not(:has(.elementor-widget)){min-height:24px!important;padding:0!important;}
body.hk-gallery .hg-about-copy{max-width:740px;}
body.hk-gallery #mo-wu-he-ming{scroll-margin-top:110px;}
@media(max-width:767px){body.hk-gallery #mo-wu-he-ming{scroll-margin-top:88px;}}
/* Account for the actual Astra logo height and avoid covering deep-linked headings. */
body.hk-gallery #masthead .site-branding{padding:10px 0!important;transition:padding .3s;}
body.hk-gallery.hg-scrolled #masthead .site-branding{padding:4px 0!important;}
body.hk-gallery #mo-wu-he-ming{scroll-margin-top:136px;}
body.hk-gallery.admin-bar #mo-wu-he-ming{scroll-margin-top:176px;}
body.hk-gallery .ast-mobile-header-content,body.hk-gallery .ast-mobile-header-content .main-header-menu{background:var(--hg-paper)!important;}
@media(max-width:767px){body.hk-gallery.hg-scrolled #masthead .custom-logo{width:170px;}body.hk-gallery #mo-wu-he-ming{scroll-margin-top:128px;}body.hk-gallery.admin-bar #mo-wu-he-ming{scroll-margin-top:174px;}}

/* Retain the original ink artwork across both languages. */
body.hk-gallery .hg-hero{width:100%!important;max-width:none!important;padding:64px max(48px,calc((100vw - 1200px)/2)) 72px!important;min-height:650px;background:linear-gradient(90deg,rgba(247,245,239,.96) 0%,rgba(247,245,239,.86) 35%,rgba(247,245,239,.15) 70%),url("https://hkarts.com.hk/wp-content/uploads/2026/04/ink_bg_option_1_top_left.png") center 60%/cover no-repeat!important;}
body.hk-gallery .hg-hero-copy{max-width:560px;}
body.hk-gallery .hg-hero-art{height:100%;min-height:440px;}
body.hk-gallery .hg-hero .hg-ink{display:none!important;}
body.hk-gallery .hg-hero .hg-art-note{right:0;bottom:0;}
body.hk-gallery .hg-about-section.elementor-element-0b4ac6f{background:linear-gradient(90deg,rgba(247,245,239,.65),rgba(247,245,239,.94) 50%),url("https://hkarts.com.hk/wp-content/uploads/2026/04/ding-ding-.webp") center/cover no-repeat!important;}
body.hk-gallery .hg-about-section.elementor-element-c9d508d{background:linear-gradient(90deg,rgba(247,245,239,.94) 35%,rgba(247,245,239,.65)),url("https://hkarts.com.hk/wp-content/uploads/2026/04/image-3.webp") center right/cover no-repeat!important;}
body.hk-gallery .hg-about-section.elementor-element-e1c1c0a{background:linear-gradient(90deg,rgba(247,245,239,.70),rgba(247,245,239,.94) 50%),url("https://hkarts.com.hk/wp-content/uploads/2026/04/ink_bg_option_1_top_left.webp") center/cover no-repeat!important;}
body.hk-gallery .hg-about-section.elementor-element-2fd55f3e{background:linear-gradient(90deg,rgba(247,245,239,.94) 35%,rgba(247,245,239,.65)),url("https://hkarts.com.hk/wp-content/uploads/2026/04/peak-tram-3-1.webp") center/cover no-repeat!important;}
body.hk-gallery .hg-page-heading{background:linear-gradient(90deg,rgba(247,245,239,.92),rgba(247,245,239,.60)),url("https://hkarts.com.hk/wp-content/uploads/2026/04/ink_bg_option_1_top_left.png") center 65%/cover no-repeat!important;}
/* Let Elementor own inactive panel visibility, including keyboard switching. */
body.hk-gallery .hg-tabs [role="tabpanel"]:not(.e-active){display:none!important;}
@media(max-width:767px){
 body.hk-gallery .hg-hero{padding:36px 20px 28px!important;min-height:0;gap:12px!important;background:linear-gradient(180deg,rgba(247,245,239,.96) 0%,rgba(247,245,239,.88) 48%,rgba(247,245,239,.15) 83%),url("https://hkarts.com.hk/wp-content/uploads/2026/04/ink_bg_option_1_top_left.png") 30% bottom/auto 100% no-repeat!important;}
 body.hk-gallery .hg-hero-art{height:190px;min-height:190px;}
 body.hk-gallery .hg-hero .hg-art-note{right:0;bottom:0;}
 body.hk-gallery .hg-about-section{background-blend-mode:screen;background-color:rgba(247,245,239,.15)!important;}
 body.hk-gallery .hg-page-heading{background-position:center 65%!important;}
}

body.hk-gallery .hg-tabs .e-n-tabs-content>[role="tabpanel"]{margin:0!important;min-width:0;}

/* Mobile association sections: one spacing layer, no legacy image overlap. */
@media(max-width:767px){
 body.hk-gallery .hg-about-section{margin-block:0!important;padding-block:32px!important;}
 body.hk-gallery .hg-about-section>.e-con-inner{padding:0!important;gap:24px!important;}
 body.hk-gallery .hg-about-section:has(>.e-con-inner>.elementor-widget-divider){display:none!important;}
 body.hk-gallery .hg-about-image>.elementor-widget-container{margin:0!important;}
 body.hk-gallery .hg-about-section.elementor-element-e1c1c0a .hg-about-image img{display:block;width:min(100%,240px)!important;height:auto!important;max-height:none;aspect-ratio:5/9;object-fit:contain;margin-inline:auto;}
}

/* Clear section hierarchy and native captions below every video. */
body.hk-gallery .hg-about-intro{padding-top:48px!important;padding-bottom:16px!important;}
body.hk-gallery .hg-about-heading .elementor-heading-title{font-size:38px!important;line-height:1.4!important;}
body.hk-gallery .hg-video-intro p{max-width:720px;margin:0 0 32px;font-size:16px;color:var(--hg-muted);text-align:left;}
body.hk-gallery .hg-video-title{margin:0 0 24px!important;}
body.hk-gallery .hg-video-title .elementor-heading-title{font-family:inherit!important;font-size:18px!important;line-height:1.65!important;font-weight:500!important;text-align:left;}
body.hk-gallery .hk-video-row .elementor-widget-video{margin-bottom:12px!important;}
@media(max-width:767px){
 body.hk-gallery .hg-about-intro{padding-top:32px!important;padding-bottom:8px!important;}
 body.hk-gallery .hg-about-heading .elementor-heading-title{font-size:32px!important;}
 body.hk-gallery .hg-video-title .elementor-heading-title{font-size:17px!important;}
}
