/* The site's deviations from the source's CSS, which stays frozen in main.css and the section sheets. */

/* The stats band's labels are paragraphs, not headings: the h2's line height they were drawn at. */
.benefits__title {
	line-height: 120%;
}

/* A blog card's title is an h2: the type it had as an h3. */
h2.collection-item__title {
	font-family: inherit;
}

/* The about block's items are h2 where its text has no heading of its own: the type they had as h3s. */
.about h2.faq-title {
	color: inherit;
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 120%;
}

@media screen and (max-width: 991px) {
	.about h2.faq-title {
		font-size: 26px;
	}
}

/* A service tab's call to action is a heading under the tab's own: the type it had as an h2. */
.services .cta .cta__text h3,
.services .cta .cta__text h4 {
	margin-top: 0;
	margin-bottom: 24px;
	color: var(--gold);
	font-family: Playfair-display-sc-Custom, Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 120%;
}

/* The top strip's rotating message takes the room between the links and the icons, where they share
   one line, rather than lying over them; on a tablet that room is too narrow for it, and it gives way. */
@media screen and (min-width: 940px) and (max-width: 1279px) {
	.header__top .container > * {
		order: 2;
	}

	.header__top .header-top__nav-list {
		order: 0;
	}

	.header__top .quote-widget-small {
		position: relative;
		inset: auto;
		flex: 1 1 0;
		order: 1;
		min-width: 0;
		max-width: 500px;
		height: 49px;
		margin: 0 16px;
	}
}

@media screen and (min-width: 768px) and (max-width: 939px) {
	.header__top .quote-widget-small {
		display: none;
	}
}

/* The burger is a button: none of a button's own dress. */
button.mobile-button {
	margin: 0;
	background-color: transparent;
	color: inherit;
	font: inherit;
	appearance: none;
}

/* On a narrow tablet the logo, both phones and the burger do not fit one line at the source's gaps. */
@media screen and (min-width: 768px) and (max-width: 819px) {
	.header__container .logo {
		column-gap: 8px;
	}

	.mob-header-phone__list {
		column-gap: 16px;
	}

	.mob-header-phone__list .phone__image {
		width: 32px;
		height: 32px;
	}
}

/* The hero's phone picture keeps its file's shape from the first paint: its width and height attributes
   reserve the box, which img-fit.js otherwise grew by 80 px when it dropped the height on load (CLS 0.45). */
.hero__image.hero__image--small {
	height: auto;
}

/* A state's name on its card is a heading: the white and the line it had as a bold paragraph. */
.location__text h2 {
	color: inherit;
	font-size: 20px;
	line-height: 32px;
}

/* A state's description keeps the card's 24px inset at the bottom too: a long one scrolls inside the card,
   whose height stays. */
.location-hover-wrap {
	box-sizing: border-box;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* A state's photo fills its card without stretching. */
.location__image {
	object-fit: cover;
}

/* A link in the white text on the maroon gradient is white too. */
.section-rich.w-variant-b89aed8d-a053-9e17-707d-736beefe9866 a {
	color: var(--white);
}

/* A form field shows its focus by an outline, not only by its border's colour. */
.form__input:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 2px;
}

.main-bg-gradient .form__input:focus-visible {
	outline-color: var(--white);
}

/* The form's summary line (an empty press, a failed send) on the maroon gradient is white, as the
   form's own text there is; the contact page's form, on its light card, keeps the dark grey. */
.main-bg-gradient .wpcf7-form:not(.form--option) .wpcf7-response-output {
	color: var(--white);
}

/* A field's own hint there ("Please fill out this field.") is the source's gold, its fields' border colour,
   not the dark red #a91d1d (2:1 on the maroon); gold holds 4.58:1 even at the gradient's lightest top.
   CF7's tip, when the theme shows it instead, follows. */
.main-bg-gradient .wpcf7-form:not(.form--option) .error-message,
.main-bg-gradient .wpcf7-form:not(.form--option) .wpcf7-not-valid-tip {
	color: var(--gold);
}

/* A field's hint sits in the gap under its field, out of the flow, so the field keeps the source's height (its
   label centred on it) and a hint moves nothing: the source laid it over the field's lower edge, and CF7's tip,
   when it shows instead, grew the field. One small line, the gap's height. The landing form's check writes its
   hint as a hover bubble on a desktop and a row it grows on a phone: plain text there too. */
.wpcf7-form .form__field.wpcf7-form-control-wrap:has(> .error-message) > .error-message,
.wpcf7-form .form__field.wpcf7-form-control-wrap:has(> .error-message) > .wpcf7-not-valid-tip,
.ppc-form .ppc-form__field.wpcf7-form-control-wrap > .error-element {
	position: absolute;
	top: calc(100% + 1px);
	right: 5px;
	bottom: auto;
	left: 5px;
	max-height: 14px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 12px;
	line-height: 14px;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: right;
	background: none;
}

.ppc-form .ppc-form__field.wpcf7-form-control-wrap > .error-element {
	display: block;
	height: auto;
	opacity: 1;
	transition: none;
	color: var(--label-bg);
	border-radius: 0;
}

.ppc-form .ppc-form__field.wpcf7-form-control-wrap > .error-element::before {
	content: none;
}

/* The source's red border for a refused input (`.invalid`, forced) caught the whole form, which CF7 marks
   `invalid` on a refused press: a frame around it, and every field a pixel lower. */
form.wpcf7-form.invalid {
	border: 0 !important;
}

/* The landing form tells an empty or wrong field once, by the source script's own hint beside it, as the
   source does: no CF7 tip under the field and no summary line for a failed check (a reader still hears
   CF7's own). The theme's cf7-errors.js shows a hidden tip again, by an inline display, when it does not see
   that hint yet at the refusal: the tip's rule outweighs it. A summary it does show (a failed send) spans
   the form's two columns, not one. */
.ppc-form .wpcf7-not-valid-tip {
	display: none !important;
}

.ppc-form.invalid .wpcf7-response-output,
.ppc-form.unaccepted .wpcf7-response-output {
	display: none;
}

.ppc-form .wpcf7-response-output {
	grid-column: 1 / -1;
}

/* On a phone the Spanish landing's hero title holds a word wider than the screen («complicaciones», 371 px
   at 44 px): the hero's one grid column grew to it, and the form block that bleeds out of that column grew
   with it to 403 px. The column keeps the screen's width, and the Spanish title steps its size down until
   that word fits the line whole; a still longer word breaks rather than widens the page. */
@media screen and (max-width: 479px) {
	.ppc-hero .hero-split > * {
		min-width: 0;
	}

	.ppc-hero h1:lang(es) {
		font-size: min(2.75rem, calc((100vw - 2rem) / 8.5));
		overflow-wrap: break-word;
	}
}

/* The desktop submenus and the phone's phone list take no focus while closed, and a keyboard opens a
   submenu as the pointer does: the open item dresses the header as its hover does. */
@media screen and (min-width: 1280px) {
	.nav__submenu {
		visibility: hidden;
		transition-property: background-color, opacity, transform, visibility;
		transition-duration: 0.4s, 0.4s, 0.4s, 0s;
		transition-delay: 0s, 0s, 0s, 0.4s;
	}

	.nav__item--arrow:hover .nav__submenu,
	.nav__item--open .nav__submenu {
		visibility: visible;
		transition-delay: 0s;
	}

	.nav__item--open .nav__submenu {
		opacity: 1;
		transform: translate(0%);
		pointer-events: auto;
		background-color: var(--white);
	}

	.nav__item--open .nav__text-wrap:after {
		transform: rotate(-225deg) translateY(-15%) translateX(15%);
	}

	.header:has(.nav__item--open) .header__main {
		background: var(--white);
	}

	.header:has(.nav__item--open) .logo__image {
		opacity: 0;
	}

	.header:has(.nav__item--open) .logo__image--black {
		opacity: 100;
	}

	.header:has(.nav__item--open) .logo__text,
	.header:has(.nav__item--open) .nav__item,
	.header:has(.nav__item--open) .phone__text {
		color: var(--black-text);
	}

	.header:has(.nav__item--open) .nav__text-wrap:after {
		border-color: var(--black-text);
	}

	.header:has(.nav__item--open) .mob-header-phone {
		border-color: var(--red);
	}
}

button.mob-header-phone__toggle {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: transparent;
	line-height: 0;
	cursor: pointer;
	appearance: none;
}

@media screen and (min-width: 768px) {
	button.mob-header-phone__toggle {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	.mob-header-phone__list:not(.mob-header-phone__list--open) {
		visibility: hidden;
	}

	/* The source's body embed paints the open list's lines white on its white box, and loads after this sheet. */
	.mob-header-phone .mob-header-phone__list .phone__text {
		color: var(--black-text);
	}
}

/* A /resources card is a div whose title link covers it, as the source's <a> card did, so a phone in its text keeps
   its own tel: link above it, unnested; the card dims on hover as the <a> did. */
.userful-link {
	position: relative;
	color: var(--dark-grey);
	transition: opacity 0.2s;
}

.userful-link:has(.userful-link__go:hover) {
	opacity: 0.7;
}

.userful-link__go,
.userful-link__go:hover {
	opacity: 1;
}

.userful-link__go::after {
	content: "";
	position: absolute;
	inset: 0;
}

.userful-link__go:focus-visible {
	outline: 0;
}

.userful-link__go:focus-visible::after {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.userful-link p a[href^="tel:"] {
	position: relative;
	z-index: 1;
	text-decoration: underline;
}

.tab-item__text a,
.tab-item__link p a,
.services .industries__text a,
.why-choose__item a {
	color: var(--red);
	text-decoration: underline;
}

.map-wrap > .section-rich + .button {
	margin-top: 40px;
}

.map-wrap.w-variant-42b8f8fc-4182-8cdc-f57b-0b8e3562bce5 > .section-rich + .button {
	margin-top: 24px;
}

/* A bulleted list in the map's copy sat flush on the paragraphs around it (0 px, less than the
   line spacing): it takes the paragraphs' own 16 px gap before and after. */
.map-wrap > .section-rich ul {
	margin-top: 16px;
	margin-bottom: 16px;
}

.map-wrap > .section-rich ul:first-child {
	margin-top: 0;
}

.map-wrap > .section-rich ul:last-child {
	margin-bottom: 0;
}

a.footer__title {
	display: block;
}

/* A link in the hero's copy took the burgundy link colour (#843d42) onto the burgundy gradient,
   about 1.1:1: it takes the copy's white and keeps its underline. */
.hero .section-rich a {
	color: inherit;
	text-decoration: underline;
}

.hero .section-rich a:hover {
	text-decoration-thickness: 2px;
}

/* A note under a post's FAQ sits close to it: the FAQ's bottom padding moves below the note. */
.collection-body__content .faq:has(+ .collection-body__text) {
	padding-bottom: 24px;
}

.collection-body__content .faq + .collection-body__text {
	padding-bottom: 120px;
}

@media screen and (max-width: 991px) {
	.collection-body__content .faq + .collection-body__text {
		padding-bottom: 60px;
	}
}

/* Home redesign 11/24/2026 */

/* Home redesign (Figma "UPDATE 11/24/2026"): the home hero's H1 is the big serif title, a sans tagline and a
   paragraph under it, as drawn at 1440; under 768 px the block keeps the old hero's centred mobile type. */
.hero.hero--home .hero__wrap {
	max-width: 870px;
}

.hero.hero--home .section-rich h1 {
	max-width: none;
	margin-bottom: 8px;
	color: var(--white);
	font-family: Playfair-display-sc-Custom, Arial, sans-serif;
	font-size: 80px;
	font-weight: 400;
	line-height: 96px;
}

.hero.hero--home .section-rich[data-wf--rich-elem--variant="hero"] p {
	font-family: League-spartan-Custom, Arial, sans-serif;
	font-size: 32px;
	line-height: 38.4px;
}

.hero.hero--home .section-rich[data-wf--rich-elem--variant="base"] {
	max-width: 669px;
}

.hero.hero--home .section-rich[data-wf--rich-elem--variant="base"] p {
	font-size: 18px;
	line-height: 27px;
}

@media screen and (min-width: 1280px) {
	.hero.main-bg-gradient.hero--home {
		padding-top: 193px;
		padding-bottom: 40px;
	}
}

@media screen and (max-width: 767px) {
	.hero.hero--home .section-rich h1 {
		font-size: 44px;
		line-height: 120%;
	}

	.hero.hero--home .section-rich[data-wf--rich-elem--variant="hero"] p {
		font-size: 24px;
		line-height: 120%;
	}

	.hero.hero--home .section-rich[data-wf--rich-elem--variant="base"] {
		max-width: none;
		text-align: center;
	}
}

/* The tax season's second button: outlined in the beige on the maroon, filled beige on hover. */
.button.button--outline-white {
	border-color: var(--beige);
	background-color: transparent;
}

.button.button--outline-white .button__text {
	color: var(--beige);
}

.button.button--outline-white::before,
.button.button--outline-white::after {
	background: var(--beige);
}

.button.button--outline-white:hover .button__text {
	color: var(--red);
}

/* The tax season's two buttons in the CTA band, side by side; stacked on a small phone. */
.cta__button-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.cta .cta__button-wrap .button {
	margin-bottom: 0;
}

@media screen and (max-width: 479px) {
	.cta__button-wrap {
		flex-direction: column;
		align-items: stretch;
	}
}

/* The home CTA: the design's 40 px gold heading over a 610 px text, and no phones under the buttons, so
   the band's own padding ends it. */
.home .cta-sec .cta__text {
	max-width: 610px;
}

.home .cta-sec .cta > :last-child {
	margin-bottom: 0;
}

@media screen and (min-width: 992px) {
	.home .cta-sec .cta .cta__text h2 {
		font-size: 40px;
		line-height: 48px;
	}
}

/* The home industries as outlined pills: linked where the industry has a page, no icons. */
.industries--chips .industries__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.industries--chips .industries__chip-item {
	display: flex;
}

.industries--chips .industries__chip {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 8px 20px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--red);
	color: var(--dark-grey);
	font-size: 20px;
	line-height: 32px;
	text-decoration: none;
}

.industries--chips a.industries__chip--link {
	transition: background-color 0.3s, color 0.3s;
}

.industries--chips a.industries__chip--link:hover {
	background-color: var(--red);
	color: var(--beige);
}

.industries--chips a.industries__chip--link:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 2px;
}

/* Services as tabs of cards (home, Figma "UPDATE 11/24/2026"). The section keeps `.services` so the
   source's tabs script (sections/16-*.js) binds it; its own rules sit under `.services-cards`. */
.services.services-cards {
	padding-top: 60px;
	padding-bottom: 120px;
}

.services-cards__title {
	text-align: center;
}

.services-cards .tabs__button-wrap {
	margin: 40px 0;
	padding: 0;
	list-style: none;
}

.services-cards .tabs-menu__item {
	background-color: var(--white);
	transition: background-color 0.3s;
}

.services-cards .tabs-menu__item:first-child {
	margin-left: 0;
	border-top-left-radius: 8px;
}

.services-cards .tabs-menu__item:last-child {
	border-top-right-radius: 8px;
}

.services-cards .tabs-menu__item.active {
	background-color: var(--dark-grey);
}

.services-cards .tabs-menu__item-text {
	color: var(--dark-grey);
	font-size: 20px;
	line-height: 32px;
}

.services-cards .tabs-menu__item.active .tabs-menu__item-text {
	color: var(--white);
}

.services-cards .tabs__content {
	margin: 0;
	padding: 0;
	list-style: none;
}

.services-cards .tabs-item {
	flex-flow: column;
	align-items: stretch;
	gap: 24px;
	overflow: hidden;
	visibility: hidden;
}

.services-cards .tabs-item.active {
	align-items: stretch;
	overflow: visible;
	visibility: visible;
}

.services-cards__panel-title {
	max-width: 608px;
	margin: 0 auto;
	text-align: center;
	font-size: 36px;
	line-height: 1.2;
}

.services-cards__promo {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 24px;
	border-radius: 10px;
	background-color: var(--beige);
}

.services-cards__promo-row {
	display: grid;
	grid-template-columns: minmax(0, 620fr) minmax(0, 604fr);
	gap: 24px;
}

.services-cards__promo-title {
	color: var(--red);
	font-family: Playfair-display-sc-Custom, Arial, sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
}

.services-cards__promo-text {
	margin: 0;
	font-size: 20px;
	line-height: 32px;
}

.services-cards__promo-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.services-cards__button {
	background-color: transparent;
	transition: background-color 0.3s, color 0.3s;
}

.services-cards__button .button__text {
	font-size: 20px;
	line-height: 32px;
}

.services-cards__button:hover {
	background-color: var(--red);
}

.services-cards__button:hover .button__text,
.services-cards__button--filled .button__text {
	color: var(--white);
}

.services-cards__button--filled {
	background-color: var(--red);
}

.services-cards__button--filled:hover {
	background-color: var(--dark-grey);
	border-color: var(--dark-grey);
}

.services-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.services-cards__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid #b2b2b2;
	border-radius: 8px;
	transition: border-color 0.3s;
}

.services-cards__card:has(.services-cards__link):hover {
	border-color: var(--red);
}

.services-cards__card--season {
	border-color: var(--red);
	background-color: var(--beige);
}

/* The service card the tax season highlights on Tax Services, dressed as the home page's. */
.collection-item--season {
	padding: 16px;
	border: 1px solid var(--red);
	border-radius: 10px;
	background-color: var(--beige);
}

.services-cards__icon {
	display: block;
	width: 40px;
	height: 40px;
}

.services-cards__name {
	color: var(--dark-grey);
	font-size: 24px;
	line-height: 1.1;
}

.services-cards__link {
	color: var(--red);
	text-decoration: none;
}

.services-cards__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 8px;
}

.services-cards__text {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
}

.services-cards__more {
	grid-column-end: -1;
	align-self: end;
	justify-self: end;
}

@media screen and (max-width: 991px) {
	.services.services-cards {
		padding-bottom: 80px;
	}

	.services-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.services-cards__promo-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.services-cards__promo {
		gap: 24px;
	}
}

@media screen and (max-width: 767px) {
	.services.services-cards {
		padding-bottom: 60px;
	}

	.services-cards .tabs__button-wrap {
		margin: 32px -16px;
		padding: 0 16px;
	}

	.services-cards__panel-title {
		font-size: 28px;
	}

	.services-cards__promo-title {
		font-size: 26px;
	}

	.services-cards__promo-text {
		font-size: 18px;
		line-height: 1.5;
	}

	.services-cards__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.services-cards__more {
		justify-self: start;
	}
}

@media screen and (max-width: 479px) {
	.services-cards__promo-buttons {
		flex-direction: column;
		gap: 16px;
	}

	.services-cards__promo-buttons .services-cards__button {
		width: 100%;
	}
}


/* Home redesign (11/24/2026): the reviews' split head, the map's split row, the FAQ's beige band and the
   contact form with its button under the fields. Each sits behind its own modifier; other pages keep theirs. */
.reviews--split .reviews__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}

.reviews--split .reviews__title {
	width: auto;
	margin: 0;
	text-align: left;
}

.reviews--split .reviews__badge {
	flex: none;
}

@media screen and (min-width: 992px) {
	.reviews.reviews--split {
		padding-top: 0;
	}
}

@media screen and (max-width: 767px) {
	.reviews--split .reviews__head {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.reviews--split .reviews__title {
		text-align: center;
	}
}

.map.map--split {
	background-color: var(--white);
}

/* The SVG map has no width or height in the library: its box is held before it loads. */
.map--split .map__image {
	height: auto;
	aspect-ratio: 674 / 368;
}

.map--split .map__address-line {
	display: block;
}

.map--split .map-wrap > .button {
	margin-top: 40px;
}

@media screen and (min-width: 992px) {
	.map--split .map__container {
		align-items: center;
		gap: 27px;
	}

	.map--split .map__image {
		flex: 0 1 674px;
		width: auto;
		min-width: 0;
	}

	.map--split .map-wrap {
		flex: 0 1 595px;
		width: auto;
		min-width: 0;
	}

	.map--split .section-rich p {
		margin-bottom: 0;
	}

	.map--split .map__list {
		grid-template-columns: repeat(2, minmax(0, 258px));
		column-gap: 27px;
		margin-top: 27px;
	}

	.map--split .map__title {
		margin-bottom: 9px;
	}

	.map--split .address {
		margin-bottom: 14px;
	}
}

.faq.faq--beige {
	background-color: var(--beige);
}

.faq--beige .faq-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.faq--beige .faq-item__plus {
	flex: none;
	transition: transform 0.3s, filter 0.3s;
}

.faq--beige .faq-item--open .faq-item__header {
	margin-bottom: 16px;
}

.faq--beige .faq-item--open .faq-title {
	color: var(--red);
}

/* The plus is an <img> drawn #2d2d2d: open, it turns the burgundy of the open question. */
.faq--beige .faq-item--open .faq-item__plus {
	transform: rotate(45deg);
	filter: brightness(0) saturate(100%) invert(30%) sepia(53%) saturate(2725%) hue-rotate(334deg) brightness(53%) contrast(68%);
}

@media screen and (min-width: 992px) {
	.faq--beige .section-rich h2 {
		margin-bottom: 0;
	}

	/* The browser sets the longest question 1015px wide, the design 1011: 8px keeps it on one line. */
	.faq--beige .faq-item__header {
		gap: 8px;
	}

	.faq--beige .faq-title {
		font-size: 36px;
		line-height: 43.2px;
	}

	.faq--beige .faq-item__plus {
		box-sizing: border-box;
		width: 50px;
		height: 50px;
		padding: 13px;
	}
}

.contact-us--submit-first .form__footer .submit-wrap {
	order: -1;
	margin-top: 8px;
	margin-bottom: 24px;
}

.contact-us--submit-first .form__footer .section-rich {
	margin-bottom: 16px;
}

.contact-us--submit-first .form__footer .form__text {
	margin-bottom: 0;
}

/* Home's About portrait stands on the band's foot, as the source has it, but never rises past 28px under the
   band's top, as the design draws it; the band then cuts its foot. The 768px picture otherwise lost its head to
   the shorter copy. 100% is the container, inside the band's 120px paddings. */
@media screen and (min-width: 992px) {
	.home section.about .about__image {
		top: max(-92px, calc(100% - 648px));
		bottom: auto;
	}
}

@media screen and (min-width: 1280px) {
	.home section.about .about__image {
		right: 72px;
	}
}

/* About's row of membership logos (AICPA, NJCPA, NATP), between the text and the button. */
.about__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about__logo {
	margin: 0;
	padding: 0;
}

.about__logo-image {
	display: block;
	width: auto;
	height: 48px;
}

@media screen and (max-width: 479px) {
	.about__logos {
		gap: 16px 24px;
	}

	.about__logo-image {
		height: 36px;
	}
}

/* The tax season's deadline line in the header: beside the phones on a desktop, between the logo and the
   buttons where the menu folds away, in the phones' colours on the hero and on the white header. */
.header-deadline {
	color: var(--beige);
	font-size: 18px;
	line-height: 1.3;
	transition: color 0.4s;
}

.header-deadline__link {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.header-deadline__link:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

.header--white .header-deadline,
.header:has(.nav--open) .header-deadline {
	color: var(--black-text);
}

.header-deadline--nav {
	display: none;
}

.header-deadline--bar {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0 16px;
	text-align: center;
}

@media screen and (min-width: 1280px) {
	.header-deadline--bar {
		display: none;
	}

	.header-deadline--nav {
		display: block;
		align-self: center;
		margin-right: 24px;
		white-space: nowrap;
	}

	.nav:has(.header-deadline--nav) > .nav__container {
		margin-right: 0;
	}

	.header:hover .header-deadline,
	.header:has(.nav__item--open) .header-deadline {
		color: var(--black-text);
	}
}

/* On a tablet the logo's name and both phones leave no room beside them: the line takes a row of its own. */
@media screen and (min-width: 768px) and (max-width: 1279px) {
	.header__container:has(> .header-deadline--bar) {
		flex-wrap: wrap;
	}

	.header-deadline--bar {
		flex-basis: 100%;
		order: 3;
		margin: 8px 0 0;
	}
}

@media screen and (max-width: 767px) {
	.header-deadline {
		font-size: 15px;
	}
}

/* The deadline popup's tabs switch its text and button once the second tab has its own. */
.popup-tab {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.popup-tab--active .popup-top-text {
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.popup-tab:focus-visible {
	outline: 2px solid #3d1e1e;
	outline-offset: 4px;
}

/* The sticky block's tax season line under its title: on desktop only, where the title shows too. */
.sticky-block_text {
	margin-bottom: 16px;
}

/* The season card's longer copy: a little less side padding so "Deadline Apr 15, 2027." and
   "Book your appointment →" each keep one line at the off-season sizes; the card stays 280 px wide. */
@media screen and (min-width: 992px) {
	.sticky-block--season {
		width: 280px;
		padding-inline: 20px;
	}
}

.sticky-block--season .sticky-block_title {
	text-wrap: balance;
}

.sticky-block--season .link {
	white-space: nowrap;
}

.sticky-block--season.sticky-block--has-text .sticky-block_title {
	margin-bottom: 12px;
	font-size: 22px;
}

.sticky-block--season .sticky-block_text {
	margin-bottom: 18px;
	font-size: 15px;
	line-height: 1.45;
	text-wrap: pretty;
}

/* Theme Settings' season line under the off-season-sized title: a short deadline, a touch bolder. */
.sticky-block--season.sticky-block--has-line .sticky-block_title {
	margin-bottom: 10px;
}

.sticky-block--season.sticky-block--has-line .sticky-block_text {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 6px;
	background-color: #2d2d2d;
	color: #f4ede5;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

@media screen and (max-width: 991px) {
	.sticky-block_text {
		display: none;
	}
}
