/* Hoang Quan Law news: responsive index and single articles. */
body.hqlaw-news-ui{--hq-ink:#17354f;--hq-blue:#1b4fde;--hq-line:#dfe7ed}
body.hqlaw-news-ui #main{background:#fff;color:var(--hq-ink)}
body.hqlaw-news-ui #main,body.hqlaw-news-ui #header{font-family:Arial,"Segoe UI",sans-serif}
body.hqlaw-news-ui #header .header-main,body.hqlaw-news-ui #header .header-bg-color{background:#f6ff00!important}
body.hqlaw-news-ui #header .header-main{border-bottom:1px solid var(--hq-line)}
body.hqlaw-news-ui #top-bar{background:#1b4fde!important}
body.hqlaw-news-ui #header .header-nav-main>li>a{font-size:13px;font-weight:700;color:#17354f}
body.hqlaw-news-ui #header .nav>li.active>a{color:#ef3c18}
body.hqlaw-news-ui #header .header-inner{max-width:1240px;padding-inline:24px}
body.hqlaw-news-ui #main a:focus-visible{outline:3px solid #1b4fde;outline-offset:4px}
body.hqlaw-news-article #content.blog-single{padding:38px 0 56px}
body.hqlaw-news-article #content.blog-single>.row{max-width:980px;width:100%;margin:auto}
body.hqlaw-news-article #content.blog-single>.row>.col{flex:0 0 100%;max-width:100%;min-width:0;padding:0 32px}
body.hqlaw-news-article #content.blog-single>.row>.col::before{display:none}
body.hqlaw-news-article #content.blog-single .post-sidebar{display:none}
.hqlaw-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;font-size:13px;line-height:1.5;color:#647888}
.hqlaw-breadcrumb a{color:#647888}
body.hqlaw-news-article .entry-header-text{padding:0 0 24px;text-align:left}
body.hqlaw-news-article h1.entry-title{font-family:Arial,"Segoe UI",sans-serif;color:#17354f;font-size:clamp(26px,3vw,38px)!important;line-height:1.35;letter-spacing:-.02em;text-transform:none;margin:0 0 18px;overflow-wrap:anywhere}
body.hqlaw-news-article .single-date{display:flex;flex-wrap:wrap;gap:8px 18px;border:0;padding:0;font-size:13px;line-height:1.6;color:#647888;font-weight:400}
body.hqlaw-news-article .entry-header .entry-image{display:none}
body.hqlaw-news-article .entry-content{padding:0;font-size:17px;line-height:1.85;font-weight:400!important;color:#263b4b;overflow-wrap:anywhere}
body.hqlaw-news-article .entry-content p,body.hqlaw-news-article .entry-content li{font-weight:400}
body.hqlaw-news-article .entry-content p{margin:0 0 22px}
body.hqlaw-news-article .entry-content strong,body.hqlaw-news-article .entry-content b{font-weight:700}
body.hqlaw-news-article .entry-content h2,body.hqlaw-news-article .entry-content h3{font-family:inherit;color:#17354f;line-height:1.4;margin:30px 0 16px}
body.hqlaw-news-article .entry-content h2{font-size:25px}
body.hqlaw-news-article .entry-content h3{font-size:21px}
body.hqlaw-news-article .entry-content img{max-width:100%;height:auto;border-radius:8px}
body.hqlaw-news-article .entry-content .aligncenter{display:block;margin:24px auto}
body.hqlaw-news-article .entry-content img.size-thumbnail{width:calc(33.333% - 18px)!important;height:auto;margin:6px;vertical-align:top}
body.hqlaw-news-article .entry-content figure{max-width:100%;margin:24px 0}
body.hqlaw-news-article .entry-content .alignwide,body.hqlaw-news-article .entry-content .alignfull{width:100%;margin-inline:0}
body.hqlaw-news-article .entry-content figcaption{font-size:13px;line-height:1.6;color:#647888;text-align:center}
body.hqlaw-news-article .entry-content iframe,body.hqlaw-news-article .entry-content video{max-width:100%}
body.hqlaw-news-article .entry-content .wp-block-table{overflow:auto}
body.hqlaw-news-article .entry-content table{max-width:100%;font-size:15px}
body.hqlaw-news-article .entry-content a{color:#1b4fde;text-decoration:underline;text-underline-offset:3px}
body.hqlaw-news-article .blog-share{padding-top:20px}
body.hqlaw-news-article .entry-author{margin-top:28px}
.hqlaw-related{margin-top:42px;padding-top:28px;border-top:1px solid var(--hq-line)}
.hqlaw-related h2{font-family:Arial,"Segoe UI",sans-serif;color:#17354f;font-size:26px;margin:0 0 22px}
.hqlaw-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hqlaw-related-card{min-width:0;border:1px solid var(--hq-line);border-radius:10px;overflow:hidden;background:#fff}
.hqlaw-related-image{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;background:#eef3f7}
.hqlaw-related-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.hqlaw-related-copy{padding:18px}
.hqlaw-related-copy time{font-size:12px;color:#647888}
.hqlaw-related-copy h3{font-family:Arial,"Segoe UI",sans-serif;font-size:17px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}
.hqlaw-related-copy a{color:#17354f}
.hqlaw-related-card:hover img{transform:scale(1.03)}
.hqlaw-image-unavailable::after{content:"Hoàng Quân Law";position:absolute;inset:0;display:grid;place-items:center;padding:20px;text-align:center;color:#1b4fde;font-size:18px;font-weight:700;background:linear-gradient(135deg,#edf3f7,#dde9f1)}
/* All sizes use the same seven existing stories, with no cloned slider. */
body.hqlaw-news-index #content>.img{max-width:1240px;height:260px;margin:24px auto 0;padding:0 24px}
body.hqlaw-news-index #content>.img .img-inner{height:100%;border-radius:12px;overflow:hidden}
body.hqlaw-news-index #content>.img img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
body.hqlaw-news-index #content>.section{padding:36px 24px 56px}
body.hqlaw-news-index #content .section-content>.text h1{font-family:Arial,"Segoe UI",sans-serif;color:#17354f;font-size:clamp(26px,3vw,36px);line-height:1.3;margin:0 0 30px}
body.hqlaw-news-index #content .section-content>.show-for-medium{display:none!important}
body.hqlaw-news-index #content .section-content>.hide-for-medium{display:block!important;width:100%;max-width:1192px;margin:0 auto}
body.hqlaw-news-index #content .section-content>.hide-for-medium>.col{width:100%;max-width:100%;padding:0}
body.hqlaw-news-index #content .section-content>.hide-for-medium>.col>.col-inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.hqlaw-news-index #content .row-grid,body.hqlaw-news-index #content .row-masonry{display:contents!important}
body.hqlaw-news-index #content .post-item{position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;padding:0;min-width:0}
body.hqlaw-news-index #content .post-item>.col-inner{height:100%;box-shadow:none}
body.hqlaw-news-index #content .post-item>.col-inner>a{display:block;height:100%}
body.hqlaw-news-index #content .post-item .box{height:100%;border:1px solid var(--hq-line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:none}
body.hqlaw-news-index #content .box-image{width:100%;position:relative}
body.hqlaw-news-index #content .box-image .image-cover{padding-top:62.5%!important}
body.hqlaw-news-index #content .box-image img{object-fit:cover}
body.hqlaw-news-index #content .post-item .box-text{padding:20px!important;text-align:left}
body.hqlaw-news-index #content .post-item .post-title{font-family:Arial,"Segoe UI",sans-serif;color:#17354f;font-size:18px;line-height:1.5;text-transform:none;margin:0 0 10px}
body.hqlaw-news-index #content .post-item .is-divider,body.hqlaw-news-index #content .post-item .button{display:none}
body.hqlaw-news-index #content .post-item .from_the_blog_excerpt{color:#647888;font-size:14px;line-height:1.7;font-weight:400;margin-bottom:14px}
body.hqlaw-news-index #content .post-item .box-text-inner::after{content:"Xem chi tiết →";color:#1b4fde;font-size:13px;font-weight:700}
body.hqlaw-news-index #content .post-item .badge{left:12px;top:12px}
body.hqlaw-news-index #content .post-item .badge-inner{border:0;border-radius:6px;background:#fff;color:#1b4fde;padding:4px}
@media(max-width:1023px){body.hqlaw-news-index #content .section-content>.hide-for-medium>.col>.col-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}body.hqlaw-news-ui #header .header-inner{padding-inline:16px}}
@media(max-width:767px){body.hqlaw-news-article #content.blog-single{padding:24px 0 36px}body.hqlaw-news-article #content.blog-single>.row>.col{padding-inline:20px}body.hqlaw-news-article .entry-content{font-size:16px;line-height:1.8}body.hqlaw-news-article .entry-content img.size-thumbnail{width:calc(50% - 18px)!important}.hqlaw-related{margin-top:30px;padding-top:24px}.hqlaw-related-grid{grid-template-columns:1fr;gap:18px}.hqlaw-related h2{font-size:23px}body.hqlaw-news-index #content>.img{height:180px;margin-top:18px;padding-inline:20px}body.hqlaw-news-index #content>.section{padding:28px 20px 40px}body.hqlaw-news-index #content .section-content>.hide-for-medium>.col>.col-inner{grid-template-columns:1fr}body.hqlaw-news-ui #footer .row{margin-inline:0}body.hqlaw-news-ui #footer .col{min-width:0}body.hqlaw-news-ui #footer iframe{max-width:100%}body.hqlaw-news-ui #ft-contact-icons{right:12px;bottom:78px;top:auto}body.hqlaw-news-ui #ws247-aio-ct-button-show-all-icon{right:12px;bottom:18px;top:auto;min-height:44px}}
@media(prefers-reduced-motion:reduce){.hqlaw-related-image img{transition:none}}

body.hqlaw-news-ui #main img[hidden],body.hqlaw-news-ui #main p[hidden]{display:none!important}
body.hqlaw-news-article .entry-content img[width="280"][height="280"]{width:calc(33.333% - 18px)!important;height:auto;margin:6px;vertical-align:top}
@media(max-width:767px){body.hqlaw-news-article .entry-content img[width="280"][height="280"]{width:calc(50% - 18px)!important}}

/* Brand palette confirmed by user: #f6ff00, #f6ff00, #ef3c18, #1b4fde. */
body.hqlaw-news-ui{--hq-blue:#1b4fde;--hq-yellow:#f6ff00;--hq-cyan:#1b4fde}
body.hqlaw-news-ui #main h1,body.hqlaw-news-ui #main h2,body.hqlaw-news-ui #main h3,body.hqlaw-news-ui #main h5{font-family:Arial,"Segoe UI",sans-serif!important}
body.hqlaw-news-ui #main h1,body.hqlaw-news-ui #main .hqlaw-related h2{color:#1b4fde!important}
body.hqlaw-news-ui #main p,body.hqlaw-news-ui #main li{font-family:Arial,"Segoe UI",sans-serif}
body.hqlaw-news-index #content .post-item .box{position:relative!important;inset:auto!important;display:flex;flex-direction:column}
body.hqlaw-news-index #content .post-item .box-image{position:relative!important;inset:auto!important;height:auto!important;min-height:0;flex:none}
body.hqlaw-news-index #content .post-item .box-image .image-cover{height:0!important;min-height:0!important}
body.hqlaw-news-index #content .post-item .box-text{position:relative!important;inset:auto!important;height:auto;transform:none!important;width:100%;background:#fff!important;flex:1}
body.hqlaw-news-index #content .post-item .badge-inner{border-top:3px solid #f6ff00}
body.hqlaw-news-index #content .post-item .box-text-inner::after{color:#1b4fde}
.hqlaw-related{border-top:3px solid #f6ff00}
body.hqlaw-news-ui #header .header-nav-main>li>a{color:#1b4fde}

@media(max-width:767px){body.hqlaw-news-ui .hqlaw-contact-compact #ft-contact-icons{display:none!important}body.hqlaw-news-ui .hqlaw-contact-compact #ws247-aio-ct-button-show-all-icon{display:inline-flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important}body.hqlaw-news-ui .hqlaw-contact-compact.hqlaw-contact-open #ft-contact-icons{display:block!important;transform:none!important;opacity:1!important;visibility:visible!important}body.hqlaw-news-ui .hqlaw-contact-compact.hqlaw-contact-open #ws247-aio-ct-button-show-all-icon{display:none!important}}

body.hqlaw-news-index #content .post-item .box-image .image-cover{position:relative!important;inset:auto!important;width:100%!important}
body.hqlaw-news-index #content .section-content>.hide-for-medium>.col>.col-inner>.is-divider{display:none!important}
body.hqlaw-news-ui #header .nav a{font-family:Arial,"Segoe UI",sans-serif!important}
body.hqlaw-news-ui #logo{width:230px!important}
body.hqlaw-news-ui #logo img{max-height:64px!important;width:auto;object-fit:contain}
body.hqlaw-news-ui #footer .footer-widgets{background:#1a8fdd;color:#fff;padding-top:36px}
body.hqlaw-news-ui #footer .footer-widgets p,body.hqlaw-news-ui #footer .footer-widgets a,body.hqlaw-news-ui #footer .widget-title{color:#fff;line-height:1.7}
body.hqlaw-news-ui #footer .absolute-footer{background:#f6ff00;color:#fff}
body.hqlaw-news-ui #footer .absolute-footer a{color:#fff}
@media(max-width:767px){body.hqlaw-news-ui #logo{width:170px!important}body.hqlaw-news-ui #logo img{max-height:52px!important}}

body.hqlaw-news-ui #main .hqlaw-image-unavailable::after{z-index:2;color:var(--hq-blue);font-family:Arial,"Segoe UI",sans-serif}
body.hqlaw-news-index #content>.img img{object-position:center 70%}
body.hqlaw-news-ui #main p,body.hqlaw-news-ui #main li{font-family:Arial,"Segoe UI",sans-serif!important}

body.hqlaw-news-index #content .row-grid::before,body.hqlaw-news-index #content .row-grid::after,body.hqlaw-news-index #content .row-masonry::before,body.hqlaw-news-index #content .row-masonry::after{display:none!important}

@media(max-width:767px){body.hqlaw-news-ui .hqlaw-contact-compact #ft-contact-icons{height:auto!important;top:auto!important;bottom:78px!important;max-height:calc(100vh - 120px);overflow-y:auto;z-index:1000}body.hqlaw-news-ui .hqlaw-contact-compact #ft-contact-icons-out-m{height:auto!important}body.hqlaw-news-ui .hqlaw-contact-compact #ft-contact-icons a{min-height:44px}body.hqlaw-news-ui #ws247-aio-ct-button-show-all-icon{color:#17354f!important;font-family:Arial,"Segoe UI",sans-serif;font-weight:700;background:#1b4fde!important;border-radius:8px}}

/* Final brand accents. */
body.hqlaw-news-ui{--hq-yellow:#fcb900;--hq-orange:#ff6900;--hq-red:#ef3c18;--hq-blue:#1b4fde}
body.hqlaw-news-ui #header .nav>li.active>a{color:#ef3c18!important}
body.hqlaw-news-ui #header .nav>li>a:hover{color:#ef3c18}
body.hqlaw-news-ui #main .hqlaw-breadcrumb,body.hqlaw-news-ui #main .single-date,body.hqlaw-news-ui #main time,body.hqlaw-news-ui #main .box-text-inner::after,body.hqlaw-news-ui #footer{font-family:Arial,"Segoe UI",sans-serif!important}
body.hqlaw-news-ui #main .hqlaw-image-unavailable::after{background:linear-gradient(135deg,#fff7df,#fff0e9)}
body.hqlaw-news-ui #main .hqlaw-related{border-top-color:#ff6900}
body.hqlaw-news-index #content .post-item .badge-inner{border-top-color:#ff6900}
body.hqlaw-news-ui #main a:focus-visible{outline-color:#1b4fde}
body.hqlaw-news-ui #main .entry-content a{color:#1b4fde}
body.hqlaw-news-ui #ws247-aio-ct-button-show-all-icon{background:#1b4fde!important;color:#fff!important}
body.hqlaw-news-ui #main .post-item>.col-inner>a:hover .post-title,body.hqlaw-news-ui #main .hqlaw-related-copy a:hover{color:#ef3c18}

body.hqlaw-news-ui #footer p,body.hqlaw-news-ui #footer a,body.hqlaw-news-ui #footer .widget-title{font-family:Arial,"Segoe UI",sans-serif!important}
body.hqlaw-news-ui #footer p{font-weight:400!important;font-size:14px}

/* Preserve the original site footer blue (#1a8fdd) and gold copyright strip. */
body.hqlaw-news-ui #footer .footer-widgets{background:#1a8fdd}
body.hqlaw-news-ui #footer .absolute-footer{background:#fcb900;color:#17354f}
body.hqlaw-news-ui #footer .absolute-footer a{color:#1b4fde}

@media(min-width:768px){body.hqlaw-news-index #content>.img{height:320px}body.hqlaw-news-index #content>.img img{object-position:center 76%}}
