/*
Theme Name: Ask The AC Expert
Theme URI: https://asktheacexpert.com/
Description: A Twenty Twenty-Five child theme inspired by the Ask The AC Expert news and HVAC advice site.
Author: TerraNovaFy
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asktheacexpert
Template: twentytwentyfive
Tags: full-site-editing, news, blog, block-patterns
*/

:root { --aae-ink:#191919; --aae-red:#d93435; --aae-line:#d9dcdf; --aae-mist:#f3f4f5; --aae-steel:#5a6066; --aae-blue:#17365b; }
body { background:#fff; }
a { text-underline-offset:.18em; }
a:hover { color:var(--aae-red); }
.wp-site-blocks { overflow:hidden; }
.aae-header { padding-top:0; }
.aae-ticker { width:min(1320px, calc(100% - 32px)); max-width:none; min-height:48px; margin:0 auto; border-bottom:1px solid var(--aae-line); gap:0; overflow:hidden; }
.aae-ticker-label { align-self:stretch; display:flex; align-items:center; margin:0; padding:.6rem .9rem; background:var(--aae-red); color:#fff; font-weight:700; white-space:nowrap; }
.aae-ticker-query { min-width:0; overflow:hidden; padding:0 .9rem; }
.aae-ticker-query .wp-block-post-template { display:flex; flex-wrap:nowrap; gap:1.75rem; margin:0; padding:0; list-style:none; }
.aae-ticker-query .wp-block-post { white-space:nowrap; }
.aae-ticker-query .wp-block-post-title { font-family:Arial,sans-serif; font-size:.82rem; font-weight:700; }
.aae-ticker-query a { color:var(--aae-ink); }
.aae-brand-row { max-width:1320px; min-height:150px; padding:1.5rem 1rem 1.25rem; display:flex; flex-direction:column; justify-content:center; border-bottom:1px solid var(--aae-line); }
.aae-brand-row .wp-block-site-title { margin:0; }
.aae-brand-row .wp-block-site-title a { color:var(--aae-ink); text-decoration:none; }
.aae-brand-row .wp-block-site-tagline { margin:.3rem 0 0; color:#35383b; }
.aae-nav-wrap { width:min(1320px, calc(100% - 32px)); max-width:none; margin:0 auto 1.7rem; background:#eceff1; border:1px solid #cbd0d4; padding:0 .35rem; gap:.5rem; }
.aae-nav-wrap .wp-block-navigation { flex:1; }
.aae-nav-wrap .wp-block-navigation__container { gap:0; }
.aae-nav-wrap .wp-block-navigation-item__content { display:block; padding:1.05rem 1.15rem; color:#25282a; border-right:1px solid #d5d9dc; }
.aae-nav-wrap .wp-block-navigation-item__content:hover,.aae-nav-wrap .current-menu-item>.wp-block-navigation-item__content { background:#fff; color:var(--aae-red); }
.aae-search { margin:0; min-width:230px; }
.aae-search .wp-block-search__input { min-width:0; background:#fff; }
.aae-home { margin-top:0; margin-bottom:4rem; }
.aae-intro { margin:0 0 1.25rem; padding:.9rem 1rem 1rem; border-left:4px solid var(--aae-red); background:#fafafa; }
.aae-intro h1 { margin:0 0 .35rem; font-size:clamp(1.7rem,3vw,2.4rem); }
.aae-intro p { margin:0; color:#45494d; }
.aae-home-grid { align-items:flex-start; }
.aae-section,.aae-sidebar-panel { border:1px solid var(--aae-line); padding:1rem; margin-bottom:1.25rem; }
.aae-section-heading { align-items:center; border-bottom:4px solid var(--aae-ink); margin-bottom:1rem; padding-bottom:.45rem; }
.aae-section-heading h2 { margin:0; font-size:1.65rem; }
.aae-section-heading p { margin:0; font-size:.85rem; font-weight:700; }
.aae-section-heading p a { color:var(--aae-ink); }
.aae-feature-grid .wp-block-post-template { gap:1rem; }
.aae-feature-card { position:relative; height:100%; overflow:hidden; background:#222; color:#fff; }
.aae-feature-card>.wp-block-post-featured-image { position:absolute; inset:0; height:100%; margin:0; }
.aae-feature-card>.wp-block-post-featured-image img { height:100%; width:100%; object-fit:cover; }
.aae-feature-card:after { content:""; position:absolute; inset:30% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.88)); pointer-events:none; }
.aae-feature-card .aae-card-copy { position:relative; z-index:1; display:flex; height:100%; min-height:330px; flex-direction:column; justify-content:flex-end; padding:1.1rem; color:#fff; }
.aae-feature-card .aae-category-label { margin:0 0 .45rem; font-size:.7rem; font-weight:700; text-transform:uppercase; }
.aae-feature-card .aae-category-label a { display:inline-block; margin-right:.3rem; padding:.22rem .4rem; background:#191919; color:#fff; }
.aae-feature-card .wp-block-post-title { margin:0 0 .45rem; font-size:1.35rem; }
.aae-feature-card .wp-block-post-title a { color:#fff; }
.aae-feature-card .wp-block-post-date { margin:0; font-size:.78rem; }
.aae-story-grid .wp-block-post-template { gap:1rem; }
.aae-story-card { height:100%; border:1px solid var(--aae-line); padding:0 0 1rem; }
.aae-story-card>.wp-block-post-featured-image { margin:0 0 .85rem; }
.aae-story-card>.wp-block-post-featured-image img { width:100%; object-fit:cover; }
.aae-story-card>*:not(.wp-block-post-featured-image) { margin-left:.9rem; margin-right:.9rem; }
.aae-story-card .aae-category-label { margin-top:0; margin-bottom:.35rem; font-size:.69rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.aae-story-card .aae-category-label a { color:var(--aae-red); }
.aae-story-card .wp-block-post-title { line-height:1.25; }
.aae-story-card .wp-block-post-excerpt { font-size:.9rem; color:#45494d; }
.aae-sidebar-panel { border-radius:0 22px 0 22px; background:#fcfcfc; }
.aae-sidebar-panel h2 { margin:0 0 .6rem; padding-bottom:.5rem; border-bottom:4px solid var(--aae-ink); }
.aae-topic-list { margin:1rem 0 0; padding:0; list-style:none; }
.aae-topic-list li { padding:.72rem 0; border-bottom:1px solid var(--aae-line); font-weight:700; }
.aae-topic-list li:last-child { border-bottom:0; }
.aae-topic-list a { color:var(--aae-ink); }
.aae-trending .wp-block-post-template { margin:0; padding:0; list-style:none; }
.aae-trending .wp-block-post { padding:.75rem 0; border-bottom:1px solid var(--aae-line); }
.aae-trending .wp-block-post-title { margin:0 0 .25rem; font-size:1rem; line-height:1.3; }
.aae-trending .wp-block-post-title a { color:var(--aae-ink); }
.aae-trending .wp-block-post-date { color:var(--aae-steel); }
.aae-sidebar-cta { padding:1.25rem; background:var(--aae-mist); border-left:4px solid var(--aae-red); }
.aae-sidebar-cta h2 { margin-top:0; }
.aae-sidebar-cta .wp-block-button__link { padding:.75rem 1rem; }
.aae-archive,.aae-page,.aae-single { margin-top:2rem; margin-bottom:4rem; }
.aae-archive>.wp-block-query-title { padding-bottom:.75rem; border-bottom:4px solid var(--aae-ink); }
.aae-single { max-width:850px; }
.aae-single>.wp-block-post-title,.aae-page>.wp-block-post-title { margin-top:.4rem; margin-bottom:1rem; font-size:clamp(2.2rem,5vw,3.6rem); }
.aae-post-meta { color:var(--aae-steel); font-size:.9rem; margin-bottom:1.25rem; }
.aae-single>.wp-block-post-featured-image { margin-bottom:2rem; }
.aae-single .wp-block-post-content { font-size:1.08rem; }
.aae-category-label { font-size:.75rem; font-weight:700; text-transform:uppercase; }
.aae-footer { margin-top:2rem; padding:3rem 1rem 1.5rem; background:#1c2228; color:#eef0f2; }
.aae-footer .wp-block-site-title a,.aae-footer a { color:#fff; }
.aae-footer a:hover { color:#ff7676; }
.aae-footer .wp-block-heading { color:#fff; }
.aae-footer .wp-block-navigation__container { gap:.5rem; }
.aae-footer .wp-block-separator { border-color:#687078; }
.aae-footer-bottom { color:#c5cbd0; }
.wp-block-post-template .wp-block-post-title a { text-decoration:none; }
@media (max-width:800px) {
  .aae-brand-row { min-height:120px; }
  .aae-nav-wrap { align-items:stretch; }
  .aae-nav-wrap .wp-block-navigation { width:100%; }
  .aae-nav-wrap .wp-block-navigation__container { flex-wrap:wrap; }
  .aae-nav-wrap .wp-block-navigation-item__content { padding:.75rem .8rem; }
  .aae-search { width:100%; max-width:none; padding:.45rem; }
  .aae-home-grid { display:block; }
  .aae-home-grid>.wp-block-column { flex-basis:100%!important; }
  .aae-feature-card .aae-card-copy { min-height:280px; }
}
@media (max-width:560px) {
  .aae-ticker { width:100%; }
  .aae-ticker-query { padding:0 .55rem; }
  .aae-brand-row { padding:1.25rem .75rem; }
  .aae-nav-wrap { width:calc(100% - 20px); }
  .aae-feature-grid .wp-block-post-template,.aae-story-grid .wp-block-post-template { grid-template-columns:1fr!important; }
  .aae-feature-card .aae-card-copy { min-height:250px; }
  .aae-section,.aae-sidebar-panel { padding:.75rem; }
  .aae-section-heading { align-items:flex-start; }
  .aae-section-heading h2 { font-size:1.4rem; }
}
/* TerraNovaFy Continuous News Ticker */

.tnf-news-ticker {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	background: #17212b;
	color: #fff;
	min-height: 48px;
}

.tnf-news-label {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	position: relative;
	z-index: 2;
	padding: 0 22px;
	background: #17212b;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.tnf-news-window {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.tnf-news-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: tnf-news-scroll 35s linear infinite;
	will-change: transform;
}

.tnf-news-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
}

.tnf-news-item {
	display: inline-block;
	padding: 0 24px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}

.tnf-news-item:hover {
	text-decoration: underline;
}

.tnf-news-separator {
	display: inline-block;
	opacity: 0.5;
}

.tnf-news-ticker:hover .tnf-news-track {
	animation-play-state: paused;
}

@keyframes tnf-news-scroll {

	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}

}

@media (max-width: 600px) {

	.tnf-news-ticker {
		min-height: 44px;
	}

	.tnf-news-label {
		padding: 0 12px;
		font-size: 14px;
	}

	.tnf-news-item {
		padding: 0 18px;
		font-size: 14px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.tnf-news-track {
		animation: none;
	}

}