/* The site header, partner strip and footer use the official page styles. */
.tax-editorial {
  --navy:#142f53;
  --ink:#172d49;
  --gold:#a98151;
  --body-font:var(--yfg-font-body,Optima,"PingFang SC",sans-serif);
  --title-font:var(--yfg-font-title,Optima,"Songti SC",serif);
  display:block;background:white;color:var(--ink);font:16px/1.7 var(--body-font);
}
.tax-editorial * {box-sizing:border-box}
.tax-editorial :is(h1,h2,h3,p,figure) {margin:0}
.tax-editorial :is(h1,h2,h3) {font-family:var(--title-font);font-weight:500;letter-spacing:.01em}
.tax-editorial .frame {width:min(1240px,88%);margin-inline:auto}
.tax-editorial a {color:inherit;text-decoration:none}
.tax-editorial a:focus-visible {outline:3px solid var(--gold);outline-offset:4px}
.tax-editorial .hero {position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;background:var(--navy);color:white;min-height:clamp(420px,34vw,540px)}
.tax-editorial .hero-copy {width:min(1240px,88%);margin-inline:auto;padding-block:56px}
.tax-editorial .eyebrow {color:#53677a;display:flex;align-items:center;gap:12px;font:600 13px/1.5 var(--body-font);letter-spacing:.13em}
.tax-editorial .eyebrow span {width:30px;height:2px;background:var(--gold)}
.tax-editorial .eyebrow.light {color:#e8ddd0}
.tax-editorial h1 {color:white;font-size:clamp(40px,4.3vw,70px);line-height:1.25;margin-top:22px}
.tax-editorial .english {font:italic clamp(20px,1.9vw,30px)/1.25 Georgia,serif;color:#dfceb4;margin:8px 0 24px}
.tax-editorial .intro {color:#eef1f5;font-size:17px;line-height:1.95;max-width:31em}
.tax-editorial .hero-link {display:inline-flex;gap:24px;align-items:center;border-bottom:1px solid #c4ad86;margin-top:23px;padding-block:4px;color:white}
.tax-editorial .hero-background {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.tax-editorial .hero::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,29,43,.66),rgba(12,29,43,.34) 50%,rgba(12,29,43,.07))}
.tax-editorial .reading:hover strong {text-decoration:underline;text-underline-offset:4px}
.tax-editorial .partner {display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:8%;padding-block:clamp(42px,5.5vw,86px)}
.tax-editorial .partner-photo {position:relative;padding:0 26px 20px 0}
.tax-editorial .partner-photo>img {display:block;width:100%;aspect-ratio:1.83;object-fit:cover;object-position:50% 53%}
.tax-editorial .logo-plate {position:absolute;bottom:0;right:0;background:white;padding:15px 22px;border-bottom:2px solid var(--gold)}
.tax-editorial .logo-plate img {width:135px;display:block}
.tax-editorial .partner h2 {font:400 clamp(31px,3.3vw,54px)/1.2 Georgia,serif;color:var(--ink);margin:17px 0}
.tax-editorial .partner h2 small {font:inherit;font-size:.59em;white-space:nowrap}
.tax-editorial .partner p,.tax-editorial article p {color:#425469;line-height:1.9}
.tax-editorial .services {background:#f2f4f5;padding:clamp(40px,5vw,80px) 0}
.tax-editorial .services h2,.tax-editorial .contact h2 {font-size:clamp(30px,3vw,48px);line-height:1.3;color:inherit;margin-top:12px}
.tax-editorial .service-grid {display:grid;gap:clamp(16px,1.6vw,24px);margin-top:28px}
.tax-editorial .service-grid article {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-areas:"photo copy";
  align-items:center;
  background:white;
}
.tax-editorial .service-grid article:nth-child(even) {grid-template-areas:"copy photo"}
.tax-editorial .service-photo {grid-area:photo;width:100%;height:100%;min-height:0;aspect-ratio:2.48;object-fit:cover;display:block}
.tax-editorial article:first-child .service-photo {object-position:50% 46%}
.tax-editorial .service-grid article>div {grid-area:copy;padding:clamp(20px,2.8vw,42px) clamp(30px,5vw,80px)}
.tax-editorial .service-grid h3::before {content:"";display:block;width:32px;height:2px;background:var(--gold);margin-bottom:17px}
.tax-editorial h3 {font-size:clamp(24px,2.1vw,32px);color:var(--ink);line-height:1.4;margin-bottom:8px}
.tax-editorial .reading {display:flex;align-items:center;gap:18px;margin-top:34px;padding-top:22px;border-top:1px solid #b8c4cb}
.tax-editorial .reading span {font-size:13px;color:#516375;white-space:nowrap}
.tax-editorial .reading strong {font-weight:500}.tax-editorial .reading b {margin-left:auto}
.tax-editorial .contact {padding:60px 0;background:var(--navy);color:white}
.tax-editorial .contact-body {display:flex;justify-content:space-between;gap:25px;align-items:center}
.tax-editorial .contact h2 {text-wrap:balance}
.tax-editorial .contact p {margin-top:16px;color:#e0e7ef}
.tax-editorial .cta {display:inline-flex;gap:20px;border:1px solid #b4c4d2;padding:12px 20px;white-space:nowrap;color:white}
.tax-editorial .cta:hover,.tax-editorial .hero-link:hover {color:#e6d3b1}
.tax-editorial [id] {scroll-margin-top:100px}
@media(max-width:767px) {
  .tax-editorial .frame {width:89%}
  .tax-editorial .hero {min-height:370px}
  .tax-editorial .hero-background {object-position:58% center}
  .tax-editorial .hero::after {background:linear-gradient(90deg,rgba(12,29,43,.8),rgba(12,29,43,.45))}
  .tax-editorial .hero-copy {width:100%;padding:31px 5.5% 25px}
  .tax-editorial h1 {font-size:clamp(35px,9vw,55px);margin-top:12px}
  .tax-editorial .english {margin:6px 0 14px}
  .tax-editorial .intro,.tax-editorial .partner p,.tax-editorial article p,.tax-editorial .contact p {font-size:15px;line-height:1.8}
  .tax-editorial .hero-link {margin-top:14px}
  .tax-editorial .partner {grid-template-columns:1fr;gap:20px;padding-block:36px}
  .tax-editorial .partner-photo {padding:0 16px 14px 0}.tax-editorial .logo-plate {padding:9px 13px}.tax-editorial .logo-plate img {width:104px}
  .tax-editorial .partner h2 {margin:12px 0}
  .tax-editorial .service-grid {gap:17px;margin-top:20px}
  .tax-editorial .service-grid article:nth-child(n) {grid-template-columns:1fr;grid-template-areas:"photo" "copy"}
  .tax-editorial .service-photo {height:auto;aspect-ratio:2.32}
  .tax-editorial .service-grid article>div {padding:17px 21px 20px}
  .tax-editorial .service-grid h3::before {margin-bottom:10px}
  .tax-editorial .reading {font-size:14px;gap:12px}
  .tax-editorial .contact {padding-block:38px}
  .tax-editorial .contact-body {flex-direction:column;align-items:flex-start;gap:18px}
  .tax-editorial [id] {scroll-margin-top:68px}
}
/* The shared theme sets global text colours on headings and paragraphs. */
html body main.tax-editorial .hero-copy h1,
html body main.tax-editorial .contact h2 {color:#fff!important}
html body main.tax-editorial .hero-copy .english {color:#dfceb4!important;font-family:Georgia,serif!important}
html body main.tax-editorial .hero-copy .intro,
html body main.tax-editorial .contact p {color:#eef2f6!important}
