/* ============================================================
   INTERNATIONAL TAX PORTAL
   The landing page's two tiles, and the route page's three parts.
   Blocks inside the parts come from article.css.
   ============================================================ */

/* ---------- landing ---------- */
/* The hero ends with a deep margin meant for a photograph header and the
   section opens with another; on this page nothing sits between the title
   and the tiles, so the two together read as a hole. Both are shortened here
   and nowhere else. */
.page-template-page-international-tax .hero--page .hero__inner,
.single-dilendorf_tax_route .hero--page .hero__inner{padding-bottom:36px}
.single-dilendorf_tax_route .hero--page + .section{padding-top:28px}
.skin-classic .hero--page + .section.txp-tiles,
.section.txp-tiles{padding-top:12px;padding-bottom:40px}
.txp-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.txp-tile{
  border:1px solid #002E48;border-left:4px solid #5B3097;background:#fff;
  padding:40px 36px 36px;min-height:300px;display:flex;flex-direction:column;min-width:0}
.txp-tile__k{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;font-size:11px;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:#5B3097;margin:0 0 10px}
.txp-tile h2{font-family:'Fraunces','Georgia',serif;font-weight:500;font-size:1.7rem;line-height:1.15;margin:0 0 10px;color:#002E48}
.txp-tile>p{font-size:15.5px;line-height:1.65;color:#4A5057;margin:0 0 30px}
.txp-pick{display:flex;gap:10px;margin-top:auto}
.txp-pick .dlf-select{flex:1 1 auto;min-width:0}
.txp-pick .btn{flex:0 0 auto}
.txp-none{font-size:14px;color:#5C6A76;margin:auto 0 0}
.txp-about{max-width:760px}

/* ---------- route ---------- */
/* ---------- two columns: contents and the ask on the left, the text on the right ---------- */
.txp-layout{display:grid;grid-template-columns:272px minmax(0,760px);gap:56px;justify-content:center;align-items:start}
.txp-side{position:sticky;top:96px}
.txp-main{min-width:0}
/* .post-body carries an article's own 28px gutter and centring; here the
   part heading sets the left edge and the text has to sit on it */
.txp-main .post-body{padding:0;max-width:none;margin:0}

.txp-toc__k{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;font-size:11px;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:#5C6A76;margin:0 0 12px}
.txp-toc ol{list-style:none;margin:0;padding:0;border-left:2px solid #D3E2EC}
.txp-toc li{margin:0}
/* main.css underlines every link in a list with `main li a:not(.btn):not(.rlink)`,
   which weighs (0,2,3). Measured, not guessed: two earlier selectors lost to
   it by one element. These weigh (0,2,4). */
main nav.txp-toc li a.txp-toc__a{
  display:block;padding:6px 0 6px 14px;font-size:14px;line-height:1.4;color:#4A5057;text-decoration:none;
  border-left:2px solid transparent;margin-left:-2px}
main nav.txp-toc li a.txp-toc__a:hover{color:#5B3097;border-left-color:#5B3097;text-decoration:none}
main nav.txp-toc .txp-toc__part a.txp-toc__a{font-weight:600;color:#002E48;padding-top:12px}
main nav.txp-toc .txp-toc__part:first-child a.txp-toc__a{padding-top:6px}

/* the ask, on navy: every coloured descendant named, or the link rules paint it purple on navy */
.txp-ask{background:#002E48;color:#D3DFE8;padding:26px 24px 24px;margin:28px 0 0}
.txp-ask .txp-ask__t{font-family:'Fraunces','Georgia',serif;font-weight:500;font-size:20px;line-height:1.25;color:#FFFFFF;margin:0 0 16px}
.txp-ask .txp-ask__btn{display:inline-block}

@media(max-width:1040px){
  .txp-layout{grid-template-columns:1fr;gap:28px}
  .txp-side{position:static;order:2}
  .txp-toc{display:none}            /* the headings are right there on a phone */
  .txp-main{order:1}
}
/* The eyebrow already draws its own rule; an underline on the link made a
   second one right under it. The link shows itself on hover only. */
/* main.css underlines every link inside a paragraph, at a weight a bare
   class cannot beat; matched here so the eyebrow's own rule is the only line. */
.skin-classic main p a.txp-crumb{color:inherit;text-decoration:none}
.skin-classic main p a.txp-crumb:hover{color:#5B3097;text-decoration:underline;text-underline-offset:4px}
.txp-facts{margin:0 0 34px}
.txp-draft{
  font-size:14px;line-height:1.6;color:#5C2721;background:#FBF1F0;
  border-left:4px solid #8C3B33;padding:12px 16px;margin:0 0 34px}
.txp-part{margin:0 0 46px}
.txp-part>.eyebrow{margin:0 0 6px}
.txp-part>h2{
  font-family:'Fraunces','Georgia',serif;font-weight:500;font-size:1.85rem;line-height:1.15;
  letter-spacing:-.01em;color:#002E48;margin:0 0 22px}
.txp-res-lede{font-size:15.5px;color:#4A5057;margin:0 0 16px}
.txp-res{list-style:none;margin:0;padding:0;border-top:1px solid #D3E2EC}
.txp-res li{display:flex;justify-content:space-between;gap:18px;align-items:baseline;padding:12px 0;border-bottom:1px solid #D3E2EC}
/* One line under a link, never two. main.css already underlines every link
   in a list; a border-bottom on top of that is a second line. So the house
   underline is kept and only its colour is set. No border, here or on any
   other link on the site. */
main ul.txp-res li a.txp-res__a{font-size:16px;color:#002E48;text-decoration:underline;
  text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:rgba(0,46,72,.35)}
main ul.txp-res li a.txp-res__a:hover{color:#5B3097;text-decoration-color:#5B3097}
.txp-res__who{
  flex:0 0 auto;font-family:'Inter','Helvetica Neue',Arial,sans-serif;font-size:11px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:#5C6A76}
.txp-back{margin:8px 0 0;font-size:14px}
.txp-back a{color:#5B3097;text-decoration:none}
.txp-back a:hover{text-decoration:underline;text-underline-offset:3px}

@media(max-width:760px){
  .txp-grid{grid-template-columns:1fr}
  .txp-tile{padding:28px 22px 26px;min-height:0}
  .txp-pick{flex-direction:column}
  .txp-res li{flex-direction:column;gap:4px}
}
