/*
Theme Name: Hung Thinh Business
Theme URI: https://hungthinhcoltd.com/
Author: Hung Thinh
Description: Giao diện doanh nghiệp chuyên dịch vụ cho thuê máy photocopy Toshiba.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hung-thinh-business
*/
:root{--navy:#102b4e;--navy2:#071b32;--cyan:#00a9d6;--light:#f1f6fa;--ink:#172b42;--muted:#62758a;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,'Segoe UI',sans-serif;color:var(--ink);line-height:1.65;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,92%);margin:auto}.topbar{background:var(--navy2);color:#d5e9f3;font-size:13px;padding:7px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.site-header{background:#fff;box-shadow:0 3px 16px #112b4714;position:relative;z-index:3}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:46px;height:46px;border-radius:12px;background:linear-gradient(140deg,var(--navy),var(--cyan));color:#fff;display:grid;place-items:center;font-weight:900;font-size:21px}.brand strong{display:block;font-size:21px;color:var(--navy);line-height:1.2}.brand small{font-size:11px;color:var(--muted);letter-spacing:.6px}.nav-list{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.nav-list a{font-size:14px;font-weight:700}.nav-list a:hover{color:#008eb5}.btn{display:inline-block;border-radius:9px;background:var(--cyan);color:#fff;padding:12px 22px;font-weight:700;box-shadow:0 7px 20px #00a9d633}.btn:hover{background:#008eb5}.btn-outline{background:transparent;border:1px solid #c4e9f5;box-shadow:none}.hero{background:radial-gradient(circle at 85% 25%,#18587d 0,transparent 34%),linear-gradient(120deg,#071b32,#103a5e);color:#fff;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:48px;padding:88px 0}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#62d8f6;font-size:12px;font-weight:800}.hero h1{font-size:clamp(35px,4.2vw,58px);line-height:1.13;margin:15px 0 22px}.hero p{font-size:17px;color:#cce2ef;max-width:580px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-visual{position:relative;min-height:340px;display:grid;place-items:center}.machine{width:min(370px,100%);height:285px;border-radius:22px;background:linear-gradient(145deg,#eaf3f8,#a8bcc9);box-shadow:25px 30px 0 #05182d66,0 30px 75px #0007;position:relative;transform:perspective(900px) rotateY(-9deg)}.machine:before{content:'';position:absolute;top:25px;left:35px;width:72%;height:65px;background:#162b3b;border-radius:8px;box-shadow:0 12px 0 #758a97}.machine:after{content:'';position:absolute;left:45px;right:45px;top:132px;height:94px;background:repeating-linear-gradient(0deg,#dce9ef 0 10px,#7f98a7 11px 13px);border-radius:8px}.machine-label{position:absolute;right:18px;bottom:14px;font-size:12px;color:#173a50;font-weight:900;letter-spacing:2px}.section{padding:76px 0}.section.soft{background:var(--light)}.section-title{text-align:center;margin:0 auto 42px;max-width:780px}.section-title span{font-size:12px;font-weight:800;color:#008eb5;letter-spacing:2px;text-transform:uppercase}.section-title h2{font-size:clamp(27px,3vw,38px);line-height:1.25;color:var(--navy);margin:9px 0}.section-title p{color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;padding:30px;border:1px solid #e2edf3;border-radius:17px;box-shadow:0 10px 25px #183d5510}.card .symbol{font-size:32px}.card h3{color:var(--navy);font-size:20px;margin:15px 0 8px}.card p{color:var(--muted);margin:0 0 15px}.card a{font-weight:800;color:#008eb5}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.benefit{text-align:center;padding:24px 14px}.benefit b{display:block;font-size:31px;color:#008eb5}.benefit h3{margin:8px 0;color:var(--navy)}.benefit p{font-size:14px;color:var(--muted)}.models{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.model{background:#fff;border-radius:16px;overflow:hidden;border:1px solid #dce9f1}.model-art{height:170px;background:linear-gradient(145deg,#e8f5fa,#c9dce7);display:grid;place-items:center;font-size:70px}.model-content{padding:24px}.model h3{margin:0 0 7px;color:var(--navy)}.model p{color:var(--muted);margin:0}.cta{background:linear-gradient(120deg,#0c2d50,#087a9d);color:#fff;padding:65px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{font-size:34px;line-height:1.25;margin:0 0 12px}.cta p{color:#d4eaf5;margin:0}.site-footer{background:#081c32;color:#c5d8e5;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.2fr;gap:35px}.site-footer h3{color:#fff;margin-top:0}.site-footer a:hover{color:#67d8f6}.footer-bottom{border-top:1px solid #ffffff21;margin-top:30px;padding-top:18px;font-size:13px}.content-page{padding:65px 0;min-height:45vh}.content-page h1{color:var(--navy)}.entry-content{max-width:850px}.entry-content a{color:#008eb5;text-decoration:underline}.post-card{border-bottom:1px solid #ddd;padding:20px 0}.post-card h2{margin:0}.mobile-toggle{display:none;background:var(--navy);color:white;border:0;border-radius:7px;padding:9px 12px;font-size:20px}@media(max-width:960px){.header-inner{flex-wrap:wrap;padding:14px 0}.mobile-toggle{display:block}.nav{display:none;width:100%}.nav.is-open{display:block}.nav-list{display:block}.nav-list li{padding:10px 0;border-top:1px solid #eee}.hero-inner{grid-template-columns:1fr;padding:65px 0}.hero-visual{min-height:270px}.machine{max-width:300px;height:230px}.cards,.models{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.cards,.models,.benefits,.footer-grid{grid-template-columns:1fr}.hero h1{font-size:36px}.hero-visual{display:none}.cta-inner{display:block}.cta .btn{margin-top:22px}.section{padding:52px 0}.brand strong{font-size:17px}.brand small{font-size:9px}}

/* Hưng Thịnh Business 1.1 – Toshiba slideshow */
.ht-slider{position:relative}.ht-slides{position:relative;min-height:535px}.ht-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .75s ease,visibility .75s ease}.ht-slide.is-active{position:relative;opacity:1;visibility:visible;pointer-events:auto}.ht-slide .hero-inner{min-height:535px;padding:76px 0 90px;grid-template-columns:1.1fr .9fr}.ht-slide h1{font-size:clamp(32px,3.6vw,50px);max-width:680px}.ht-photo-frame{width:min(450px,100%);height:355px;background:linear-gradient(145deg,#ffffff,#e4f0f6);border-radius:26px;display:grid;place-items:center;box-shadow:0 24px 50px #0004;padding:22px;overflow:hidden}.ht-machine-photo{width:100%;height:100%;object-fit:contain;display:block}.ht-machine-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px;color:#173c57}.ht-placeholder-icon{font-size:105px;line-height:1;color:#9fb8c7}.ht-machine-placeholder strong{font-size:19px}.ht-machine-placeholder small{font-size:12px;max-width:230px}.ht-model-label{background:#0c3455e8;border:1px solid #ffffff2a;border-radius:20px;color:#fff;font-weight:700;font-size:13px;padding:9px 17px;position:absolute;bottom:-18px;right:0}.ht-slider-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;z-index:2;pointer-events:none}.ht-slider-controls button{pointer-events:auto;cursor:pointer}.ht-slider-dots,.ht-slider-arrows{display:flex;gap:9px;align-items:center}.ht-dot{width:12px;height:12px;border:1px solid #b7e5f4;background:transparent;border-radius:50%;padding:0}.ht-dot.is-active{width:30px;border-radius:20px;background:var(--cyan)}.ht-slider-arrows button{border:1px solid #ffffff66;background:#ffffff1c;color:#fff;border-radius:50%;width:38px;height:38px;font-size:27px;line-height:1}.ht-slider-arrows button:hover,.ht-slider-arrows button:focus-visible{background:var(--cyan)}.ht-slider button:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:960px){.ht-slides{min-height:700px}.ht-slide .hero-inner{grid-template-columns:1fr;min-height:700px;padding:45px 0 95px;gap:24px}.ht-slide .hero-visual{min-height:230px}.ht-photo-frame{height:260px;width:min(350px,95%)}.ht-model-label{bottom:-12px;right:12%}}
@media(max-width:620px){.ht-slides{min-height:685px}.ht-slide .hero-inner{min-height:685px;padding:38px 0 90px}.ht-slide .hero-visual{display:grid;min-height:205px}.ht-photo-frame{height:215px;width:min(280px,94%);padding:12px}.ht-machine-placeholder strong{font-size:14px}.ht-placeholder-icon{font-size:64px}.ht-slide h1{font-size:29px}.ht-slide p{font-size:14px}.ht-slide .hero-actions{margin-top:18px}.ht-slide .btn{padding:10px 14px;font-size:13px}.ht-model-label{font-size:11px;right:5%}.ht-slider-controls{bottom:17px}}
@media(prefers-reduced-motion:reduce){.ht-slide{transition:none}}

/* Hưng Thịnh 1.2 – Rental landing & contact */
.ht-rental-hero{background:linear-gradient(115deg,#071b32,#104b70);color:#fff;padding:85px 0}.ht-rental-hero h1{font-size:clamp(34px,4vw,52px);line-height:1.15;margin:15px 0}.ht-rental-hero p{max-width:720px;color:#d4e8f4;font-size:17px}.ht-rental-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.ht-rental-card{background:#fff;border:1px solid #d9e8f1;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px #10324b12}.ht-rental-img{height:275px;background:#f5f9fc;display:grid;place-items:center;padding:22px}.ht-rental-img img{height:100%;width:100%;object-fit:contain}.ht-rental-placeholder{text-align:center;color:#728b9b}.ht-rental-placeholder span{display:block;font-size:95px;line-height:1.2;color:#aec8d5}.ht-rental-placeholder small{display:block}.ht-rental-body{padding:24px}.ht-rental-body h3{font-size:21px;color:var(--navy);margin:0 0 9px}.ht-rental-body p{min-height:62px;color:var(--muted)}.ht-rental-body .btn{margin-top:12px}.ht-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.ht-steps>div{border-left:3px solid var(--cyan);padding:12px 22px;background:#f7fafc}.ht-steps b{font-size:28px;color:#008eb5}.ht-steps h3{color:var(--navy);margin:5px 0}.ht-steps p{color:var(--muted)}.ht-quote-layout{display:grid;grid-template-columns:0.9fr 1.1fr;gap:50px;align-items:start}.ht-quote-layout h2{color:var(--navy);font-size:36px}.ht-quote-layout .eyebrow{color:#007d9d}.ht-contact-link{font-weight:700;color:#006e9c}.ht-quote-panel{background:#fff;border:1px solid #dae9f2;border-radius:18px;padding:28px;box-shadow:0 10px 30px #143b4c13}.ht-quote-panel form{display:grid;gap:15px}.ht-quote-panel label{font-weight:700;font-size:14px;color:#173b55}.ht-quote-panel input,.ht-quote-panel select,.ht-quote-panel textarea{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #c6dbe7;border-radius:8px;font:inherit;color:#18364c;background:#fff}.ht-quote-panel input:focus,.ht-quote-panel textarea:focus,.ht-quote-panel select:focus{outline:2px solid #00a9d6}.ht-quote-panel button{border:0;cursor:pointer}.ht-form-success,.ht-form-error{padding:12px;border-radius:8px;background:#e8f7ee;color:#135f34}.ht-form-error{background:#fff0ee;color:#982b1e}.ht-honeypot{position:absolute;left:-9999px}.ht-privacy-note{font-size:12px;color:#60798a;margin:0}@media(max-width:900px){.ht-rental-grid{grid-template-columns:repeat(2,1fr)}.ht-quote-layout{grid-template-columns:1fr}}@media(max-width:620px){.ht-rental-grid,.ht-steps{grid-template-columns:1fr}.ht-rental-hero{padding:55px 0}.ht-rental-img{height:230px}.ht-quote-panel{padding:18px}.ht-quote-layout h2{font-size:29px}}


/* Hưng Thịnh v1.3 – thẻ máy Toshiba trên trang chủ */
.home .models .model-art,
.models .model-art {
    height: 220px;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(145deg,#edf7fb,#d9eaf3);
}
.models .model-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: none;
    mix-blend-mode: normal;
}
.models .model-content {
    padding: 22px 24px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 200px;
}
.models .model-content h3 {line-height: 1.35;}
.models .model-content p {line-height: 1.55;}
.models .model-content a {
    margin-top: auto;
    padding-top: 14px;
    font-weight: 700;
    color: #007eaa;
}
.models .model-content a:hover {color: #005a80; text-decoration: underline;}
@media (max-width: 620px) {
    .models .model-art {height: 235px;}
    .models .model-content {min-height: 0;}
    .models .model-content a {margin-top: 12px; padding-top: 0;}
}

/* HUNG THINH - Icon va tieu de cung hang */

.cards .card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    align-content: start;
    align-items: center;
}

.cards .card .symbol {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.cards .card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    line-height: 1.4;
}

.cards .card p,
.cards .card > a {
    grid-column: 1 / -1;
}

.cards .card p {
    margin-top: 18px;
}

/* HUNG THINH - Trang Gioi thieu:
   Icon va tieu de nam ngang */

body.page .cards .card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    align-content: start;
}

body.page .cards .card .symbol {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

body.page .cards .card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    line-height: 1.4;
}

body.page .cards .card p,
body.page .cards .card > a {
    grid-column: 1 / -1;
}

body.page .cards .card p {
    margin-top: 18px;
}


/* HUNG THINH - Can chinh rieng trang Lien he */
.content-page.ht-contact-page { padding: 36px 0 72px; }
.ht-contact-page .wrap { width: min(1180px, 92%); margin-inline: auto; }
.ht-contact-page .entry-content { max-width: none; width: 100%; }
.ht-contact-page .entry-content > * { max-width: 100%; }
.ht-contact-page .entry-content .wp-block-group,
.ht-contact-page .entry-content .wp-block-columns { max-width: 100%; }
.ht-contact-page .entry-content .wp-block-columns { gap: 24px; }
.ht-contact-page .entry-content .wp-block-column { min-width: 0; }
@media (max-width: 680px) {
  .content-page.ht-contact-page { padding: 22px 0 48px; }
  .ht-contact-page .entry-content .wp-block-columns { gap: 16px; }
}


/* HUNG THINH - Mo rong trang Lien he, khong anh huong trang khac */
body.page .content-page.ht-contact-page .entry-content,
body.page .content-page.ht-contact-page .entry-content > *,
body.page .content-page.ht-contact-page .entry-content .wp-block-group,
body.page .content-page.ht-contact-page .entry-content .wp-block-group__inner-container,
body.page .content-page.ht-contact-page .entry-content .wp-block-columns,
body.page .content-page.ht-contact-page .entry-content .alignwide,
body.page .content-page.ht-contact-page .entry-content .alignfull {
  max-width: none !important;
  width: 100%;
}
body.page .content-page.ht-contact-page .entry-content .wp-block-columns {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
body.page .content-page.ht-contact-page .entry-content .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 680px) {
  body.page .content-page.ht-contact-page .entry-content .wp-block-columns {
    flex-direction: column;
  }
}
