/*
 * Alliance tax-plan media release.
 *
 * This treatment is deliberately scoped to the 6 September 2026 release.
 * It turns the CMS-authored release into a readable editorial page without
 * changing the supplied content or the presentation of other news posts.
 */
.tax-plan-release-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper-2);
  background: var(--burgundy-700);
  padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-10);
  text-align: left;
}

.tax-plan-release-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: min(48vw, 720px);
  background: var(--green-pine-900);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.tax-plan-release-hero::after {
  content: '';
  position: absolute;
  right: -3vw;
  bottom: -9px;
  left: -3vw;
  height: 20px;
  background: var(--paper-2);
  transform: rotate(-0.45deg);
}

.tax-plan-release-hero .container {
  position: relative;
  z-index: 1;
  max-width: 908px;
}

.tax-plan-release-hero .news-meta--hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--paper-2);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tax-plan-release-hero .news-meta-category {
  padding: var(--space-2) var(--space-3);
  color: var(--burgundy-900);
  background: var(--paper-2);
}

.tax-plan-release-hero .news-meta-date::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 var(--space-3) 2px 0;
  background: var(--paper-2);
  border-radius: 50%;
}

.tax-plan-release-hero .interior-hero-headline {
  max-width: 860px;
  margin: 0;
  color: var(--paper-2);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-align: left;
  text-wrap: balance;
  text-transform: none;
}

.tax-plan-release-content {
  --tax-body-size: 1.125rem;
  --tax-detail-size: 1rem;
  --tax-body-leading: 1.7;
  color: var(--neutral-800);
  font-family: var(--font-body);
  background: var(--paper-2);
  padding: var(--space-16) 0 var(--space-20);
}

.tax-plan-release-content .prose-inner {
  max-width: 860px;
}

.tax-plan-release-content .prose-inner > p {
  max-width: 720px;
  color: var(--neutral-800);
  font-family: var(--font-body);
  font-size: var(--tax-body-size);
  line-height: var(--tax-body-leading);
}

.tax-plan-release-content .prose-inner > p:first-child {
  max-width: 100%;
  margin: 0 0 var(--space-10);
  padding: var(--space-5) var(--space-6);
  color: var(--neutral-800);
  background: var(--white);
  border-left: 6px solid var(--green-pine);
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  font-size: var(--tax-detail-size);
  font-weight: 400;
  line-height: var(--tax-body-leading);
}

.tax-plan-release-content .prose-inner > p:nth-of-type(2) {
  max-width: 800px;
  color: var(--neutral-800);
  font-family: var(--font-body);
  font-size: var(--tax-body-size);
  font-weight: 600;
  line-height: var(--tax-body-leading);
}

.tax-plan-release-content .prose-inner > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-10) 0;
  padding: 0;
}

.tax-plan-release-content .prose-inner > ul li {
  min-width: 0;
  padding: var(--space-5);
  color: var(--neutral-800);
  background: var(--white);
  border-top: 6px solid var(--burgundy-700);
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
  font-size: var(--tax-body-size);
  line-height: var(--tax-body-leading);
}

.tax-plan-release-content .prose-inner > ul li:nth-child(even) {
  border-top-color: var(--green-pine);
}

.tax-plan-release-content .prose-inner > ul strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--burgundy-700);
  font-family: var(--font-body);
  font-size: var(--tax-body-size);
  line-height: 1.4;
}

.tax-plan-release-content .prose-inner > blockquote {
  position: relative;
  max-width: 800px;
  margin: var(--space-12) 0;
  padding: var(--space-10) var(--space-10) var(--space-8);
  color: var(--paper-2);
  background: var(--green-pine-900);
}

.tax-plan-release-content .prose-inner > blockquote::before {
  content: '“';
  position: absolute;
  top: -0.12em;
  left: var(--space-4);
  color: var(--paper-2);
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.2;
}

.tax-plan-release-content .prose-inner > blockquote p {
  position: relative;
  color: inherit;
  font-family: var(--font-body);
  font-size: var(--tax-body-size);
  font-weight: 400;
  line-height: var(--tax-body-leading);
}

.tax-plan-release-content .prose-inner > p:has(> strong:only-child) {
  margin-top: var(--space-12);
  margin-bottom: var(--space-3);
  color: var(--burgundy-700);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tax-plan-release-content .prose-inner > p:has(> strong:only-child) + p {
  padding-top: var(--space-5);
  border-top: 2px solid var(--burgundy-100);
  font-size: var(--tax-body-size);
}

.tax-plan-release-content ul[aria-labelledby="tax-policy-downloads"] span {
  font-size: var(--tax-detail-size);
}

@media (max-width: 767px) {
  .tax-plan-release-hero {
    padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-10);
  }

  .tax-plan-release-hero::before {
    width: 70vw;
  }

  .tax-plan-release-hero .interior-hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .tax-plan-release-content {
    padding: var(--space-12) 0 var(--space-16);
  }

  .tax-plan-release-content .prose-inner > p:first-child {
    margin-bottom: var(--space-8);
    padding: var(--space-4);
  }

  .tax-plan-release-content .prose-inner > ul {
    grid-template-columns: 1fr;
    margin: var(--space-8) 0;
  }

  .tax-plan-release-content .prose-inner > blockquote {
    margin: var(--space-10) 0;
    padding: var(--space-8) var(--space-5) var(--space-6);
  }
}

/* Policy releases share one dateline above the headline and a clear opening paragraph. */
.tax-plan-release .policy-release-back {
  display: inline-block; margin-bottom: 24px; color: var(--paper-2);
  font: 700 15px/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 5px;
}
.tax-plan-release-content .prose-inner > p:first-child {
  max-width: 100%; margin: 0 0 28px; padding: 0; border: 0; box-shadow: none; background: none;
  color: var(--neutral-800); font-size: 1.25rem; font-weight: 600; line-height: 1.6;
}
.tax-plan-release-content .prose-inner > p:nth-of-type(2) { font-weight: 400; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-hero { background: var(--green-pine-900); padding-bottom: 64px; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-hero::before,
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-hero::after { display: none; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-hero > .container { max-width: 1200px; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .policy-release-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .interior-hero-headline { font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: 1.04; text-wrap: pretty; }
.policy-release-hero-photo { margin: 0; border-top: 8px solid var(--paper-2); box-shadow: 12px 12px 0 rgb(0 0 0 / 16%); }
.policy-release-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-content .prose-inner { max-width: 760px; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-content .prose-inner > p { max-width: 100%; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center;
  margin: 36px 0 !important; padding: 28px !important; border: 0 !important;
  border-top: 6px solid var(--green-pine) !important; background: var(--white) !important;
  box-shadow: 8px 8px 0 var(--burgundy-100);
}
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) :is(#workers-policy-download, #environment-policy-download) { margin: 0 0 12px; color: var(--green-pine-900); font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--neutral-800); }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) p:last-child { grid-column: 2; grid-row: 1 / 3; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) .btn { background: var(--green-pine-900); border-radius: 0; font-size: .875rem; }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) .btn:hover { background: var(--burgundy-700); }
:is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-content .policy-release-quote { margin: 36px 0; }
@media (max-width: 900px) {
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .policy-release-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .policy-release-hero-photo { max-width: 620px; }
}
@media (max-width: 600px) {
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .tax-plan-release-hero { padding-bottom: 40px; }
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) .interior-hero-headline { font-size: clamp(1.9rem, 7.7vw, 2.7rem); }
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) { grid-template-columns: 1fr; padding: 24px !important; }
  :is(.policy-release--welfare, .policy-release--workers, .policy-release--environment, .policy-release--health, .policy-release--transport) aside:is([aria-labelledby="workers-policy-download"], [aria-labelledby="environment-policy-download"]) p:last-child { grid-column: 1; grid-row: auto; margin-top: 20px; }
}

/* Environment release: portrait, spokesperson details and an uncluttered download. */
.policy-release--environment .policy-release-hero-grid { grid-template-columns: 1.45fr .75fr; }
.policy-release--environment .policy-release-hero-photo { max-width: 380px; justify-self: end; background: var(--paper-2); }
.policy-release--environment .policy-release-hero-photo img { aspect-ratio: 1.08; object-position: 50% 27%; }
.policy-release--environment figcaption { color: var(--green-pine-900); font: 800 1rem/1.4 var(--font-heading); padding: 16px 20px; }
.policy-release--environment figcaption span { font: 400 .875rem/1.5 var(--font-body); }
.policy-release--environment .greg-profile { margin-top: 48px; border-top: 3px solid var(--green-pine); padding-top: 28px; }
.policy-release--environment .greg-profile h2 { color: var(--green-pine-900); font-family: var(--font-display); font-size: 2rem; line-height: 1.1; margin: 0 0 18px; }
.policy-release--environment .greg-profile p { font: 400 1.125rem/1.7 var(--font-body); }
.policy-release--environment .greg-profile a { color: var(--burgundy-700); }
@media(max-width:900px) { .policy-release--environment .policy-release-hero-grid { grid-template-columns: 1fr; } .policy-release--environment .policy-release-hero-photo { justify-self: start; width: 100%; max-width: 380px; } }

.policy-release--environment figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.policy-release--environment figcaption a:hover { color: var(--burgundy-700); }

/* Health release uses the existing spokesperson portrait treatment. */
.policy-release--constitutional .tax-plan-release-hero { background: var(--green-pine-900); padding-bottom: 64px; }
.policy-release--constitutional .tax-plan-release-hero::before,
.policy-release--constitutional .tax-plan-release-hero::after { display: none; }
.policy-release--constitutional .tax-plan-release-hero > .container { max-width: 1200px; }
.policy-release--constitutional .policy-release-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.policy-release--constitutional .interior-hero-headline { font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: 1.04; text-wrap: pretty; }
.policy-release--constitutional .policy-release-hero-photo { width: 100%; max-width: none; justify-self: end; background: var(--paper-2); }
.policy-release--constitutional .policy-release-hero-photo img { aspect-ratio: auto; object-fit: contain; }
.policy-release--constitutional .tax-plan-release-content .prose-inner { max-width: 760px; }
.policy-release--constitutional .tax-plan-release-content .prose-inner > p { max-width: 100%; }
.policy-release--constitutional figcaption { color: var(--green-pine-900); font: 400 .875rem/1.55 var(--font-body); padding: 16px 20px; }
.policy-release--constitutional figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.policy-release--constitutional figcaption a:hover { color: var(--burgundy-700); }
@media(max-width:900px) { .policy-release--constitutional .policy-release-hero-grid { grid-template-columns: 1fr; gap: 32px; } .policy-release--constitutional .policy-release-hero-photo { justify-self: start; width: 100%; } }
@media(max-width:600px) { .policy-release--constitutional .tax-plan-release-hero { padding-bottom: 40px; } .policy-release--constitutional .interior-hero-headline { font-size: clamp(1.9rem, 7.7vw, 2.7rem); } }

.policy-release--health .policy-release-hero-grid { grid-template-columns: 1.45fr .75fr; }
.policy-release--health .policy-release-hero-photo { max-width: 380px; justify-self: end; background: var(--paper-2); }
.policy-release--health .policy-release-hero-photo img { aspect-ratio: 1.08; object-position: 50% 27%; }
.policy-release--health figcaption { color: var(--green-pine-900); font: 800 1rem/1.4 var(--font-heading); padding: 16px 20px; }
.policy-release--health figcaption span { font: 400 .875rem/1.5 var(--font-body); }
@media(max-width:900px) { .policy-release--health .policy-release-hero-grid { grid-template-columns: 1fr; } .policy-release--health .policy-release-hero-photo { justify-self: start; width: 100%; max-width: 380px; } }
.policy-release--health figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.policy-release--health figcaption a:hover { color: var(--burgundy-700); }
:is(.welfare-release-policy-link, .health-release-policy-link, .transport-release-policy-link) { padding: var(--space-6); margin-block: var(--space-8); background: var(--white); border-left: solid var(--space-1) var(--green-pine); }
:is(.welfare-release-policy-link, .health-release-policy-link, .transport-release-policy-link) a { color: var(--burgundy-700); font-weight: 700; text-decoration: underline; }

/* Preserve the complete historical photograph, including the building sign. */
.policy-release--health .policy-release-hero-photo img { aspect-ratio: auto; object-fit: contain; }
.policy-release--health figcaption { font: 400 .875rem/1.55 var(--font-body); }

/* Transport spokesperson portrait uses the existing policy release layout. */
.policy-release--transport .policy-release-hero-grid { grid-template-columns: 1.45fr .75fr; }
.policy-release--transport .policy-release-hero-photo { max-width: 380px; justify-self: end; background: var(--paper-2); }
.policy-release--transport .policy-release-hero-photo img { aspect-ratio: 1.08; object-position: 50% 27%; }
.policy-release--transport figcaption { color: var(--green-pine-900); font: 800 1rem/1.4 var(--font-heading); padding: 16px 20px; }
.policy-release--transport figcaption span { font: 400 .875rem/1.5 var(--font-body); }
@media(max-width:900px) { .policy-release--transport .policy-release-hero-grid { grid-template-columns: 1fr; } .policy-release--transport .policy-release-hero-photo { justify-self: start; width: 100%; max-width: 380px; } }
.policy-release--transport figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.policy-release--transport figcaption a:hover { color: var(--burgundy-700); }

/* Transport photographs and the named spokesperson. */
.policy-release--transport .policy-release-hero-grid { grid-template-columns: 1fr 1.1fr; }
.policy-release--transport .policy-release-hero-photo { max-width: none; }
.policy-release--transport .policy-release-hero-photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.transport-spokesperson { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.transport-spokesperson > img { width: var(--space-16); height: var(--space-16); object-fit: cover; border-radius: 50%; flex: none; }
.transport-spokesperson p { margin: 0; color: var(--paper-2); font: 700 1rem/1.5 var(--font-body); }
.transport-spokesperson a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.transport-spokesperson span { font-weight: 400; font-size: .875rem; }
.transport-release-photo { margin: var(--space-8) 0; }
.transport-release-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .policy-release--transport .policy-release-hero-grid { grid-template-columns: 1fr; } .policy-release--transport .policy-release-hero-photo { max-width: 100%; } }

/* The historical photograph retains its complete frame and linked attribution. */
.policy-release--welfare .policy-release-hero-grid { grid-template-columns: 1fr 1.1fr; }
.policy-release--welfare .policy-release-hero-photo { width: 100%; justify-self: end; background: var(--paper-2); }
.policy-release--welfare .policy-release-hero-photo img { aspect-ratio: auto; object-fit: contain; }
.policy-release--welfare figcaption { color: var(--green-pine-900); font: 400 .875rem/1.55 var(--font-body); padding: 16px 20px; }
.policy-release--welfare figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 900px) {
  .policy-release--welfare .policy-release-hero-grid { grid-template-columns: 1fr; }
  .policy-release--welfare .policy-release-hero-photo { justify-self: start; }
}
